POST api/facil/line/topup

Request Information

URI Parameters

None.

Body Parameters

FacilTopupRequest
NameDescriptionTypeAdditional information
ApiKey

string

None.

Enviroment

EnvironmentType

None.

TopupInfo

FacilTopupReq

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "Enviroment": 0,
  "TopupInfo": {
    "PhoneNumber": "sample string 1",
    "PlanId": 2
  }
}

text/html

Sample:
{"ApiKey":"sample string 1","Enviroment":0,"TopupInfo":{"PhoneNumber":"sample string 1","PlanId":2}}

application/xml, text/xml

Sample:
<FacilTopupRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <ApiKey>sample string 1</ApiKey>
  <Enviroment>PROD</Enviroment>
  <TopupInfo>
    <PhoneNumber>sample string 1</PhoneNumber>
    <PlanId>2</PlanId>
  </TopupInfo>
</FacilTopupRequest>

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 'FacilTopupRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.