Get list of payrolls
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Query parameters
-
direction string
Sorting direction
Values are
ASC
orDESC
. Default value isASC
. -
pageNumber integer(int32)
Page Number
Default value is
1
. -
sizePerPage integer(int32)
Size per page
Default value is
60
. -
sortingField string
Field to sort by
GET
/api-v1/payroll
curl \
-X GET http://wyzio.app/api-v1/payroll \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
[
{
"calendarYear": 42,
"currencyCode": "string",
"employee": "string",
"employeeECorrespondence": true,
"employeeEmail": "string",
"employeeId": 42,
"grossSalary": 42.0,
"id": 42,
"monthNumber": 42,
"monthType": "JANUARY",
"netSalary": 42.0,
"organizationEmployeeGroupId": 42,
"organizationEmployeeGroupName": "string",
"organizationId": 42,
"payable": 42.0,
"paymentDate": "2024-05-04T09:42:00+00:00",
"status": "UNPAID",
"warnings": "string"
}
]