POST Sendtopup/{data}/{amount}/{code}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
data | string |
Required |
|
amount | decimal number |
Required |
|
code | integer |
Required |
Body Parameters
TopupRequestName | Description | Type | Additional information |
---|---|---|---|
Operador | string |
None. |
|
IdCountry | integer |
None. |
|
PersonID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Operador": "sample string 1", "IdCountry": 1, "PersonID": 2 }
application/xml, text/xml
Sample:
<TopupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.WebAPI.Models"> <IdCountry>1</IdCountry> <Operador>sample string 1</Operador> <PersonID>2</PersonID> </TopupRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |