Discussions
My question is that please how do I be part of humanity as employee and how how will I apply for it and how do I get access to my app
please I need small light about humanity and how will I be part of it and part of their employees please someone should help me and I want to get access to my app in my state
Posted by Sani Maryam isah 7 months ago
testing/sandbox
Is there a sandbox/test environment that is accessible to test API commands without affecting our production site data?
Posted by none 9 months ago
All Leaves Data
Hello, I was trying to pull all leaves, pending and not pending, and it seems like i'm only getting approved leaves. Unless every request has an 'approved_on' value assigned regardless of pending or not.
I've already tried the different parameters, "requested, all_requested, upcoming, and manager" but they all seem to return the same data, and looking at the Humanity app itself I see pending requests that I can't find in the data provided by the API.
Posted by null 9 months ago
Access Token Creation via API expiry time
1. What is the unit of expiry_at for Access Token Creation via API expiry time? is it seconds?
2. Can access token expiry be longer? Like 14 days just like created via dashboard?
Posted by Muhammad Raihan Sanika 9 months ago
Running Post Shift & Get Publish not working properly
We are currently doing an integration into Humanity but it appears that the publish API is temperamental. At times it does it properly so when you go into the UI the Publish button is greyed out and at other times it has the "Update & Publish" button clickable. This is causing a lot of major issues downstream. Any advice on how to deal with this issue?
Posted by Hassan Ahmad 10 months ago
Disabling user and clear/unassign from all shifts
Using PUT Employee and saw removeschedule, however we are not utilizing schedules. Is there a way to remove a user from any/all assigned shifts when they are disabled/deactivated through the API?
Posted by A 12 months ago
Total Cost Of This Week
We can't find any proper API the will return Total Cost of the week
Lite this report showing
Payroll -> Scheduled Hours ->ThisWeek-> Location = Wilsonville
Total Cost
Posted by Ashok 12 months ago
How do I access my Humanity account?
I have been trying to log on to my Humanity account but I always get a "403 Error" or a "could not get a response from server" message. I tried using different laptops, and even uninstalled-then-reinstalled the mobile app on my phone, but still the same issue.
I urgently need to access my account. Please help.
Thank you!
Posted by null about 1 year ago
Broken Oauth
The tokens returned by the oauth endpoint are not working. Here's my example curl request:
Oauth request:
curl --location 'https://www.humanity.com/oauth2/token.php' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=ac17a5e7440f7bea3fcfaae5b9054200eb269aa7' \
--data-urlencode 'client_secret=ae63a59372d4f10e2cc41c3164f887bae03c3442' \
--data-urlencode 'grant_type=password' \
--data-urlencode '[email protected]' \
--data-urlencode 'password=************'
Response:
{"access_token":"8787ef2fc6732f3f10afd7fbabf50d55c79e6dd0","expires_in":3600,"token_type":"Bearer","scope":null,"refresh_token":"33997ce5179f89c0f5c455fa3a77aee8a931f17d"}
Request to /shifts using the access_token from the above response:
curl --location "https://www.humanity.com/api/v2/shifts?access_token=8787ef2fc6732f3f10afd7fbabf50d55c79e6dd0&end_date=2023-03-04&start_date=2023-03-03
Response:
{"status":20,"data":"Incorrect Permissions - You don't have the proper permissions to access this","error":"This account is not activated.","token":"8787ef2fc6732f3f10afd7fbabf50d55c79e6dd0"}
Posted by Henry Grunzweig about 1 year ago
Is there an API for updating task start and end times?
Is there a way to use the API to track sub-shift time blocks? I believe tasks are the way to handle this, but I did not see an API reference to tasks.
Posted by Tucker about 1 year ago