Allowance Management

Create an allowance adjustment

Changed on

Creates a manual adjustment (positive or negative) for a member's allowance. Use this for one-off corrections, bonuses, or deductions. The adjustment is applied to the fiscal year containing the given date.

post/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

Request body

allowance_type_idstring uuid required
amountnumber required

Adjustment amount (positive to add, negative to subtract). For day-based allowance types the value is in days; for hour-based allowance types the value is in MINUTES (e.g. 480 = 8 hours).

datestring required

Effective date of the adjustment in YYYY-MM-DD format

expiry_datestring nullable

Optional. The LAST day (inclusive, YYYY-MM-DD) these days can still be used; from the day after, whatever is left of them is forfeited. To let them be used through 2026-08-31, send 2026-08-31. May equal date (granted and gone the same day). Only allowed for positive adjustments.

commentstring

Optional comment for audit trail (max 500 characters)

Response

Successful response

idnumber 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 request property 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})$