Get salary codes for organizations

GET /api-v1/organization/salary-codes/{organizationId}

Returns salary codes, cla and region salary codes grouped by calendar year

Headers

Path parameters

Responses

GET /api-v1/organization/salary-codes/{organizationId}
curl \
 -X GET http://wyzio.app/api-v1/organization/salary-codes/{organizationId} \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string"
Response examples (200)
{
  "yearToClaSalaryCodes": {
    "additionalProperty1": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  },
  "yearToRegionSalaryCodes": {
    "additionalProperty1": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  },
  "yearToSalaryCodes": {
    "additionalProperty1": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "balanceSheetAccountId": 42,
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "isLinkedToAccount": true,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "plAdminsAccountId": 42,
        "plOperationsAccountId": 42,
        "regionId": 42,
        "salaryCodeId": 42,
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  }
}