Back to Mavenlink.com Blog Tour Status

Adding Time Off Entries via API

 

Fetching a list of Time Off Entries

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

To enable Time Off Entries via API, contact your Client Success Manager or email our support team at support@mavenlink.com.

Time Off Entries are only visible to users that are on the same Mavenlink account in which the entries are made.

This endpoint returns structured Time Off Entry objects. 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.

Fetching-Params.png

Fetching-Response.png


Creating a new Time Off Entry

This endpoint returns structured Time Off Entry objects. 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.Creating-New-Param.png

Creating-Responses.png

Updating an existing Time Off Entry

Time Off Entries cannot be modified. In order to make changes, you must create a new entry.

This endpoint returns structured Time Off Entry objects. 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. 

Updating-Params.png

Updating-Responses.png

Deleting an existing 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