POST api/GetOTP
Request Information
URI Parameters
None.
Body Parameters
OPTBO| Name | Description | Type | Additional information |
|---|---|---|---|
| otp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"otp": "sample string 1"
}
application/xml, text/xml
Sample:
<OPTBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tbs.webapi.Courier.Controllers"> <otp>sample string 1</otp> </OPTBO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StatusBO| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<APITrackingLibrary.StatusBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ocskuwait.Code"> <Message>sample string 2</Message> <Status>1</Status> </APITrackingLibrary.StatusBO>