POST api/v1/Drivers/BookSpotPayment
Request Information
URI Parameters
None.
Body Parameters
InputBookSpotPaymentName | Description | Type | Additional 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 |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "ParkingLotID": 2, "ParkingSpotID": 3, "PaidAmount": 4.0, "PageIndex": 1, "FromDate": "2024-09-18T14:47:09.1823047-04:00", "ToDate": "2024-09-18T14:47:09.1823047-04:00", "PageSize": 1, "Nounce": "sample string 7" }
application/xml, text/xml
Sample:
<InputBookSpotPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input"> <FromDate>2024-09-18T14:47:09.1823047-04:00</FromDate> <Nounce>sample string 7</Nounce> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <PaidAmount>4</PaidAmount> <ParkingLotID>2</ParkingLotID> <ParkingSpotID>3</ParkingSpotID> <ToDate>2024-09-18T14:47:09.1823047-04:00</ToDate> <UserID>1</UserID> </InputBookSpotPayment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |