This method returns a list of booking sources
A booking as returned by the Booking Retrieval method may optionally have a booking source.
This method doesn't list all possible booking sources, only those marked as public or booking channels.
/sources
| NAME | TYPE | RANGE / SET | REQUIRED | DEFAULT | EXAMPLE | NOTES |
|---|---|---|---|---|---|---|
| source_type | string | PUBLIC CHANNEL CHANNELSTREAM |
NO | – | &source_type=CHANNEL |
Return only sources of the specified type. Send CHANNELSTREAM to get a list of the property activated channels only. |
{
"method": "https://rest.reserve-online.net/sources"
"http_method": "GET",
"http_code": 200,
"error_code": "OK",
"error_msg": "",
"params": [],
"data":{
"sources":[
{
"id":INTEGER,
"name":STRING,
"is_public":BOOLEAN,
"is_channel":BOOLEAN,
"parent_id":INTEGER
}
]
}
}