fixed

Time off API: '/changes' endpoint update

With the February release, we've updated the /timeoff/requests/changes endpoint.

The 'changes' endpoint retrieves all the time off requests activity based on the date the change has occurred.

What's new?

  1. The endpoint was renamed to 'Get time off request changes': The endpoint's title was renamed from the old "Get all new/deleted time off requests since the specified date" to better reflect the endpoint's action.
  2. Query now limited to 6 months: The since query param now supports retrieving time off request changes that occurred up to 6 months back.
  3. A new optional 'to' query param:
    • A new to query param was added to this endpoint, which together with the since param allows to specify a date range.
    • This is an optional parameter. If not specified, the query will include results up to the current date.
    • You can use the date range to retrieve changes older than 6 months.
      For example since:2024-01-01T14:30:24.345Z, to:2024-06-30T14:30:24.345Z
    • The date range is limited to 6 months. A date range longer than 6 months will fail.

To learn more, see Get time off request changes.