POST api/v2/Drivers/GetAvailableSPotsByLotID
Request Information
URI Parameters
None.
Body Parameters
InputAvailableSpotByParkingLotID| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
Required |
|
| ParkingLotID | integer |
Required |
|
| FromDate | date |
Required |
|
| ToDate | date |
Required |
|
| PageIndex | integer |
Required |
|
| PageSize | integer |
Required |
|
| BookType | string |
Required |
|
| size | integer |
None. |
|
| ShowNoEndDate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"ParkingLotID": 1,
"FromDate": "2026-02-04T02:49:52.9152439+00:00",
"ToDate": "2026-02-04T02:49:52.9152439+00:00",
"PageIndex": 2,
"PageSize": 3,
"BookType": "sample string 4",
"size": 1,
"ShowNoEndDate": true
}
application/xml, text/xml
Sample:
<InputAvailableSpotByParkingLotID xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input"> <BookType>sample string 4</BookType> <FromDate>2026-02-04T02:49:52.9152439+00:00</FromDate> <PageIndex>2</PageIndex> <PageSize>3</PageSize> <ParkingLotID>1</ParkingLotID> <ShowNoEndDate>true</ShowNoEndDate> <ToDate>2026-02-04T02:49:52.9152439+00:00</ToDate> <UserID>1</UserID> <size>1</size> </InputAvailableSpotByParkingLotID>
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. |