POST api/v2/Drivers/BookSpotPayment

Request Information

URI Parameters

None.

Body Parameters

InputBookSpotPayment_V2
NameDescriptionTypeAdditional information
UserID

integer

Required

ParkingLotID

integer

Required

ParkingSpotID

integer

Required

PaidAmount

decimal number

Required

PageIndex

integer

None.

FromDate

date

Required

ToDate

date

Required

PageSize

integer

None.

Nounce

string

Required

NoEndDate

boolean

Required

BookingType

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ParkingLotID": 2,
  "ParkingSpotID": 3,
  "PaidAmount": 4.0,
  "PageIndex": 1,
  "FromDate": "2019-10-15T02:29:46.3340425+00:00",
  "ToDate": "2019-10-15T02:29:46.3340425+00:00",
  "PageSize": 1,
  "Nounce": "sample string 7",
  "NoEndDate": true,
  "BookingType": "sample string 9"
}

application/xml, text/xml

Sample:
<InputBookSpotPayment_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 9</BookingType>
  <FromDate>2019-10-15T02:29:46.3340425+00:00</FromDate>
  <NoEndDate>true</NoEndDate>
  <Nounce>sample string 7</Nounce>
  <PageIndex>1</PageIndex>
  <PageSize>1</PageSize>
  <PaidAmount>4</PaidAmount>
  <ParkingLotID>2</ParkingLotID>
  <ParkingSpotID>3</ParkingSpotID>
  <ToDate>2019-10-15T02:29:46.3340425+00:00</ToDate>
  <UserID>1</UserID>
</InputBookSpotPayment_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.