Get salary configuration years for particular organization

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
GET /api-v1/contact/payslip-years/{organizationId}

Returns salary configuration years grouped by calendar year

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Path parameters

  • organizationId integer Required

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • * object Additional properties
      Hide * attributes Show * attributes object
      • systemLine object
        Hide systemLine attributes Show systemLine attributes object
        • id integer
        • number integer Required
        • localizations object Required
          Hide localizations attributes Show localizations attributes object
          • id integer
          • en string
          • fr string
          • de string
          • it string
        • payslipLineType string Required

          Values are EMPLOYEE_LINE, COMPANY_LINE, BOTH, CALCULATION, or SYSTEM.

        • payslipLineSign string Required

          Values are INCOME or CHARGES.

        • isShownOnSalarySlip boolean
        • isAutomaticallyAdded boolean
        • isLinkedToAccount boolean
        • specialAttributionType string

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

        • payslipEntityId integer
        • systemLine object

          One of:
        • parentPayslipLines array[integer]
        • touched boolean
        • shouldIncludeVat boolean
        • isHourlyWageLine boolean
        • description object
          Hide description attributes Show description attributes object
          • en string
          • fr string
          • de string
          • it string
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • en string
          • fr string
          • de string
          • it string
      • baseSalaryLine object
        Hide baseSalaryLine attributes Show baseSalaryLine attributes object
        • id integer
        • number integer Required
        • localizations object Required
          Hide localizations attributes Show localizations attributes object
          • id integer
          • en string
          • fr string
          • de string
          • it string
        • payslipLineType string Required

          Values are EMPLOYEE_LINE, COMPANY_LINE, BOTH, CALCULATION, or SYSTEM.

        • payslipLineSign string Required

          Values are INCOME or CHARGES.

        • isShownOnSalarySlip boolean
        • isAutomaticallyAdded boolean
        • isLinkedToAccount boolean
        • specialAttributionType string

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

        • payslipEntityId integer
        • systemLine object

          One of:
        • parentPayslipLines array[integer]
        • touched boolean
        • shouldIncludeVat boolean
        • isHourlyWageLine boolean
        • description object
          Hide description attributes Show description attributes object
          • en string
          • fr string
          • de string
          • it string
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • en string
          • fr string
          • de string
          • it string
      • employeeLines array[object]
        Hide employeeLines attributes Show employeeLines attributes object
        • id integer
        • number integer Required
        • localizations object Required
          Hide localizations attributes Show localizations attributes object
          • id integer
          • en string
          • fr string
          • de string
          • it string
        • payslipLineType string Required

          Values are EMPLOYEE_LINE, COMPANY_LINE, BOTH, CALCULATION, or SYSTEM.

        • payslipLineSign string Required

          Values are INCOME or CHARGES.

        • isShownOnSalarySlip boolean
        • isAutomaticallyAdded boolean
        • isLinkedToAccount boolean
        • specialAttributionType string

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

        • payslipEntityId integer
        • systemLine object

          One of:
        • parentPayslipLines array[integer]
        • touched boolean
        • shouldIncludeVat boolean
        • isHourlyWageLine boolean
        • description object
          Hide description attributes Show description attributes object
          • en string
          • fr string
          • de string
          • it string
        • lineName object
          Hide lineName attributes Show lineName attributes object
          • en string
          • fr string
          • de string
          • it string
  • 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}'
Response examples (200)
{
  "additionalProperty1": {
    "systemLine": {
      "id": 42,
      "number": 42,
      "localizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "payslipLineType": "EMPLOYEE_LINE",
      "payslipLineSign": "INCOME",
      "isShownOnSalarySlip": true,
      "isAutomaticallyAdded": true,
      "isLinkedToAccount": true,
      "specialAttributionType": "BASE_SALARY",
      "payslipEntityId": 42,
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "parentPayslipLines": [
        42
      ],
      "touched": true,
      "shouldIncludeVat": true,
      "isHourlyWageLine": true,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "lineName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      }
    },
    "baseSalaryLine": {
      "id": 42,
      "number": 42,
      "localizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "payslipLineType": "EMPLOYEE_LINE",
      "payslipLineSign": "INCOME",
      "isShownOnSalarySlip": true,
      "isAutomaticallyAdded": true,
      "isLinkedToAccount": true,
      "specialAttributionType": "BASE_SALARY",
      "payslipEntityId": 42,
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "parentPayslipLines": [
        42
      ],
      "touched": true,
      "shouldIncludeVat": true,
      "isHourlyWageLine": true,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "lineName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      }
    },
    "employeeLines": [
      {
        "id": 42,
        "number": 42,
        "localizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipLineSign": "INCOME",
        "isShownOnSalarySlip": true,
        "isAutomaticallyAdded": true,
        "isLinkedToAccount": true,
        "specialAttributionType": "BASE_SALARY",
        "payslipEntityId": 42,
        "systemLine": {
          "id": 42,
          "payslipLineType": "string",
          "systemAdjustmentLineNumber": 42
        },
        "parentPayslipLines": [
          42
        ],
        "touched": true,
        "shouldIncludeVat": true,
        "isHourlyWageLine": true,
        "description": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "lineName": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        }
      }
    ]
  },
  "additionalProperty2": {
    "systemLine": {
      "id": 42,
      "number": 42,
      "localizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "payslipLineType": "EMPLOYEE_LINE",
      "payslipLineSign": "INCOME",
      "isShownOnSalarySlip": true,
      "isAutomaticallyAdded": true,
      "isLinkedToAccount": true,
      "specialAttributionType": "BASE_SALARY",
      "payslipEntityId": 42,
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "parentPayslipLines": [
        42
      ],
      "touched": true,
      "shouldIncludeVat": true,
      "isHourlyWageLine": true,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "lineName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      }
    },
    "baseSalaryLine": {
      "id": 42,
      "number": 42,
      "localizations": {
        "id": 42,
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "payslipLineType": "EMPLOYEE_LINE",
      "payslipLineSign": "INCOME",
      "isShownOnSalarySlip": true,
      "isAutomaticallyAdded": true,
      "isLinkedToAccount": true,
      "specialAttributionType": "BASE_SALARY",
      "payslipEntityId": 42,
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "parentPayslipLines": [
        42
      ],
      "touched": true,
      "shouldIncludeVat": true,
      "isHourlyWageLine": true,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "lineName": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      }
    },
    "employeeLines": [
      {
        "id": 42,
        "number": 42,
        "localizations": {
          "id": 42,
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "payslipLineType": "EMPLOYEE_LINE",
        "payslipLineSign": "INCOME",
        "isShownOnSalarySlip": true,
        "isAutomaticallyAdded": true,
        "isLinkedToAccount": true,
        "specialAttributionType": "BASE_SALARY",
        "payslipEntityId": 42,
        "systemLine": {
          "id": 42,
          "payslipLineType": "string",
          "systemAdjustmentLineNumber": 42
        },
        "parentPayslipLines": [
          42
        ],
        "touched": true,
        "shouldIncludeVat": true,
        "isHourlyWageLine": true,
        "description": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        },
        "lineName": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        }
      }
    ]
  }
}