v1/special_dates

Create a new special date.

Query Params
location_ids[]
array of int32s

List of IDs of all the locations where the special date is valid. This will be ignored when all_locations is true

location_ids[]
Body Params
string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of a shyftplan account.

string
required

Name of the special date. E.g. Halloween

date
required

Calendar day of the special date. Format: YYYY-MM-DD, e.g. 2025-10-31. Must be in the future.

boolean
Defaults to true

Boolean value to determine whether the special date is valid in all locations of the company. If not (false), you can provide a list of IDs of locations where the date is valid using the parameter location_ids.

date-time

End time of the special date event. This will be ignored, if full_day is true.

boolean
Defaults to true

Boolean value to determine if the special date occupies a full calendar day.

boolean
Defaults to true

Boolean value to determine if the special date should result in bonus time in the shyftplan hour account of employees.

date-time

Start time of the special date. This will be ignored, if full day is true.

Responses

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