POST v1/Validate/ValidateOTP
Request Information
URI Parameters
None.
Body Parameters
ValidateOTPRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| URL | string |
None. |
|
| OTP | integer |
None. |
|
| Vuserid | string |
None. |
|
| PccCode | string |
None. |
|
| UserId | integer |
None. |
|
| AccountID | string |
None. |
|
| UserName | string |
None. |
|
| ApplicationDomain | ApplicationDomain |
None. |
|
| guid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"URL": "sample string 2",
"OTP": 3,
"Vuserid": "sample string 4",
"PccCode": "sample string 5",
"UserId": 6,
"AccountID": "sample string 7",
"UserName": "sample string 8",
"ApplicationDomain": 0,
"guid": "sample string 9"
}
application/xml, text/xml
Sample:
<ValidateOTPRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model.Validate"> <AccountID xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 7</AccountID> <ApplicationDomain xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">GTL</ApplicationDomain> <PccCode xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 5</PccCode> <UserId xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">6</UserId> <UserName xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 8</UserName> <Vuserid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 4</Vuserid> <guid xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">sample string 9</guid> <Email>sample string 1</Email> <OTP>3</OTP> <URL>sample string 2</URL> </ValidateOTPRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| guid | string |
None. |
|
| PNR | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"guid": "sample string 3",
"PNR": "sample string 4"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <PNR>sample string 4</PNR> <guid>sample string 3</guid> </Response>