PUT Reservations/ConfirmReservation
Request Information
URI Parameters
None.
Body Parameters
ConfirmReservationVM| Name | Description | Type | Additional information |
|---|---|---|---|
| reservation_id | integer |
None. |
|
| customer_first_name | string |
None. |
|
| customer_last_name | string |
None. |
|
| customer_email | string |
None. |
|
| customer_phone_number | string |
None. |
|
| type_card | integer |
None. |
|
| hotel_id | integer |
None. |
|
| language | string |
None. |
|
| currency | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"reservation_id": 1,
"customer_first_name": "sample string 2",
"customer_last_name": "sample string 3",
"customer_email": "sample string 4",
"customer_phone_number": "sample string 5",
"type_card": 6,
"hotel_id": 7,
"language": "sample string 8",
"currency": "sample string 9"
}
application/xml, text/xml
Sample:
<ConfirmReservationVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <currency>sample string 9</currency> <customer_email>sample string 4</customer_email> <customer_first_name>sample string 2</customer_first_name> <customer_last_name>sample string 3</customer_last_name> <customer_phone_number>sample string 5</customer_phone_number> <hotel_id>7</hotel_id> <language>sample string 8</language> <reservation_id>1</reservation_id> <type_card>6</type_card> </ConfirmReservationVM>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.