POST api/v1/Drivers/RateParkingLot
Request Information
URI Parameters
None.
Body Parameters
InputRateParkingLot| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
Required |
|
| ParkingLotID | integer |
Required |
|
| SpotSubLetByID | integer |
Required |
|
| Rate | integer |
Required Range: inclusive between 1 and 5 |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"ParkingLotID": 2,
"SpotSubLetByID": 3,
"Rate": 4
}
application/xml, text/xml
Sample:
<InputRateParkingLot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TruckSpot.Models.API.Input"> <ParkingLotID>2</ParkingLotID> <Rate>4</Rate> <SpotSubLetByID>3</SpotSubLetByID> <UserID>1</UserID> </InputRateParkingLot>
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. |