POST api/facil/line/topup
Request Information
URI Parameters
None.
Body Parameters
FacilTopupRequestName | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.