POST api/v2/Drivers/BookSpotCalculatePayment

Request Information

URI Parameters

None.

Body Parameters

InputBookSpotCalculatePayment_v2
NameDescriptionTypeAdditional information
PromoCode

string

None.

UserID

integer

Required

SpotSubLetByID

integer

None.

ParkingLotID

integer

Required

ParkingSpotID

integer

Required

FromDate

date

Required

ToDate

date

Required

NoEndDate

boolean

Required

BookingType

string

Required

Request Formats

application/json, text/json

Sample:
{
  "PromoCode": "sample string 1",
  "UserID": 2,
  "SpotSubLetByID": 1,
  "ParkingLotID": 3,
  "ParkingSpotID": 4,
  "FromDate": "2024-09-18T15:21:02.9599174-04:00",
  "ToDate": "2024-09-18T15:21:02.9599174-04:00",
  "NoEndDate": true,
  "BookingType": "sample string 8"
}

application/xml, text/xml

Sample:
<InputBookSpotCalculatePayment_v2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input.V2">
  <BookingType>sample string 8</BookingType>
  <FromDate>2024-09-18T15:21:02.9599174-04:00</FromDate>
  <NoEndDate>true</NoEndDate>
  <ParkingLotID>3</ParkingLotID>
  <ParkingSpotID>4</ParkingSpotID>
  <PromoCode>sample string 1</PromoCode>
  <SpotSubLetByID>1</SpotSubLetByID>
  <ToDate>2024-09-18T15:21:02.9599174-04:00</ToDate>
  <UserID>2</UserID>
</InputBookSpotCalculatePayment_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.