- Data is sent as JSON (Content-Type: application/json) to pia
- The requests have to be authenticated with a token from a pia business
- Business
- Positions
- Positions/Working Hours
- Positions/Absences
- Positions/Balances
- Events
- ShiftAssignments
You need an API-Token of your pia organisation or pia section.
Go to the main page of your organisation and there to "Einstellungen -> Integrationen". There you can generate your API-Token to get data of all your sections.
Go to the main page of your section and there to "Einstellungen -> Abteilungseinstellungen". There you can generate your API-Token to get data of the specific section.
Example usage:
curl GET https://app.pia-planer.ch/api/v1/positions \
-H 'Authorization: Business YOUR_API_KEY'