POST api/Webhooks

Request Information

URI Parameters

None.

Body Parameters

WebhooksRequest
NameDescriptionTypeAdditional information
reservationID

string

None.

propertyID

integer

None.

status

string

None.

version

string

None.

event

string

None.

timestamp

decimal number

None.

ObjectEvent

string

None.

ActionEvent

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<WebhooksRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.CloudsBeds.Models">
  <Event>sample string 5</Event>
  <PropertyId>2</PropertyId>
  <ReservationId>sample string 1</ReservationId>
  <Status>sample string 3</Status>
  <Timestamp>6</Timestamp>
  <Version>sample string 4</Version>
</WebhooksRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Helpers">
  <Data />
  <Message>sample string 2</Message>
  <Success>true</Success>
</GenericResponse>