POST api/admin/otp/verifyotpforauthentication
Request Information
URI Parameters
None.
Body Parameters
VerifyOTPModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileNo | string |
Matching regular expression pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$ |
|
| OTP | string |
Required |
|
| Purpose | string |
Matching regular expression pattern: ^[a-zA-Z ]+$ |
Request Formats
application/json, text/json
Sample:
{
"MobileNo": "sample string 1",
"OTP": "sample string 2",
"Purpose": "sample string 3"
}
application/xml, text/xml
Sample:
<VerifyOTPModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnmarriedCertificate.Entities.CustomModels"> <MobileNo>sample string 1</MobileNo> <OTP>sample string 2</OTP> <Purpose>sample string 3</Purpose> </VerifyOTPModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>