Discussions
Reason: CORS header ‘Access-Control-Allow-Origin’ missing
Hi,
I'm receiving this message while calling the api. Can you give me a contact on which i can give you the top-level domain where the requests to your api will come from?
Regards,
Petar
Posted by Petar over 5 years ago
What are the steps to Sync with Outlook from Shift planning.
Posted by ellur almost 6 years ago
Authentication Failed - You do not have permissions to access the service
Hi, I am writing a windows application and tries to upload time clock data, I am admin of my account. I am not sure if credentials matter while generating tokens and based on tokens you can interpret permissions.
But anyhow, I used admin credentials to generate token and then use that token while uploading data and keep getting this "Authentication Failed error". I added a new app in my account and use their app id and secret id. I am not sure if name of app matters with name of my windows application.
Same exception occurs if I try to use this method https://www.humanity.com/api/v2/timeclock/addclocktime
You can find the screenshot of my postman request here
https://1drv.ms/u/s!AuCr-YEWkmWUirJzTto7_LOB9sjVeQ
Posted by Manvinder Singh almost 5 years ago
Rate Limits
Hello,
First, does Humanity publish its API V2 rate limits anywhere, or is there a way to find out what those are?
If not, can you please answer the following questions:
- When using one "master" group account with multiple child group accounts, are rate limits shared (assuming "Group API Access" is enabled)?
- If we had, for example, 19 child accounts and we sent one GET request to all 20 group accounts (from a single API V2 application using Group API Access), would that trigger the rate limit?
- If we created separate API V2 applications in each child account, would they all have independent rate limits (i.e. not using Group API Access)?
Posted by Zaicon Kiroshu about 5 years ago
Absolute Simplest Way to Set Up Basic API
I've created an Application while going through the tutorial.
I have an App ID.
I have an App Secret Token.
How am I supposed to develop a redirect URL (URI)?
Request authorization code by using POST method on:
https://www.humanity.com/oauth2/token.php
{"error":"invalid_request","error_description":"The request method must be POST when requesting an access token","error_uri":"http:\/\/tools.ietf.org\/html\/rfc6749#section-3.2"}
Where can I set up POST?
Is there some sample code somewhere that I can custom tailor for my companies needs?
Posted by Andrew Harrington almost 6 years ago
Integrate with Salesforce
HI,
Do you have example of how to integrate with salesforce?
Thanks
Ram
Posted by ellur about 6 years ago
Integration with Power BI
Hello,
I'm developing a reporting solution for a client using Power BI and would like to know if there's a connector with Humanity.
If not, any suggestions or ideas about how to get started? I'm new to Humanity.
Thank you.
Posted by Nuno Nogueira almost 6 years ago
Is there REST example to get access token using API?
HI,
Can you provide sample code to get access token and refresh token using API.
Thanks
Ram
Posted by ellur about 6 years ago
Documentation on GET Shifts
Can someone elaborate on what filters work with each mode for GET Shifts?
For example, the 'filled' filter, what is that for and which modes can I use it with?
Posted by Brady Dibble about 6 years ago
Token Authentication v1.0 using Postman
When I submit a POST to
url: https://www.humanity.com/api/
Parameters: None
Authorization: None
Headers: None
Body: Raw JSON:
{
"key": "my key",
"module": "staff.login",
"method": "GET",
"username": "my username",
"password": "my pw"
}
All I get is an error (Unexpected '<'). Am I missing something? Or is my setup incorrect?
Appreciate the help!
Posted by Chris almost 6 years ago