Get list of employees for payroll generation
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET
/api-v1/payroll/employees
curl \
-X GET http://wyzio.app/api-v1/payroll/employees \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"birthday": "2024-05-04T09:42:00+00:00",
"endDate": "2024-05-04T09:42:00+00:00",
"genderType": "MALE",
"id": 42,
"isPayrollGenerated": true,
"name": "string",
"orgEmployeeGroupId": 42,
"orgEmployeeGroupName": "string",
"organizationId": 42,
"payableToBankId": 42,
"payrollCurrencyId": 42,
"salaryType": "MONTHLY",
"staffAccountId": 42,
"staffId": 42,
"staffPayslipId": 42,
"startDate": "2024-05-04T09:42:00+00:00",
"tenantId": 42
}
]