POST api/v1/Drivers/BookSpotCalculatePayment

Request Information

URI Parameters

None.

Body Parameters

InputBookSpotCalculatePayment
NameDescriptionTypeAdditional information
UserID

integer

Required

SpotSubLetByID

integer

None.

ParkingLotID

integer

Required

ParkingSpotID

integer

Required

FromDate

date

Required

ToDate

date

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "SpotSubLetByID": 1,
  "ParkingLotID": 2,
  "ParkingSpotID": 3,
  "FromDate": "2024-09-18T15:00:29.3119241-04:00",
  "ToDate": "2024-09-18T15:00:29.3129234-04:00"
}

application/xml, text/xml

Sample:
<InputBookSpotCalculatePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input">
  <FromDate>2024-09-18T15:00:29.3119241-04:00</FromDate>
  <ParkingLotID>2</ParkingLotID>
  <ParkingSpotID>3</ParkingSpotID>
  <SpotSubLetByID>1</SpotSubLetByID>
  <ToDate>2024-09-18T15:00:29.3129234-04:00</ToDate>
  <UserID>1</UserID>
</InputBookSpotCalculatePayment>

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.