List a member's allowances
Changed onEvery fiscal year of every allowance type the member can use, oldest first. Allowance types that are switched off for this member are left out. This is the read side of the deprecated PUT /members/{id}/allowance/{allowance_type_id}/{year}.
Allowance figures are computed at the time of the call. An allowance type without a rule assignment, and a workspace that still uses flat allowances, report the stored figures, and only years with a stored row are listed. An allowance's updatedAt is when its stored row was last written, not when the figures were computed.
Request
- Base URLhttps://api.absentify.com/api/v1
- URLhttps://api.absentify.com/api/v1/members/{member_id}/allowances
- AuthAPI key in header X-API-KEY
Path parameters
Query parameters
Response
Successful response
Changes
- info
added the new optional
queryrequest parameterallowance_type_id
- info
- warning
changed the pattern of the
pathrequest parametermember_idfrom^([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