Planner
List the assignable resources
The other half of the planner: /planner says what has to be covered and this one, with whom.
planner:readplanner:read- 120/min
- Server annotation: Read-only
- Server annotation: Idempotent
Result
generated from the schema
Returns the staff, the fleet or both. The date range is optional and goes as a pair; when you send it, the list is narrowed to the resources active in that window. It does not paginate.
Arguments
Which resources to list: staff, fleet or both.
Available options: staff, vehicle, both
Window start, in ISO 8601 with offset. Goes with endDate.
Window end, in ISO 8601 with offset. Goes with startDate.
Result
On success the result carries structuredContent with data and meta. These are the attributes of data.
Show the attributes of data
Resource identifier.
Name by which the resource is recognised.
Resource nature: staff or vehicle.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
The same operation by REST
This tool runs GET /api/v1/planner/resources.
Related pages
Link to this section: Related pagesPlanner
List the assignable resources
The other half of the planner:
/plannersays what has to be covered and this one, with whom./services Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Guides
Errors
A tool error is a result with
isError: trueand the problem in the first text block. Branch on itscode.
Was this page helpful?