POST api/v2/Drivers/BookSpotPayment

Request Information

URI Parameters

None.

Body Parameters

InputBookSpotPayment_V2
NameDescriptionTypeAdditional information
PromoCode

string

None.

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

IsPersonalVehicle

boolean

None.

VehicalColor

string

None.

VehicalMake

string

None.

VehicalModel

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PromoCode": "sample string 1",
  "UserID": 2,
  "ParkingLotID": 3,
  "ParkingSpotID": 4,
  "PaidAmount": 5.0,
  "PageIndex": 1,
  "FromDate": "2024-09-18T15:06:53.4631729-04:00",
  "ToDate": "2024-09-18T15:06:53.4631729-04:00",
  "PageSize": 1,
  "Nounce": "sample string 8",
  "NoEndDate": true,
  "BookingType": "sample string 10",
  "IsPersonalVehicle": true,
  "VehicalColor": "sample string 11",
  "VehicalMake": "sample string 12",
  "VehicalModel": "sample string 13"
}

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 10</BookingType>
  <FromDate>2024-09-18T15:06:53.4631729-04:00</FromDate>
  <IsPersonalVehicle>true</IsPersonalVehicle>
  <NoEndDate>true</NoEndDate>
  <Nounce>sample string 8</Nounce>
  <PageIndex>1</PageIndex>
  <PageSize>1</PageSize>
  <PaidAmount>5</PaidAmount>
  <ParkingLotID>3</ParkingLotID>
  <ParkingSpotID>4</ParkingSpotID>
  <PromoCode>sample string 1</PromoCode>
  <ToDate>2024-09-18T15:06:53.4631729-04:00</ToDate>
  <UserID>2</UserID>
  <VehicalColor>sample string 11</VehicalColor>
  <VehicalMake>sample string 12</VehicalMake>
  <VehicalModel>sample string 13</VehicalModel>
</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.