POST api/v2/Drivers/BookSpotPaymentV2
Request Information
URI Parameters
None.
Body Parameters
InputSpotPayment_V2| Name | Description | Type | Additional information |
|---|---|---|---|
| SpotSubLetByID | integer |
Required |
|
| PaidAmount | decimal number |
Required |
|
| Nounce | string |
Required |
|
| UserId | integer |
Required |
|
| ParkingSpotID | integer |
Required |
|
| BookingType | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SpotSubLetByID": 1,
"PaidAmount": 2.0,
"Nounce": "sample string 3",
"UserId": 4,
"ParkingSpotID": 5,
"BookingType": "sample string 6"
}
application/xml, text/xml
Sample:
<InputSpotPayment_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 6</BookingType> <Nounce>sample string 3</Nounce> <PaidAmount>2</PaidAmount> <ParkingSpotID>5</ParkingSpotID> <SpotSubLetByID>1</SpotSubLetByID> <UserId>4</UserId> </InputSpotPayment_V2>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |