v1
latestOpenAPI 3.1.02026-07-26549156879.0 KBReads all Incidences
Reads all Incidences
Query parameters
A list of incidence identifiers.
A list of incidence identifiers.
[ "1", "2", "3" ]
A list of legal entities identifiers.
A list of legal entities identifiers.
[ "1", "2", "3" ]
A list of statuses.
A list of statuses.
[ "in-preparation", "to-do", "doing", "done", "discarded" ]
Get the incidence (aka employee update) that start safter this date (included).
Get the incidence (aka employee update) that start safter this date (included).
Get the incidence (aka employee update) that ends before this date (included).
Get the incidence (aka employee update) that ends before this date (included).
A list of types. It can be any of the following address, bank, cost_center, contract, gender, hiring, id, irpf, legal_entity, manual_incidence, name, nationality, parental, phone_number, sick, tax_id, termination, workplace
A list of types. It can be any of the following address, bank, cost_center, contract, gender, hiring, id, irpf, legal_entity, manual_incidence, name, nationality, parental, phone_number, sick, tax_id, termination, workplace
[ "hiring", "workplace" ]
Field to sort by. It can be any of the following employee_first_name, employee_last_name, type, legal_entity_name, effective_date, status.
Field to sort by. It can be any of the following employee_first_name, employee_last_name, type, legal_entity_name, effective_date, status.
Sort direction. It can be 'asc' or 'desc'.
Sort direction. It can be 'asc' or 'desc'.
Filter the result by the name of the employee.
Filter the result by the name of the employee.
A list of employee identifiers.
A list of employee identifiers.
[ "1", "2", "3" ]
Boolean that filters incidences that does or does not contains messages.
Boolean that filters incidences that does or does not contains messages.
Filter by message sender.
Filter by message sender.
A list of custom leave names.
A list of custom leave names.
[ "Medical Leave", "Paternity Leave" ]
Response
OK
Example response
{
"data": [
{
"id": "1",
"employee_id": "1",
"legal_entity_id": "1",
"name": "hiring",
"target_id": "1",
"target_type": "Timeoff::Leave",
"starts_on": "2020-01-01",
"ends_on": "2020-01-01",
"read_at": "2020-01-01",
"company_id": "1",
"message_from": "admin",
"has_message": true,
"is_reopened": true
}
]
}