Get list of salary config lines

GET /api-v1/payslip/{id}/lines

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

  • id integer Required

    id

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • id integer
    • isAutomaticallyAdded boolean
    • name object
      Hide name attributes Show name attributes object
      • de string
      • en string
      • fr string
      • it string
    • number integer
    • payslipId integer
    • sign string

      Values are INCOME or CHARGES.

    • type string

      Values are EMPLOYEE_LINE, COMPANY_LINE, CALCULATION, or SYSTEM.

    • usedInClaConfigWithinCalendarYear boolean
    • usedInRegionConfigWithinCalendarYear boolean
    • visible boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/payslip/{id}/lines
curl \
 --request GET 'https://wyzio.app/api-v1/payslip/{id}/lines' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "id": 42,
    "isAutomaticallyAdded": true,
    "name": {
      "de": "string",
      "en": "string",
      "fr": "string",
      "it": "string"
    },
    "number": 42,
    "payslipId": 42,
    "sign": "INCOME",
    "type": "EMPLOYEE_LINE",
    "usedInClaConfigWithinCalendarYear": true,
    "usedInRegionConfigWithinCalendarYear": true,
    "visible": true
  }
]