-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hello everyone,
We use your tool (Moco) and think it's great! However, we are trying in vain to read out all available days of our employees per month via your API using Javascript (oand another languages).
Example: An employee works a total of 20 days in the month of March. He takes 5 days of vacation and enters them in Moco. This leaves the employee with 15 days that they work for the company (these fields are then white in the Moco planning and the vacation days are then grey).
Objective: We need to receive these 15 days as a result via the API. Specifically: The API must return the number 15 for the month of March. It dosnt matter, if those days are planned for a project or not, we just need the total days of an employee without holidays or other absences.
We have now carried out various tests (e.g. using Entries/Activities or Entries/Shedules) based on your documentation: https://everii-group.github.io/mocoapp-api-docs/sections/planning_entries.html
Problem: We get e.g. all scheduled days or all vacation days, but not the remaining days.
--> Can you give us a solution for how we can get back all available days per employee per month via API (regardless of whether they are planned or not)? Could you show us how to do this using a Javascript sample?
Best regards, Mario Sommerhalder, COO