Allowance Management

List a member's allowance adjustments

Changed on

Returns the manual adjustments of one member and allowance type, oldest first. These are the ids DELETE /adjustments/{id} expects.

get/members/{member_id}/adjustments

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/members/{member_id}/adjustments
  • Auth
    API key in header X-API-KEY

Path parameters

member_idstring uuid required

Query parameters

allowance_type_idstring uuid required

Response

Successful response

idnumber required
amountnumber nullable required

Days for a day-based allowance type, MINUTES for an hour-based one. Negative values subtract.

datestring required

The day the adjustment takes effect; it decides its year.

commentstring required
compensatory_time_offnumber required

Non-zero when the adjustment came from overtime compensation.

expiry_datestring nullable required

The LAST day (inclusive) the granted days can still be used, or null when they do not expire. The same convention POST /members/{member_id}/adjustments accepts, so a value read here can be sent straight back.

Changes

    • warning

      changed the pattern of the path request parameter member_id from ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

    • warning

      changed the pattern of the query request parameter allowance_type_id from ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ to ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

    • info

      added the required property / to the response with the status