Convert Timeframe to Another Type

It is possible to convert a timeframe from one type to another, e.g. from Holiday to Specific Dates or from Days of Week to Custom.

It is not possible to convert a Custom timeframe to any other type.

Converting Specific Dates, Days of Week, or Holiday to Custom will result in a Custom timeframe which contains any entries which existed in the time frame before conversion.

Converting Always to Custom will result in an empty Custom timeframe to which desired entries can then be added.

Converting between any non-Custom types will result in losing those entries (for instance, converting Specific Dates to Days of Week will delete any date ranges in the timeframe)

Path Params
string
required
length ≤ 64
Defaults to ~

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

string
required

timeframe-id of the timeframe to convert the type of

Body Params
string
required

days-of-week: Days of Week specific-dates: Specific Dates holiday: Holidays custom: Custom always: Always

Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json