POST api/v1/Drivers/BookSpotCalculatePayment
Request Information
URI Parameters
None.
Body Parameters
InputBookSpotCalculatePayment| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
Required |
|
| SpotSubLetByID | integer |
None. |
|
| ParkingLotID | integer |
Required |
|
| ParkingSpotID | integer |
Required |
|
| FromDate | date |
Required |
|
| ToDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"SpotSubLetByID": 1,
"ParkingLotID": 2,
"ParkingSpotID": 3,
"FromDate": "2025-11-08T14:49:47.6259048-05:00",
"ToDate": "2025-11-08T14:49:47.6259048-05:00"
}
application/xml, text/xml
Sample:
<InputBookSpotCalculatePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input"> <FromDate>2025-11-08T14:49:47.6259048-05:00</FromDate> <ParkingLotID>2</ParkingLotID> <ParkingSpotID>3</ParkingSpotID> <SpotSubLetByID>1</SpotSubLetByID> <ToDate>2025-11-08T14:49:47.6259048-05:00</ToDate> <UserID>1</UserID> </InputBookSpotCalculatePayment>
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. |