v2/employments

Create an employment. Managers can't be created using this API.

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
string
required
int32
enum

1 = abrechnen (is billed); 2 = nicht abrechnen (is not billed)

Allowed:
string

email used to login to the employment created

employment_work_hour_attributes
object

Working hours of the employment.

date

First day of employment of this employee.

date

Last date of employment of this employee.

boolean
Defaults to false
boolean
boolean
Defaults to false
float
string
string
string
boolean
Defaults to false

Boolean flag to determine if the user must log in via SSO. Can only be changed by a super-admin

string
int32

Token for punch-timing

Responses

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