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": "2019-08-25T01:32:52.4720146+00:00",
  "ToDate": "2019-08-25T01:32:52.472999+00: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>2019-08-25T01:32:52.4720146+00:00</FromDate>
  <ParkingLotID>2</ParkingLotID>
  <ParkingSpotID>3</ParkingSpotID>
  <SpotSubLetByID>1</SpotSubLetByID>
  <ToDate>2019-08-25T01:32:52.472999+00: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.