POST api/SendOTP
Request Information
URI Parameters
None.
Body Parameters
OtpModelName | Description | Type | Additional information |
---|---|---|---|
MobileNumber | integer |
Matching regular expression pattern: ([0-9]{10})$ |
|
EmailID | string |
Matching regular expression pattern: ([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$ |
Request Formats
application/json, text/json
Sample:
{ "MobileNumber": 1, "EmailID": "sample string 1" }
application/xml, text/xml
Sample:
<OtpModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <EmailID>sample string 1</EmailID> <MobileNumber>1</MobileNumber> </OtpModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |