Getting started with Position Green API

Modified on Thu, 27 Mar at 11:19 AM

The best way to show how the API works is by using an example.


For a new and improved way of getting data (registration data) from Position Green take a look at tables.


Getting all registrations for reported hours



The measure reported hours have been created and reporters have submitted data. The registration looks like this.


Working hours (hours) and Sick leave (days) are filled in by the reporter. The periodicity is set to monthly so there are multiple registrations. One per each organization unit and month.


The end result is that we want the sum of worked hours and sick leave aggregated across all organization units.


Step1 - getting an access token

  • First, an access token must be retrieved. See the section about authentication for more information.


Step 2 - obtaining the year


Step 3 - getting measures


Step 4 - getting registrations

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article