Get list of timesheet orders

GET /api-v1/timesheet/order

Returns a map {orderId, name}

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
    • clientContactId integer
    • clientId integer
    • id integer
    • name string
    • orderId string
    • tasks array[object]
      Hide tasks attributes Show tasks attributes object
      • archived boolean
      • children array[object]
      • id integer
      • name string
      • parentId integer
      • position integer(int32)
      • rate number
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/timesheet/order
curl \
 --request GET 'https://wyzio.app/api-v1/timesheet/order' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
[
  {
    "clientContactId": 42,
    "clientId": 42,
    "id": 42,
    "name": "string",
    "orderId": "string",
    "tasks": [
      {
        "archived": true,
        "children": [
          {}
        ],
        "id": 42,
        "name": "string",
        "parentId": 42,
        "position": 42,
        "rate": 42.0
      }
    ]
  }
]