POST apis/1/user/SendOTPFOrLoginSignup

Request Information

URI Parameters

None.

Body Parameters

OTPRequest
NameDescriptionTypeAdditional information
Mobile

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

SendOtpRespone
NameDescriptionTypeAdditional information
ReturnCode

string

None.

ReturnMessage

string

None.

OTP

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnCode": "sample string 1",
  "ReturnMessage": "sample string 2",
  "OTP": "sample string 3"
}

application/xml, text/xml

Sample:
<SendOtpRespone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AtYourServiceModel.Models">
  <OTP>sample string 3</OTP>
  <ReturnCode>sample string 1</ReturnCode>
  <ReturnMessage>sample string 2</ReturnMessage>
</SendOtpRespone>