Discussions
Using tags with API calls
We are using tags to further categories our time trackings. There is a API for managing the tags itself but the documentation lacks information on how to include tags when registering a time tracking via the API. Could you provide a sample how to use tags with time tracking API and actions API ?
Best regards
Posted by Lars Roth over 1 year ago
Sandbox Mode
Hey,
Is there a way to get the information about a configured sandbox mode for a given shift/time frame via api?
thanks
Josef
Posted by Josef almost 3 years ago
getting archived users
Hi,
I have a problem when trying to get all users.
**https://app.papershift.com/public_api/v1/users?**
only seems to give me all the active and deactivated users. Is there a way to get **archived** users as well? I can see them in the Frontend...
Posted by Torsten Templin about 3 years ago
Assignment response
Hey guys,
your shift assignments only return the fields
- id
-username
while your example response states, that it also returns email, phone and updated_at.
Is this a bug or supposed to be?
Kind regards,
Konstantin
Posted by Konstantin Sieke over 3 years ago
Custom Shift fields
I have added custom fields in Location settings > Customize > shifts.
We are planning on creating shifts by sending data to the API, but we are unsure if the API can put data into these custom fields.
If you know the answer or could point me in the direction of the documentation for this, that would be great. Also if there is an alrenative solutioon let me know.
Thanks
Ollie
Posted by Ollie Kong over 3 years ago
Warum werden nur 25 Ergebnisse zurückgeliefert?
Statt die Ergebnisse hart auf 25 zu limitieren und somit in der Regel weitere API-Requests für Seite 2 usw. zu forcieren, wäre es meiner Meinung nach sowohl API-schonender als aus Entwickler-freundlicher, die maximal Anzahl an Ergebnissen mit einem `limit`-Parameter überschreiben zu können. So wird es typischerweise auch bei viele APIs gelöst.
Posted by Lars Schröder almost 4 years ago
Underlying algorithm in auto assignment
Hi, I am very curious to know about the technical aspects of your auto assignment feature. In particular, I want to know about:
- What algorithm you use
- What kinds of constraints you consider
- Limit on the number of employees in auto assignment
- Limit on the length of the planning horizon
- Approximate computational time to complete the auto assignment (I know it depends on a lot of things, but I would like to get an estimate for, let's say, 10 - 50 employees).
Posted by Jangwon about 4 years ago
API call to /absences missing data
Hey guys,
it looks like the API call to /absences is not responding the full data (Get Absences in Range). For example, I try to get the absence on 24th August 2020 with the following GET request:
https://app.papershift.com/public_api/v1/absences?api_token=<token>&page=1&range_end=2020-08-24&range_start=2020-08-24
I retrieve the absence I was looking for, but if I extend the time range and query all pages, I don't get the same absence, which is very weird. Here's the new URL:
https://app.papershift.com/public_api/v1/absences?api_token=<token>&page=3&range_end=2020-08-24&range_start=2020-07-24
It looks like there are whole pages missing, because I only get max. 3 pages all the time. A few weeks back, everything was working fine.
Any ideas? Have there been recent changes to the API?
~ Julian
Posted by Julian about 4 years ago
WorkingSession get Time Tracking in Range duplicate
Hey guys,
i try to get all time trackings of a specific person in a specific range.
My curl-url looks like this:
https://app.papershift.com/public_api/v1/working_sessions?api_token=api_token&range_end=2020-07-24&range_start=2020-07-10&user_id=user_id
This request results almost always in duplicates. Has anyone ever got this issue before?
Kind regards,
Konstantin
Posted by Konstantin Sieke about 4 years ago
Stempeluhr
Hallo zusammen,
ist es möglich, die "Stempeluhr" über die API zu triggern, d.h. "Kommen" und "Gehen" für Nutzer via API zu befüllen?
Mir schwebt eine Integration der beiden Funktionen in unsere PHP-Software vor (Meldefunktion darf nur von bestimmten Standorten aus bedient werden, das überwacht unsere Software bereits).
Vielen Dank für die Mühe.
Posted by Ulrich Kleinert over 4 years ago