POST api/v1/Drivers/GetAvailableSPotsByLotID
Request Information
URI Parameters
None.
Body Parameters
InputAvailableSpotByParkingLotIDName | 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 |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "ParkingLotID": 1, "FromDate": "2024-09-18T09:45:12.994463-04:00", "ToDate": "2024-09-18T09:45:12.994463-04:00", "PageIndex": 2, "PageSize": 3, "BookType": "sample string 4" }
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>2024-09-18T09:45:12.994463-04:00</FromDate> <PageIndex>2</PageIndex> <PageSize>3</PageSize> <ParkingLotID>1</ParkingLotID> <ToDate>2024-09-18T09:45:12.994463-04:00</ToDate> <UserID>1</UserID> </InputAvailableSpotByParkingLotID>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |