POST api/Values/FnSendOTP_Public

Request Information

URI Parameters

None.

Body Parameters

cls_Input_SendOTP
NameDescriptionTypeAdditional information
MobileNumberToSendOTP

string

None.

DeviceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MobileNumberToSendOTP": "sample string 1",
  "DeviceId": "sample string 2"
}

application/xml, text/xml

Sample:
<cls_Input_SendOTP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <DeviceId>sample string 2</DeviceId>
  <MobileNumberToSendOTP>sample string 1</MobileNumberToSendOTP>
</cls_Input_SendOTP>

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

Response Information

Resource Description

API_RETURN_SENDOTP_STATUS
NameDescriptionTypeAdditional information
RESPONSE_CODE

string

None.

RESPONSE_MESSAGE

string

None.

RESPONSE_MOBILE_NUMBER

string

None.

RESPONSE_OTP

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RESPONSE_CODE": "sample string 1",
  "RESPONSE_MESSAGE": "sample string 2",
  "RESPONSE_MOBILE_NUMBER": "sample string 3",
  "RESPONSE_OTP": "sample string 4"
}

application/xml, text/xml

Sample:
<API_RETURN_SENDOTP_STATUS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI_IndiraCanteens.Models">
  <RESPONSE_CODE>sample string 1</RESPONSE_CODE>
  <RESPONSE_MESSAGE>sample string 2</RESPONSE_MESSAGE>
  <RESPONSE_MOBILE_NUMBER>sample string 3</RESPONSE_MOBILE_NUMBER>
  <RESPONSE_OTP>sample string 4</RESPONSE_OTP>
</API_RETURN_SENDOTP_STATUS>