Plans

Create a new plan

post/plans

Request

Request body

titlestring required

The title of the plan.

driversstring[]

The drivers IDs of the plan, in the format drivers/<id>, duplicates will be ignored

depotstring nullable

The depot id, in the format depots/<id>. If not provided, the team's Main Depot will be used.

Response

The created plan

idstring required
titlestring required

The title of the plan.

depotstring required
distributedboolean required

Whether the plan has been distributed.

writableboolean required

Whether the plan is writable using the normal Plan APIs. If this is false, you will need to use the Live Plan APIs to edit the plan. Any plan created before 2023-04-01 is not writable.

optimization'creating' | 'editing' | 'preview' | 'optimized' | 'optimizing' nullable required

The optimization state of the plan.

driversDriverIdSchema[] required

The driver IDs of the plan, in the format drivers/<id>.

routesRouteIdSchema[] required

The route IDs of the plan, in the format routes/<id>.

Changes

No recorded changes to this operation across all 1 revision of this API.