GET api/facil/line/balance

Request Information

URI Parameters

None.

Body Parameters

FacilGenericRequest
NameDescriptionTypeAdditional information
ApiKey

string

None.

Phone

FacilPhone

None.

Enviroment

EnvironmentType

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "Phone": {
    "CountryCode": 1,
    "PhoneNumber": "sample string 2"
  },
  "Enviroment": 0
}

text/html

Sample:
{"ApiKey":"sample string 1","Phone":{"CountryCode":1,"PhoneNumber":"sample string 2"},"Enviroment":0}

application/xml, text/xml

Sample:
<FacilGenericRequest 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>
  <Phone>
    <CountryCode>1</CountryCode>
    <PhoneNumber>sample string 2</PhoneNumber>
  </Phone>
</FacilGenericRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.