POST api/SendOtp

Request Information

URI Parameters

None.

Body Parameters

Jsonparams
NameDescriptionTypeAdditional information
jsonstring

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
  <jsonstring>sample string 1</jsonstring>
</Jsonparams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetOtpDetails
NameDescriptionTypeAdditional information
CountryCode

string

None.

Otp

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CountryCode": "sample string 1",
  "Otp": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<GetOtpDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmaalWebAPI.Models">
  <CountryCode>sample string 1</CountryCode>
  <Message>sample string 3</Message>
  <Otp>sample string 2</Otp>
</GetOtpDetails>