POST v0/send-otp

Request Information

URI Parameters

None.

Body Parameters

TBL_SendOtp
NameDescriptionTypeAdditional information
OTP

string

None.

CountryCode

string

None.

SendOTP_Type

string

Required

Matching regular expression pattern: EmailId|MobileNo

Type

string

Required

EmailId

string

None.

MobileNo

string

Matching regular expression pattern: ^[0-9]{10}$

Request Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "CountryCode": "sample string 2",
  "SendOTP_Type": "sample string 3",
  "Type": "sample string 4",
  "EmailId": "sample string 5",
  "MobileNo": "sample string 6"
}

application/xml, text/xml

Sample:
<TBL_SendOtp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abtyp_apiproject.Models">
  <CountryCode>sample string 2</CountryCode>
  <EmailId>sample string 5</EmailId>
  <MobileNo>sample string 6</MobileNo>
  <OTP>sample string 1</OTP>
  <SendOTP_Type>sample string 3</SendOTP_Type>
  <Type>sample string 4</Type>
</TBL_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 'TBL_SendOtp'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.