GET /api-v1/timesheet/team/review

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

Query parameters

  • startDate string Required
  • endDate string Required
  • employeeNameDirection string Required

    Values are ASC or DESC.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • hours number
    • hoursByStatus object
      Hide hoursByStatus attribute Show hoursByStatus attribute object
      • * number Additional properties
    • billableHours number
    • billableHoursPercent number
    • capacity number
    • employeeContactId integer
    • employeeName string
    • containSubmitted boolean
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/timesheet/team/review
curl \
 --request GET 'https://wyzio.app/api-v1/timesheet/team/review?startDate=string&endDate=string&employeeNameDirection=ASC' \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
[
  {
    "hours": 42.0,
    "hoursByStatus": {
      "additionalProperty1": 42.0,
      "additionalProperty2": 42.0
    },
    "billableHours": 42.0,
    "billableHoursPercent": 42.0,
    "capacity": 42.0,
    "employeeContactId": 42,
    "employeeName": "string",
    "containSubmitted": true
  }
]