Get details of timesheet

GET /api-v1/timesheet/{id}

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
    • billableAmount number
    • billableRate number
    • client string
    • costRate number
    • date string
    • departmentId integer
    • description string
    • employee string
    • id integer
    • isBillable boolean
    • officeId integer
    • order string
    • status string

      Values are UNSUBMITTED, SUBMITTED, REJECTED, APPROVED, or BILLED.

    • task string
    • time string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/timesheet/{id}
curl \
 --request GET 'https://wyzio.app/api-v1/timesheet/{id}' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "billableAmount": 42.0,
  "billableRate": 42.0,
  "client": "string",
  "costRate": 42.0,
  "date": "string",
  "departmentId": 42,
  "description": "string",
  "employee": "string",
  "id": 42,
  "isBillable": true,
  "officeId": 42,
  "order": "string",
  "status": "UNSUBMITTED",
  "task": "string",
  "time": "string"
}