POST api/Booking/SaveFeedback
Request Information
URI Parameters
None.
Body Parameters
BookingFeedback| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingID | integer |
None. |
|
| DriverRating | byte |
None. |
|
| VehicleRating | byte |
None. |
|
| Feedback | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingID": 1,
"DriverRating": 64,
"VehicleRating": 64,
"Feedback": "sample string 4"
}
text/html
Sample:
{"BookingID":1,"DriverRating":64,"VehicleRating":64,"Feedback":"sample string 4"}
application/xml, text/xml
Sample:
<BookingFeedback xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models"> <BookingID>1</BookingID> <DriverRating>64</DriverRating> <Feedback>sample string 4</Feedback> <VehicleRating>64</VehicleRating> </BookingFeedback>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.