v1/employmentsCopy Pageget https://shyftplan.com/api/v1/employmentsList all Employments.Query Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.company_idint32required≥ 1ID of a shyftplan account.company_ids[]array of int32sFilter for an array of company IDs.company_ids[]ADD int32access_levelstringenumDefaults to allAccess level filter used for employmentsallmanage_availabilitiesAllowed:allmanage_availabilitiescreated_afterdate-timeReturn all records which are created aftercreated_beforedate-timeReturn all records which are created beforeidint32≥ 1Filter for a single employment IDids[]array of int32sFilter for a list of employment IDs.ids[]ADD int32include_live_infobooleanDefaults to trueInclude live info (might be slow)truefalseinvitation_statestringenumInvitation state of the employment, one of: new: The user's email address is known in the shyftplan database already (because of an older employment), and he has not accepted (nor refused) the employment at this shyftplan company.accepted: Either the user's email was newly added to the shyftplan database and thus his employment in this shyftplan company was automatically accepted, or (for an older database entry of the user's email address) the user has accepted the invitation to this shyftplan company.refused: (With an older database entry of the user's email address) The user has refused the employment invitation to this shyftplan company.</acceptedacceptednewrefusedAllowed:acceptednewrefusedinvitation_states[]array of stringsList of invitation statesinvitation_states[]Allowed:acceptednewrefusedADD stringis_employeebooleanFilter for Employeestruefalseis_ownerbooleanFilter for super-admins.truefalseis_stakeholderbooleanFilter for managers.truefalselocations_position_idint32Filter for single LocationsPosition IDlocations_position_ids[]array of int32sFilter an array of LocationsPosition IDlocations_position_ids[]ADD int32location_idint32Filter for Location IDlocation_ids[]array of objectsFilter for a list of location IDs.location_ids[]ADD int32not_in_shift_rotation_group_ids[]array of int32sFilter for employments who are not in these shift-system groupsnot_in_shift_rotation_group_ids[]ADD int32order_dirstringenumDefaults to ascSort directionascdescAllowed:ascdescorder_keystringenumDefaults to last_nameSort keyslast_namestateAllowed:last_namestatepageint32≥ 1Defaults to 1Number of the page of responses to retrieve. First page: 1.per_pageint321 to 1000Defaults to 500Number of responses on each page.searchstringSearch string to filter employees by name or staff numbershiftplan_idint32Filter for single Shiftplan IDshiftplan_ids[]array of int32sFilter an array of Shiftplan IDshiftplan_ids[]ADD int32shift_rotation_group_ids[]array of int32sFilter for a list of shift-system group IDs.shift_rotation_group_ids[]ADD int32staff_numbers[]array of stringsFilter an array of Staff numbers IDstaff_numbers[]ADD stringtag_ids[]array of int32sFilter by an array of Employee Attribute IDstag_ids[]ADD int32qualification_idint32Filter for single Qualification IDqualification_ids[]array of int32sFilter an array of Qualification IDqualification_ids[]ADD int32updated_afterdate-timeReturn all records which are updated afterupdated_beforedate-timeReturn all records which are updated beforewithout_locations_positionbooleanDefaults to falseOnly return employments that have no LocationsPosition assignedtruefalsewith_deletedbooleanDefaults to trueInclude soft-deleted employmentstruefalseResponses 200Success 400ErrorUpdated 4 months ago v1/employee_evaluations/{id1}/tags/{id2}v2/employmentsDid this page help you?YesNo