POST api/devicecommand/generateotp
Request Information
URI Parameters
None.
Body Parameters
Trip_OTP_Request| Name | Description | Type | Additional information |
|---|---|---|---|
| TripId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TripId": "sample string 1"
}
application/xml, text/xml
Sample:
<Trip_OTP_Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Modal.Models"> <TripId>sample string 1</TripId> </Trip_OTP_Request>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OTP_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| OTPValue | string |
None. |
|
| StatusCode | integer |
None. |
|
| Status | boolean |
None. |
|
| statusText | string |
None. |
|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"OTPValue": "sample string 1",
"StatusCode": 2,
"Status": true,
"statusText": "sample string 4",
"msg": "sample string 5"
}
application/xml, text/xml
Sample:
<OTP_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GPSTracking.Modal.Models"> <OTPValue>sample string 1</OTPValue> <Status>true</Status> <StatusCode>2</StatusCode> <msg>sample string 5</msg> <statusText>sample string 4</statusText> </OTP_Response>