Allowance Management

Read a member's allowance history

Changed on

Every manual change to this member's allowance for one allowance type, newest first: hand-set balances, carry-over overrides and deleted adjustments. Rule changes are not in here, they are in GET /members/{member_id}/rule-audit-log.

get/members/{member_id}/allowance-audit-log

Request

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

Path parameters

member_idstring uuid required

Query parameters

allowance_type_idstring uuid required
yearinteger

Response

Successful response

idnumber required
createdAtstring required
yearinteger required
event_type'BROUGHT_FORWARD_OVERRIDE_SET' | 'BROUGHT_FORWARD_OVERRIDE_REVERTED' | 'ALLOWANCE_MANUALLY_EDITED' | 'ALLOWANCE_LEGACY_EDITED' | 'ADJUSTMENT_DELETED' required
old_allowancenumber nullable required
new_allowancenumber nullable required
old_brought_forwardnumber nullable required
new_brought_forwardnumber nullable required
old_compensatory_time_offnumber nullable required
new_compensatory_time_offnumber nullable required
old_overwrite_brought_forwardboolean nullable required
new_overwrite_brought_forwardboolean nullable required
delta_allowancenumber nullable required

Set instead of the old/new pair on entries migrated from the pre-rules history, which only recorded a difference.

delta_brought_forwardnumber nullable required
delta_compensatory_time_offnumber nullable required
commentstring nullable required

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

      endpoint added