POST api/v2/Drivers/GetNearLotSearches

Request Information

URI Parameters

None.

Body Parameters

InputNearLotSearches_v2
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

BookType

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ParkingLotID": 1,
  "FromDate": "2024-10-06T23:53:38.0597343-04:00",
  "ToDate": "2024-10-06T23:53:38.0597343-04:00",
  "LocationLat": 1.0,
  "LocationLong": 1.0,
  "Within": 2,
  "PageIndex": 3,
  "PageSize": 4,
  "BookType": "sample string 5"
}

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>2024-10-06T23:53:38.0597343-04:00</FromDate>
  <LocationLat>1</LocationLat>
  <LocationLong>1</LocationLong>
  <PageIndex>3</PageIndex>
  <PageSize>4</PageSize>
  <ParkingLotID>1</ParkingLotID>
  <ToDate>2024-10-06T23:53:38.0597343-04:00</ToDate>
  <UserID>1</UserID>
  <Within>2</Within>
</InputNearLotSearches_v2>

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.