POST api/Account/VerifyOTP?code={code}&mobile={mobile}
Verify User OTP
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
Required |
|
| mobile | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OTPResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorNumber | integer |
None. |
|
| ErrorMsg | string |
None. |
|
| ErrorMsgUser | string |
None. |
|
| AlreadyExists | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorNumber": 2,
"ErrorMsg": "sample string 3",
"ErrorMsgUser": "sample string 4",
"AlreadyExists": true
}
application/xml, text/xml
Sample:
<OTPResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbsoluteHealth.API.Models"> <AlreadyExists>true</AlreadyExists> <ErrorMsg>sample string 3</ErrorMsg> <ErrorMsgUser>sample string 4</ErrorMsgUser> <ErrorNumber>2</ErrorNumber> <Success>true</Success> </OTPResultViewModel>