API Playground - get_ical_feed_url

get_ical_feed_url


Use this function to get the URL of an iCal feed for a metasite, site, resource or selected resources. You can also filter the iCal feed by the value of a reservation form item. See the list_all parameter if you'd like to make a single call and get feeds for all of your resources. (click for full documentation)

site_id

Planyo site ID. Used only for metasite API keys and only if the feed should be limited to a single site

resource_id

You can limit the feed to a single resource using this parameter.

list_all

You can set this parameter to true if you want the output to include feed URLs for each individual resource and for the entire site/metasite

resource_property_filter

You can filter the resources included in the feed by passing a custom resource property

resource_property_value

If resource_property_fiter is used, you should pass the resource property value here

form_item_filter

You can filter the reservations included in the feed by a value of a form item

form_item_value

If form_item_filter is used, you should pass the form item value here

template

You can specify one of the templates defined by you

include_vacations

Set this to true if resource vacations should be included in the feed. Note: you can also use a special value all for this parameter in order to also include vacations imported from external sources such as iCal feeds and Google Calendar (via extensions)

past_days

Limit past events to the ones starting at most X days ago.

future_days

Limit future events to the ones starting at most in X days

personal_id

Use this parameter if the iCal feed should be personal and if you'd like a possibility to make it invalid in the future (see Q344 for more info).

unit_name

When resource_id is specified, you can additionally limit the feed to a single unit name. Note that this should be a valid unit name for the resource.

language

by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned

api_key

* - campo requerido