POST api/SevenRooms
Request Information
URI Parameters
None.
Body Parameters
Collection of Input| Name | Description | Type | Additional information |
|---|---|---|---|
| entity | Object |
None. |
|
| event_type | string |
None. |
|
| updates | Object |
None. |
|
| entity_type | string |
None. |
|
| hotel_confirmation | Object |
None. |
|
| hotel_id | Object |
None. |
|
| hotel_room | Object |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"entity": {},
"event_type": "sample string 2",
"updates": {},
"entity_type": "sample string 4",
"hotel_confirmation": {},
"hotel_id": {},
"hotel_room": {}
},
{
"entity": {},
"event_type": "sample string 2",
"updates": {},
"entity_type": "sample string 4",
"hotel_confirmation": {},
"hotel_id": {},
"hotel_room": {}
}
]
application/xml, text/xml
Sample:
<ArrayOfInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenroomsWebhook.Models">
<Input>
<entity />
<entity_type>sample string 4</entity_type>
<event_type>sample string 2</event_type>
<hotel_confirmation />
<hotel_id />
<hotel_room />
<updates />
</Input>
<Input>
<entity />
<entity_type>sample string 4</entity_type>
<event_type>sample string 2</event_type>
<hotel_confirmation />
<hotel_id />
<hotel_room />
<updates />
</Input>
</ArrayOfInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Output| Name | Description | Type | Additional information |
|---|---|---|---|
| response | boolean |
None. |
|
| ReservationID | integer |
None. |
|
| error | string |
None. |
|
| CtciD | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"response": true,
"ReservationID": 1,
"error": "sample string 1",
"CtciD": 1
}
application/xml, text/xml
Sample:
<Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SevenroomsWebhook"> <CtciD>1</CtciD> <ReservationID>1</ReservationID> <error>sample string 1</error> <response>true</response> </Output>