POST api/ReservationExtraServices
Request Information
URI Parameters
None.
Body Parameters
ReservationExtraService| Name | Description | Type | Additional information |
|---|---|---|---|
| ReservationId | integer |
None. |
|
| ExtraServiceId | integer |
None. |
|
| Quantity | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReservationId": 1,
"ExtraServiceId": 1,
"Quantity": 3
}
application/xml, text/xml
Sample:
<ReservationExtraService xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotelManagement.API"> <ReservationId>1</ReservationId> <ExtraServiceId>1</ExtraServiceId> <Quantity>3</Quantity> </ReservationExtraService>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.