Zum Inhalt springen

Absence Quota Transactions

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Valid Attributes

AttributeDescriptionDetails
absence_idThe ID of the absence to which the transaction belongs.Cannot be set
transaction_typeThe type of transaction.Cannot be set
amountThe amount of quota units in this transaction.Must be set, must be integer
noticeOptional note or description for the transaction.Optional

Relationships

RelationshipDescription
absenceThe absence record associated with this transaction

List

Example response:

{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"type": "absence_quota_transaction",
"attributes": {
"absence_id": "b7f8d3a9-6c5e-4e5c-9d8f-7b6c96d4e3c2a",
"transaction_type": "grant",
"amount": 25,
"notice": "Annual vacation quota granted"
}
},
{
...
}
]
}

This endpoint returns absence quota transactions.

HTTP Request

GET /api/v1/absence_quota_transactions