POST Sendtopup/{data}/{amount}/{code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
data

string

Required

amount

decimal number

Required

code

integer

Required

Body Parameters

TopupRequest
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TopupRequest'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.