Get available balance for the employee

GET /api-v1/vacation/available-balance

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)

Query parameters

  • calendarYear integer(int32) Required

    calendarYear

  • employeeId integer Required

    employeeId

  • fromDate string Required

    fromDate

  • toDate string Required

    toDate

Responses

  • 200 */*

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/vacation/available-balance
curl \
 --request GET 'https://wyzio.app/api-v1/vacation/available-balance?calendarYear=42&employeeId=42&fromDate=string&toDate=string' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
42.0