Get salary configuration years for particular organization

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

Returns salary configuration years 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 attribute Show response attribute object
    • * object Additional properties
      Hide * attributes Show * attributes object
      • baseSalaryLine object
        Hide baseSalaryLine attributes Show baseSalaryLine attributes object
        • description object
          Hide description attributes Show description attributes object
          • de string
          • en string
          • fr string
          • it string
        • id integer
        • isAutomaticallyAdded boolean
        • isHourlyWageLine boolean
        • isLinkedToAccount boolean
        • isShownOnSalarySlip boolean
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • de string
          • en string
          • fr string
          • it string
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • id integer
          • it string
        • number integer
        • parentPayslipLines array[integer]
        • payslipEntityId integer
        • payslipLineSign string

          Values are INCOME or CHARGES.

        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • shouldIncludeVat boolean
        • specialAttributionType string

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

        • systemLine object
          Hide systemLine attributes Show systemLine attributes object
          • id integer
          • payslipLineType string Discriminator
          • systemAdjustmentLineNumber integer
        • touched boolean
      • employeeLines array[object]
        Hide employeeLines attributes Show employeeLines attributes object
        • description object
          Hide description attributes Show description attributes object
          • de string
          • en string
          • fr string
          • it string
        • id integer
        • isAutomaticallyAdded boolean
        • isHourlyWageLine boolean
        • isLinkedToAccount boolean
        • isShownOnSalarySlip boolean
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • de string
          • en string
          • fr string
          • it string
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • id integer
          • it string
        • number integer
        • parentPayslipLines array[integer]
        • payslipEntityId integer
        • payslipLineSign string

          Values are INCOME or CHARGES.

        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • shouldIncludeVat boolean
        • specialAttributionType string

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

        • systemLine object
          Hide systemLine attributes Show systemLine attributes object
          • id integer
          • payslipLineType string Discriminator
          • systemAdjustmentLineNumber integer
        • touched boolean
      • systemLine object
        Hide systemLine attributes Show systemLine attributes object
        • description object
          Hide description attributes Show description attributes object
          • de string
          • en string
          • fr string
          • it string
        • id integer
        • isAutomaticallyAdded boolean
        • isHourlyWageLine boolean
        • isLinkedToAccount boolean
        • isShownOnSalarySlip boolean
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • de string
          • en string
          • fr string
          • it string
        • localizations object
          Hide localizations attributes Show localizations attributes object
          • de string
          • en string
          • fr string
          • id integer
          • it string
        • number integer
        • parentPayslipLines array[integer]
        • payslipEntityId integer
        • payslipLineSign string

          Values are INCOME or CHARGES.

        • payslipLineType string

          Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

        • shouldIncludeVat boolean
        • specialAttributionType string

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

        • systemLine object
          Hide systemLine attributes Show systemLine attributes object
          • id integer
          • payslipLineType string Discriminator
          • systemAdjustmentLineNumber integer
        • touched boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/contact/payslip-years/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/contact/payslip-years/{organizationId}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "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": "string",
        "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": "string",
          "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": "string",
        "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": "string",
        "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": "string",
          "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": "string",
        "systemAdjustmentLineNumber": 42
      },
      "touched": true
    }
  }
}