Get salary line names for particular organization

GET /api-v1/contact/payslip-table/line-names/{organizationId}

Returns salary line names grouped by calendar year

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    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
    • * array[object] Additional properties
      Hide * attributes Show * attributes object
      • id integer
      • number integer
      • description object
        Hide description attributes Show description attributes object
        • en string
        • fr string
        • de string
        • it string
      • systemLine object

        One of:
      • payslipEntityId integer
      • calendarYear integer(int32)
      • isAutomaticallyAdded boolean
      • isHourlyWageLine 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-table/line-names/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/contact/payslip-table/line-names/{organizationId}' \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
  "additionalProperty1": [
    {
      "id": 42,
      "number": 42,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "payslipEntityId": 42,
      "calendarYear": 42,
      "isAutomaticallyAdded": true,
      "isHourlyWageLine": true
    }
  ],
  "additionalProperty2": [
    {
      "id": 42,
      "number": 42,
      "description": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "systemLine": {
        "id": 42,
        "payslipLineType": "string",
        "systemAdjustmentLineNumber": 42
      },
      "payslipEntityId": 42,
      "calendarYear": 42,
      "isAutomaticallyAdded": true,
      "isHourlyWageLine": true
    }
  ]
}