Discussions
Adding skills to employees
Hi, this is in two parts.
1. I would like to add a single skill to multiple employees with one API call. Is this possible? Right now I'm using https://platform.humanity.com/reference/put-employee but that obviously only updates a single employee.
2. I would like to add multiple skills to an existing employee at one time. Is this possible? Right now I'm using the same https://platform.humanity.com/reference/put-employee but that only allows a single skill to be added. If I need to add multiple that means I need to repeat the call.
Thanks!
Posted by Steve Swanson 11 days ago
Issue with Create User API
I'm unable to use the create employee API and receive the same error every time. This is the data I am passing:
{"zip":"10018","fname":"John","lname":"BurghesTest","city":"New York","child_company_id":440626,"nick_name":"JB","state":"NY","email":"[email protected]","status":1,"group":5}
This is the response I get:
{"status":9,"data":"Invalid parameters - Your request has an invalid parameter type","error":"Value is required and can't be empty","token":"014c8f9512aa2c7b76452d9bc89a8f91fa8e063b"}
Posted by John Burghes 25 days ago
concern
in what system in the biometric need to insert the API key
Posted by Sobrino Javier about 2 months ago
Concern about the Bio Metric
hi Good day i am one of the user of Humanity and i would like know how to connect our biometric to humanity and some question like major security issues and pls i need this things asap thanks
Posted by Sobrino Javier about 2 months ago
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.
Is there a way to have it return all the shifts, regardless if the employee overlaps with another one?
Thanks,
Jon
Posted by Jon Roberts about 2 months ago
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:
{
"status": 7,
"data": "Authentication Failed - You do not have permissions to access the service",
"error": "Incorrect Access Attempt: Employee",
"token": "abcabcabc"
}
API Permission level for this is Permission level: 5
My API user is Scheduler, which I believe is level 4
Any ida why I might be running into this?
Thank you
Posted by C S 3 months ago
"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.
I'm trying the "POST Employee Manage Positions" call using the following syntax:
https://www.humanity.com/api/v2/employees/#######/manage-positions?position_ids= ######
And for each call I'm generating and appending an oauth2 bearer token.
So far I've only gotten the following errors:
"status":12
"data":"Create Failed - Your CREATE request failed"
"error":"You don't have permissions to position(s)."
or
"status":0
"data":NULL
"error":"Resource not found"
Any thoughts or direction would be greatly appreciated.
Thanks!
Posted by Ben Hall 3 months ago
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.
Problem: When creating shifts we can only create one at at time by providing relevant info, when trying to create many shifts (a few thousand shifts) 429 (too many requests) are returned. Is there a way to create many shifts at once? i.e. provide an object or array of shift properties?
Posted by [email protected] 3 months ago
why we use overnight filter to get shifts from API
why we use overnight filter to get shifts from API
Posted by vishal 3 months ago
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.
Problem: When deleting shifts we can only delete one at at time by providing shift_id, when trying to delete many shifts 429 (too many requests) are returned. Is there a way to delete many shifts at once? i.e. provide an object or array of shift_ids to be deleted.
Posted by [email protected] 4 months ago