POST api/Booking
Creates Booking in the database
Request Information
URI Parameters
None.
Body Parameters
Booking Object from UI
Booking| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IDBooking | string |
None. |
|
| PassengerId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IDBooking": "sample string 2",
"PassengerId": 1
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Action Result
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.