Discussions

Ask a Question

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

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.

Event log through API

How can I filter the employee's event log using API with date and time and event type? What type of filter I can use?

API not working!

Hi, this is quite an urgent matter. I am trying to access the api but having this message show up, "status":{"code":7,"text":"Authentication Failed - You do not have permissions to access the service","error":"Login Failed"},"data":"Authentication Failed - You do not have permissions to access the service","error":"".

GET Leaves by positions

Good day.