POST api/V2?_SpotSubLetByID={_SpotSubLetByID}&_UserSPotLeaseID={_UserSPotLeaseID}&_amount={_amount}&_nonce={_nonce}&_UserID={_UserID}&ByAdmin={ByAdmin}&IsPersonalVehicle={IsPersonalVehicle}&VehicleModel={VehicleModel}&VehicleMake={VehicleMake}&VehicleColor={VehicleColor}&IsPartialPayment={IsPartialPayment}&TotalAmount={TotalAmount}&IsOfflineBooking={IsOfflineBooking}&ParkingSpotID={ParkingSpotID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| _SpotSubLetByID | integer |
Required |
|
| _UserSPotLeaseID | integer |
Required |
|
| _amount | decimal number |
Required |
|
| _nonce | string |
Required |
|
| _UserID | integer |
Required |
|
| ByAdmin | boolean |
Default value is False |
|
| IsPersonalVehicle | boolean |
Default value is False |
|
| VehicleModel | string |
Default value is |
|
| VehicleMake | string |
Default value is |
|
| VehicleColor | string |
Default value is |
|
| IsPartialPayment | boolean |
Default value is False |
|
| TotalAmount | decimal number |
Default value is 0 |
|
| IsOfflineBooking | boolean |
Default value is False |
|
| ParkingSpotID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
PaymentResponseV2| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentKey | string |
None. |
|
| ErrorDescription | string |
None. |
|
| ErrorDescription2 | string |
None. |
|
| PaymentStatus | string |
None. |
|
| CardLastFour | string |
None. |
|
| ReservationResponse | ReservationResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"PaymentKey": "sample string 1",
"ErrorDescription": "sample string 2",
"ErrorDescription2": "sample string 3",
"PaymentStatus": "sample string 4",
"CardLastFour": "sample string 5",
"ReservationResponse": {
"ReceiptId": "sample string 1",
"StartDate": "sample string 2",
"EndDate": "sample string 3",
"LotName": "sample string 4",
"SpotNumber": "sample string 5",
"Location": "sample string 6",
"GatePIN": "sample string 7"
}
}
application/xml, text/xml
Sample:
<PaymentResponseV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models">
<CardLastFour>sample string 5</CardLastFour>
<ErrorDescription>sample string 2</ErrorDescription>
<ErrorDescription2>sample string 3</ErrorDescription2>
<PaymentKey>sample string 1</PaymentKey>
<PaymentStatus>sample string 4</PaymentStatus>
<ReservationResponse>
<EndDate>sample string 3</EndDate>
<GatePIN>sample string 7</GatePIN>
<Location>sample string 6</Location>
<LotName>sample string 4</LotName>
<ReceiptId>sample string 1</ReceiptId>
<SpotNumber>sample string 5</SpotNumber>
<StartDate>sample string 2</StartDate>
</ReservationResponse>
</PaymentResponseV2>