Skip to main content

Create leave request

POST 

/leave_requests

Create a new leave request.

Required abilities

Users can create their own leave requests.

You can only create a leave request for another user if you are a "leave approver" for them. Generally, that means being in their designated Time Approver list.

Request

Responses

The item was successfully created.

This is a minimal response that indicates whether the request was successful and provides the URI of the created item. To retrieve additional details or the full item, you may need to make additional requests.

info

See the Location header for the URL of the new item, as well as the X-Item-Id and X-Item-Table headers for the ID and table name of the new item.

Response Headers
    Location

    The URL of the newly created object.

    X-Item-Id

    The ID of the newly created object.

    X-Item-Table

    The name of the table where the object was created.