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