v2/availabilities

Create a new availability

Body Params

Create a new availability

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.

date-time
required

Date-time (ISO 8601) for the begin of the object's span.

date-time
required

Date-time (ISO 8601) for the end of the object's span.

boolean
required
Defaults to false

Destroy conflicting availabilities

boolean
required
Defaults to true

Is the Employee available (true) or unavailable (false)?

int32
required
≥ 1

ID of the employment.

boolean
required
Defaults to false

Is the availability repeated weekly?

Responses

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