This method returns a list of booking sources

A booking as returned by the Booking Retrieval method may optionally have a booking source.

Info

This method doesn't list all possible booking sources, only those marked as public or booking channel.

Table of Contents
  1. URL Endpoint
  2. Method Parameters
  3. JSON Response Schema

URL Endpoint

/sources

Method Parameters

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.

JSON Response Schema

{
	"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
			}
		]
	}
}