Overview
This guide describes how you can import time off data into Operating in case you are managing time off data in a separate system.
To import time off data into Operating you need to import them to the system as work efforts. In Operating time off is handled by creating work efforts for the person in question to a specific time off project. There is one time off project in your Operating account to which you should add all of your time off work efforts.
Every person will have a position in time off project. It is automatically created when a person is created.
Identifying the time off project
- Fetch all projects using the List Projects endpoint.
- Find the project where the field
isTimeOff
is set totrue
. This is your time off project, note down its id.
Creating a work effort for the time off position
- Identify the id of the position you wish to create a work effort for based on the time off project id and the assignedPersonId of the position.
- Use the Create Work Effort endpoint to create a new work effort for the position.