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

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • organizationId integer Required

    organizationId

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • yearToClaSalaryCodes object
      Hide yearToClaSalaryCodes attribute Show yearToClaSalaryCodes attribute object
      • * array[object] Additional properties
        Hide * attributes Show * attributes object
        • calendarYear integer(int32)
        • countryId integer
        • id integer
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • it string
        • number integer
        • organizationId integer
        • payslipLineEntityId integer
        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • payslipValueSplitType string

          Values are EMPLOYEE, EMPLOYER, or BOTH.

        • specialAttributionType string

          Values are BASE_SALARY, GROSS_SALARY, NET_SALARY, PAYABLE, CHARGES, EMPLOYEE_ALLOCATION, or SYSTEM_LINE_ADJUSTMENT.

    • yearToRegionSalaryCodes object
      Hide yearToRegionSalaryCodes attribute Show yearToRegionSalaryCodes attribute object
      • * array[object] Additional properties
        Hide * attributes Show * attributes object
        • calendarYear integer(int32)
        • countryId integer
        • id integer
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • it string
        • number integer
        • organizationId integer
        • payslipLineEntityId integer
        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • payslipValueSplitType string

          Values are EMPLOYEE, EMPLOYER, or BOTH.

        • specialAttributionType string

          Values are BASE_SALARY, GROSS_SALARY, NET_SALARY, PAYABLE, CHARGES, EMPLOYEE_ALLOCATION, or SYSTEM_LINE_ADJUSTMENT.

    • yearToSalaryCodes object
      Hide yearToSalaryCodes attribute Show yearToSalaryCodes attribute object
      • * array[object] Additional properties
        Hide * attributes Show * attributes object
        • calendarYear integer(int32)
        • countryId integer
        • id integer
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • it string
        • number integer
        • organizationId integer
        • payslipLineEntityId integer
        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • payslipValueSplitType string

          Values are EMPLOYEE, EMPLOYER, or BOTH.

        • specialAttributionType string

          Values are BASE_SALARY, GROSS_SALARY, NET_SALARY, PAYABLE, CHARGES, EMPLOYEE_ALLOCATION, or SYSTEM_LINE_ADJUSTMENT.

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/organization/salary-codes/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/organization/salary-codes/{organizationId}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "yearToClaSalaryCodes": {
    "additionalProperty1": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  },
  "yearToRegionSalaryCodes": {
    "additionalProperty1": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  },
  "yearToSalaryCodes": {
    "additionalProperty1": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ],
    "additionalProperty2": [
      {
        "calendarYear": 42,
        "countryId": 42,
        "id": 42,
        "localizations": {
          "de": "string",
          "en": "string",
          "fr": "string",
          "it": "string"
        },
        "number": 42,
        "organizationId": 42,
        "payslipLineEntityId": 42,
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipValueSplitType": "EMPLOYEE",
        "specialAttributionType": "BASE_SALARY"
      }
    ]
  }
}