/owner/reports/report/employees_residency_status. Not paginated. More than 3000 employees is answered 400 rather than truncated; the refusal carries an employees entry in validation_errors.curl --location --globoff 'https://.daftara.com/api2/reports/employees_residency_status?id=&active=&department_id=&designation_id=&employment_level_id=&employment_type_id=&from_date=2026-01-01&to_date=&branch_id=&group_by=' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": {
"report": {
"key": "employees_residency_status",
"title": "string"
},
"filters": {
"property1": "string",
"property2": "string"
},
"columns": [
{
"key": "string",
"label": "string"
}
],
"employees": [
{
"id": 0,
"code": "string",
"name": "string",
"department": "string",
"designation": "string",
"employment_level": "string",
"employment_type": "string",
"nationality": "string",
"residence_expiry_date": "2019-08-24",
"branch": "string"
}
],
"meta": {
"employee_count": 0
}
}
}