POST api/v2/Drivers/LeasedSpotOpenTheGate
Request Information
URI Parameters
None.
Body Parameters
InputLeasedOpenGate| Name | Description | Type | Additional information |
|---|---|---|---|
| ParkingSpotID | integer |
Required |
|
| UserID | integer |
Required |
|
| DeviceLat | decimal number |
Required |
|
| DeviceLong | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"ParkingSpotID": 1,
"UserID": 2,
"DeviceLat": 1.0,
"DeviceLong": 1.0
}
application/xml, text/xml
Sample:
<InputLeasedOpenGate 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> <ParkingSpotID>1</ParkingSpotID> <UserID>2</UserID> </InputLeasedOpenGate>
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. |