v2/employmentsCopy Pageget https://shyftplan.com/api/v2/employmentsList all Employments.Query Paramsuser_emailstringrequiredE-Mail of userauthentication_tokenstringrequiredAuthentication Token - can be fetched by login actioncompany_idint32Filter for single Company IDpageint32Defaults to 1Pages start with 1per_pageint32Defaults to 1000Between 1 and 1000updated_afterdate-timeReturn all records which are updated aftercreated_afterdate-timeReturn all records which are created afterupdated_beforedate-timeReturn all records which are updated beforecreated_beforedate-timeReturn all records which are created beforeidint32Filter for single Employment IDids[]array of int32sFilter an array of Employment IDids[]ADD int32searchstringSearch string to filter employees by name or staff numberstaff_numbers[]array of stringsFilter an array of Staff numbers IDstaff_numbers[]ADD stringcompany_ids[]array of int32sFilter an array of Company IDcompany_ids[]ADD int32location_idint32Filter for Location IDlocations_position_idint32Filter for single LocationsPosition IDlocations_position_ids[]array of int32sFilter an array of LocationsPosition IDlocations_position_ids[]ADD int32shiftplan_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 int32not_in_shift_rotation_group_ids[]array of int32sFilter for employments who are not in these shift-system groups.not_in_shift_rotation_group_ids[]ADD int32is_stakeholderbooleanFilter for managers.truefalseis_ownerbooleanFilter for super-admins.truefalseis_employeebooleanFilter for Employeestruefalseinvitation_statestringenumtbdnewacceptedrefusedAllowed:newacceptedrefusedinvitation_states[]array of stringstbdinvitation_states[]ADD stringinclude_live_infobooleanDefaults to falseInclude live info(might be slow)truefalseinclude_custom_fieldsbooleanDefaults to falseInclude custom fieldstruefalsewith_deletedbooleanDefaults to trueInclude soft-deleted employmentstruefalsequalification_idint32Filter for single Qualification IDqualification_ids[]array of int32sFilter an array of Qualification IDqualification_ids[]ADD int32tag_ids[]array of int32sFilter by an array of Employee Attribute IDstag_ids[]ADD int32access_levelstringenumDefaults to allAccess level filter used for employmentsallmanage_availabilitiesAllowed:allmanage_availabilitiesorder_keystringenumDefaults to last_nameSort keyslast_namestateAllowed:last_namestateorder_dirstringenumDefaults to ascSort directionascdescAllowed:ascdescResponse 200List all Employments.Updated about 1 month ago