v1/employments/{id}/master_location_position

Assign and unassign master location and location position to employment. Can only be set if corresponding employments_position exists - the employee must be assigned to the position that shall be used as master position.

Path Params
int32
required
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.

int32

Location ID - omit this to reset. Must be present if locations_position_id is present

int32

LocationsPosition ID - omit this to reset

Responses

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