POST SuperChance/ValidateNumber
Request Information
URI Parameters
None.
Body Parameters
RequestValidarNumero| Name | Description | Type | Additional information |
|---|---|---|---|
| numeros | Collection of NumeroValidar |
None. |
|
| loterias | Collection of LoteriaValidar |
None. |
|
| fecSorteo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"numeros": [
{
"numero": "sample string 1"
},
{
"numero": "sample string 1"
}
],
"loterias": [
{
"idLoteria": "sample string 1"
},
{
"idLoteria": "sample string 1"
}
],
"fecSorteo": "sample string 1"
}
application/xml, text/xml
Sample:
<SavingsModels.RequestValidarNumero xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiSuperChance.Models">
<fecSorteo>sample string 1</fecSorteo>
<loterias>
<SavingsModels.LoteriaValidar>
<idLoteria>sample string 1</idLoteria>
</SavingsModels.LoteriaValidar>
<SavingsModels.LoteriaValidar>
<idLoteria>sample string 1</idLoteria>
</SavingsModels.LoteriaValidar>
</loterias>
<numeros>
<SavingsModels.NumeroValidar>
<numero>sample string 1</numero>
</SavingsModels.NumeroValidar>
<SavingsModels.NumeroValidar>
<numero>sample string 1</numero>
</SavingsModels.NumeroValidar>
</numeros>
</SavingsModels.RequestValidarNumero>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseGeneric| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | ResponseCode |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseData | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 200,
"ResponseMessage": "sample string 1",
"ResponseData": {}
}
application/xml, text/xml
Sample:
<SavingsModels.ResponseGeneric xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiSuperChance.Models"> <ResponseCode>OK</ResponseCode> <ResponseData /> <ResponseMessage>sample string 1</ResponseMessage> </SavingsModels.ResponseGeneric>