Get employees salary periods

GET /api-v1/vacation/availability

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)

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • employeeId integer
    • employeeIdName string
    • salaryPeriods array[object]
      Hide salaryPeriods attributes Show salaryPeriods attributes object
      • endDate string(date-time)
      • startDate string(date-time)
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/vacation/availability
curl \
 --request GET 'https://wyzio.app/api-v1/vacation/availability' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "employeeId": 42,
    "employeeIdName": "string",
    "salaryPeriods": [
      {
        "endDate": "2025-05-04T09:42:00Z",
        "startDate": "2025-05-04T09:42:00Z"
      }
    ]
  }
]