Discussions

Ask a Question
ANSWERED

Filtering shifts by employees not working?

Hi,
I am experimenting with the api 'Shifts' endpoint.
I was trying to filter it to just my own shifts from today.
The start_date and end_date filters work fine but it seems to be ignoring the employees filter.
It just gives me every shift from today.
Is the employees filter working for everyone else?

Logic behind the Deduct Breaks Parameter

Hi,

Data from unpublished shifts

Hi,

Adding employee to a shift and publishing

When adding an employee to a shift through the API with PUT /shifts/id endpoint, using the add parameter, is the shift automatically published? It does not seem to be published.

GET Shift does not return `schedule_location_id`

If you call GET Shifts, all shift objects contain schedule_location_id, however GET Shift (singular) does not return schedule_location_id making it impossible to know which location the shift is for.

Ruby GEM

Is anybody aware of good open source GEM for Ruby integration of Humanity?
Ty

ANSWERED

Time sheet report for Deleted employee

I am not able to get the timesheet reports in API V2 for the Deleted employees.
Can you share with me the exact endpoint to get the report for the deleted employees?

who can work in the period of time using API?

Can I get a list of Employees, who can work in a period of time using API?
I want to find 10 employees, who can work on 2020-10-10 from 10 AM till 12:00 AM. What API endpoint I can use?
Sorry, but I did not find an answer in API documentation

Location lat/lon and skills in GET Shifts

Hi! I'm writing an API client for Humanity and noticed that in the GET Shifts endpoint in the API Reference the fields "location.lat" and "location.lon" are always set to empty objects, but in the GET Shift for a specific Shift I do get those values back. Also, I'd like to get "skill_requirement" in GET Shifts too.

API linkage error

From 9/24 today JST, an API linkage error has occurred. Do you know the cause?
-The content of the error is "Invalid'type' for shift without open slots.".
-Until now, when creating a shift, "type = 1 (Shift with open slots)" was set, and no error occurred.