POST api/otp/validate
Request Information
URI Parameters
None.
Body Parameters
OTPDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| Mobile | string |
None. |
|
| string |
None. |
||
| OTP | integer |
None. |
|
| OTP_Encrypted | string |
None. |
|
| ExpiryInMinutes | integer |
None. |
|
| ExpiryDate | date |
None. |
|
| IsValidated | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"GUID": "a40279ee-17c0-48a4-8ea9-101a913da5f9",
"Mobile": "sample string 3",
"Email": "sample string 4",
"OTP": 5,
"OTP_Encrypted": "sample string 7",
"ExpiryInMinutes": 1,
"ExpiryDate": "2026-11-05T11:42:15.9893057+00:00",
"IsValidated": true
}
text/xml
Sample:
<OTPDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
<Email>sample string 4</Email>
<ExpiryDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T11:42:15.9893057Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ExpiryDate>
<ExpiryInMinutes>1</ExpiryInMinutes>
<GUID>a40279ee-17c0-48a4-8ea9-101a913da5f9</GUID>
<ID>1</ID>
<IsLicenceSpecific>true</IsLicenceSpecific>
<IsValidated>true</IsValidated>
<LicenceKey>b3fa71f5-c9f7-4d24-bf9d-ebd8634733b9</LicenceKey>
<Mobile>sample string 3</Mobile>
<OTP>5</OTP>
<OTP_Clear>6</OTP_Clear>
<OTP_Encrypted>sample string 7</OTP_Encrypted>
<ValidateConsumerEmail>true</ValidateConsumerEmail>
</OTPDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.