POST Authentication/Login

Request Information

URI Parameters

None.

Body Parameters

Login
NameDescriptionTypeAdditional information
Country

string

None.

DialCode

string

None.

Phone

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "DialCode": "sample string 2",
  "Phone": "sample string 3",
  "Password": "sample string 4"
}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <Country>sample string 1</Country>
  <DialCode>sample string 2</DialCode>
  <Password>sample string 4</Password>
  <Phone>sample string 3</Phone>
</Login>

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

Response Information

Resource Description

LoginResponse
NameDescriptionTypeAdditional information
ID

string

None.

Name

string

None.

response

Response

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "Name": "sample string 2",
  "response": {
    "Success": true,
    "ResponseCode": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <ID>sample string 1</ID>
  <Name>sample string 2</Name>
  <response>
    <ResponseCode>sample string 2</ResponseCode>
    <Success>true</Success>
  </response>
</LoginResponse>