POST api/DMT/GetClientToken

Request Information

URI Parameters

None.

Body Parameters

GetClientTokenRequest
NameDescriptionTypeAdditional information
customerMobileNumber

string

Required

Matching regular expression pattern: ^[6-9]\d{9}$

Request Formats

application/json, text/json

Sample:
{
  "customerMobileNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<GetClientTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirtelDMTApi.biz_solutionz.com.Models">
  <customerMobileNumber>sample string 1</customerMobileNumber>
</GetClientTokenRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.