GET /api-v1/payroll/payroll-table/line-names/{calendarYear}/{organizationId}

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

  • calendarYear integer(int32) Required
  • organizationId integer Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response 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, 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/payroll/payroll-table/line-names/{calendarYear}/{organizationId}
curl \
 --request GET 'https://wyzio.app/api-v1/payroll/payroll-table/line-names/{calendarYear}/{organizationId}' \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
[
  {
    "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"
    }
  }
]