Get salary configuration years for particular organization

GET /api-v1/contact/payslip-years/{organizationId}

Returns salary configuration years grouped by calendar year

Headers

Path parameters

Responses

GET /api-v1/contact/payslip-years/{organizationId}
curl \
 -X GET http://wyzio.app/api-v1/contact/payslip-years/{organizationId} \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
{
  "baseSalaryLine": {
    "description": {
      "de": "string",
      "en": "string",
      "fr": "string",
      "it": "string"
    },
    "id": 42,
    "isAutomaticallyAdded": 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,
      "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,
    "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
  }
}