POST api/SendSMSOTP

Request Information

URI Parameters

None.

Body Parameters

RequestSendSMS
NameDescriptionTypeAdditional information
Msisdn

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Msisdn": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<RequestSendSMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers">
  <Message>sample string 2</Message>
  <Msisdn>sample string 1</Msisdn>
</RequestSendSMS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultSendSMS
NameDescriptionTypeAdditional information
Msisdn

string

None.

ResultCode

string

None.

ResultDesc

string

None.

Email

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Msisdn": "sample string 1",
  "ResultCode": "sample string 2",
  "ResultDesc": "sample string 3",
  "Email": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultSendSMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CodaService.Controllers">
  <Email>sample string 4</Email>
  <Msisdn>sample string 1</Msisdn>
  <ResultCode>sample string 2</ResultCode>
  <ResultDesc>sample string 3</ResultDesc>
</ResultSendSMS>