POST api/v1/Drivers/GetNearLotSearches

Request Information

URI Parameters

None.

Body Parameters

InputNearLotSearches
NameDescriptionTypeAdditional information
UserID

integer

Required

ParkingLotID

integer

None.

FromDate

date

None.

ToDate

date

None.

LocationLat

decimal number

None.

LocationLong

decimal number

None.

Within

integer

Required

Range: inclusive between 1 and 9.22337203685478E+18

PageIndex

integer

Required

PageSize

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ParkingLotID": 1,
  "FromDate": "2025-03-20T04:04:34.7264595-04:00",
  "ToDate": "2025-03-20T04:04:34.7264595-04:00",
  "LocationLat": 1.0,
  "LocationLong": 1.0,
  "Within": 2,
  "PageIndex": 3,
  "PageSize": 4
}

application/xml, text/xml

Sample:
<InputNearLotSearches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <FromDate>2025-03-20T04:04:34.7264595-04:00</FromDate>
  <LocationLat>1</LocationLat>
  <LocationLong>1</LocationLong>
  <PageIndex>3</PageIndex>
  <PageSize>4</PageSize>
  <ParkingLotID>1</ParkingLotID>
  <ToDate>2025-03-20T04:04:34.7264595-04:00</ToDate>
  <UserID>1</UserID>
  <Within>2</Within>
</InputNearLotSearches>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.