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 beforeidint32Filter for single Employment IDids[]array of int32sFilter an array of Employment IDids[]ADD int32include_live_infobooleanDefaults to trueInclude live info(might be slow)truefalseinvitation_statestringenumtbdnewacceptedrefusedAllowed:newacceptedrefusedinvitation_states[]array of stringstbdinvitation_states[]ADD 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 IDnot_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 beforewith_deletedbooleanDefaults to trueInclude soft-deleted employmentstruefalseResponses 200Success 400ErrorUpdated 6 months ago