Returns a list of salary configuration lines for the specified salary config.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Page Number
Default value is
1. -
Field to sort by
-
Sorting direction
Values are
ASCorDESC. Default value isASC. -
Size per page
Default value is
60. -
Line number filter
-
Line name filter
-
Line type filter
Values are
EMPLOYEE_LINE,COMPANY_LINE,BOTH,CALCULATION, orSYSTEM. -
Line sign filter
Values are
INCOMEorCHARGES. -
Whether the line was automatically added from the template
-
Whether the line is used in a region configuration within the calendar year
-
Whether the line is used in a CLA configuration within the calendar year
GET
/api-v1/payslip/{id}/lines
curl \
--request GET 'https://wyzio.app/api-v1/payslip/{id}/lines'
Response examples (200)
[
{
"id": 42,
"payslipId": 42,
"number": 42,
"name": {
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"type": "EMPLOYEE_LINE",
"sign": "INCOME",
"isAutomaticallyAdded": true,
"usedInRegionConfigWithinCalendarYear": true,
"usedInClaConfigWithinCalendarYear": true,
"visible": true
}
]