Get salary configuration years for particular organization
Returns salary configuration years grouped by calendar year
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
Path parameters
-
organizationId
GET /api-v1/contact/payslip-years/{organizationId}
curl \
-X GET http://10.10.10.132/api-v1/contact/payslip-years/{organizationId} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"additionalProperty1": {
"baseSalaryLine": {
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
},
"employeeLines": [
{
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
}
],
"systemLine": {
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
}
},
"additionalProperty2": {
"baseSalaryLine": {
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
},
"employeeLines": [
{
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
}
],
"systemLine": {
"description": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"id": 42,
"isAutomaticallyAdded": true,
"isHourlyWageLine": true,
"isLinkedToAccount": true,
"isShownOnSalarySlip": true,
"lineName": {
"de": "string",
"en": "string",
"fr": "string",
"it": "string"
},
"localizations": {
"de": "string",
"en": "string",
"fr": "string",
"id": 42,
"it": "string"
},
"number": 42,
"parentPayslipLines": [
42
],
"payslipEntityId": 42,
"payslipLineSign": "INCOME",
"payslipLineType": "EMPLOYEE_LINE",
"shouldIncludeVat": true,
"specialAttributionType": "BASE_SALARY",
"systemLine": {
"id": 42,
"payslipLineType": "EMPLOYEE_LINE",
"systemAdjustmentLineNumber": 42
},
"touched": true
}
}
}