Back to Mavenlink.com Blog Tour Status

Adding Time Off Entries via API

Time Off Entries

Time off Entries represent the time and dates that a user has requested off from work, such as PTO or vacation days.

Fetching a list of Time Off Entries

Returns Time Off Entries which are visible to the user. Items are visible to a user if they are on the same account.

This endpoint returns structured Time Off Entry objects. As with all Mavenlink API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the time_off_entries top-level JSON key. Please see our Response Format section for more information.

Fetching-Params.png

Fetching-Response.png


Creating a new Time Off Entry

This endpoint returns structured Time Off Entry objects. As with all Mavenlink API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the time_off_entries top-level JSON key. Please see our Response Format section for more information.

Creating-New-Param.png

Creating-Responses.png

Updating an existing Time Off Entry

A Time Off Entry cannot be modified. Create a new one for the day instead.

This endpoint returns structured Time Off Entry objects. As with all Mavenlink API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the time_off_entries top-level JSON key. Please see our Response Format section for more information.

Updating-Params.png

Updating-Responses.png

Deleting an existing Time Off Entry

This will delete the time off entry.

The response will contain no content and an HTTP 204 status code if the request was successful, or a standard Mavenlink error message explaining why the object could not be deleted.

Deleting-Param.png

 

Created on

Can't find what you're looking for?

Live Chat Submit a Ticket