Discussions

Ask a Question

oncall shifts with overlaping Employees

We have support staff that cover multiple locations at the same time. It seems like
if an employee is scheduled at the same time at multiple location or positions, the shift endpoint with mode=oncall randomly returns only one shift.

GET Employee by Employee ID Permission Error

Trying to run GET Employee by Employee ID to look up my API user however getting the following error:

"POST Employee Manage Positions" Help

I've been able to successfully use a Python script to update our users' permission groups via the API (employee, scheduler, etc.). The next step would be to update their "Scheduler Permissions" and assign the positions we would like them to manage, but I can't get it to work.

What is the best way to create many shifts?

Context: We need to performance test our sync engine which pulls humanity shifts. As part of this we require setup/cleanup.

why we use overnight filter to get shifts from API

why we use overnight filter to get shifts from API

What is the best way to delete many shifts?

Context: We need to performance test our sync engine which pulls humanity shifts. As part of this we require setup/cleanup.

ANSWERED

upload vacationdays from another system

we are currently using Humanity just for our shiftplanning and have all other personal data and information in another tool (Rexx).
As employees are also applying there vacation in rexx, we always have to take care of them preparing the shift. So I'm wondering if there is any possibility to upload the approved vacation days to Humanity so that we can easily plan our employees.

OpenAPI Spec file

Hi, we have a business application that extensively uses Humanity API, could you please share the OpenAPI spec file as we'd like to create a mock server for testing purposes.

Get deleted shifts via API

The current Shifts and Custom Report (type=shifts) APIs only return active shifts. Is there any API which can either list ALL shifts (including deleted) or list the deleted shifts? Or are there any workarounds to get deleted shifts with any of the available filters?