v1/special_dates/{id}

Update a special date.

Path Params
int32
required
≥ 1

ID of the special date.

Query Params
location_ids[]
array of int32s

List of IDs of locations where the special date is valid. This will be ignored if 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.

date
required

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

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