POST api/v2/Drivers/DriverLeaveParking
Request Information
URI Parameters
None.
Body Parameters
InputOpenGate| Name | Description | Type | Additional information |
|---|---|---|---|
| SpotSubLetByID | integer |
Required |
|
| UserID | integer |
Required |
|
| DeviceLat | decimal number |
Required |
|
| DeviceLong | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"SpotSubLetByID": 1,
"UserID": 2,
"DeviceLat": 1.0,
"DeviceLong": 1.0
}
application/xml, text/xml
Sample:
<InputOpenGate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input.V2"> <DeviceLat>1</DeviceLat> <DeviceLong>1</DeviceLong> <SpotSubLetByID>1</SpotSubLetByID> <UserID>2</UserID> </InputOpenGate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |