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
OTPResultViewModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorNumber | integer |
None. |
|
Status | string |
None. |
|
ErrorMsgUser | string |
None. |
|
AlreadyExists | boolean |
None. |
|
data | Object |
None. |
|
UserProgress | UserProgressResponse |
None. |
|
TOKEN | string |
None. |
|
TokenType | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorNumber": 2, "Status": "sample string 3", "ErrorMsgUser": "sample string 4", "AlreadyExists": true, "data": {}, "UserProgress": { "UserProgress": { "ID": 1, "Stage": "sample string 2", "Screen": "sample string 3", "Action": "sample string 4", "Color": "sample string 5", "StartPercentage": "sample string 6", "EndPercentage": "sample string 7", "TotalPercentage": "sample string 8", "SectionId": 1, "SectionTotalPercentage": 1, "UserId": "a6771129-283a-487c-8d6e-66df6c0c298d" }, "Sections": [ { "SectionId": 1, "SectionTotalPercentage": 1 }, { "SectionId": 1, "SectionTotalPercentage": 1 } ] }, "TOKEN": "sample string 7", "TokenType": "sample string 8" }
application/xml, text/xml
Sample:
<OTPResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models"> <AlreadyExists>true</AlreadyExists> <ErrorMsgUser>sample string 4</ErrorMsgUser> <ErrorNumber>2</ErrorNumber> <Status>sample string 3</Status> <Success>true</Success> <TOKEN>sample string 7</TOKEN> <TokenType>sample string 8</TokenType> <UserProgress xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <d2p1:Sections> <d2p1:Sections> <d2p1:SectionId>1</d2p1:SectionId> <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage> </d2p1:Sections> <d2p1:Sections> <d2p1:SectionId>1</d2p1:SectionId> <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage> </d2p1:Sections> </d2p1:Sections> <d2p1:UserProgress> <d2p1:Action>sample string 4</d2p1:Action> <d2p1:Color>sample string 5</d2p1:Color> <d2p1:EndPercentage>sample string 7</d2p1:EndPercentage> <d2p1:ID>1</d2p1:ID> <d2p1:Screen>sample string 3</d2p1:Screen> <d2p1:SectionId>1</d2p1:SectionId> <d2p1:SectionTotalPercentage>1</d2p1:SectionTotalPercentage> <d2p1:Stage>sample string 2</d2p1:Stage> <d2p1:StartPercentage>sample string 6</d2p1:StartPercentage> <d2p1:TotalPercentage>sample string 8</d2p1:TotalPercentage> <d2p1:UserId>a6771129-283a-487c-8d6e-66df6c0c298d</d2p1:UserId> </d2p1:UserProgress> </UserProgress> <data /> </OTPResultViewModel>