Import vehicle plannings

Permissions: create_task_lists

Bulk-create vehicle plannings in a product from a CSV file. From the product’s Vehicle plannings page in Control Center, select Import, download the template, fill it in, and upload it. Files that include pauses also require manage_pauses, and files that include repositioning tasks also require update_task_lists.

The import requires a timezone, chosen during import, which is used to interpret the date-times in the file. Date-times use ISO 8601 (for example 2019-01-18T12:00:00).

CSV columns

Vehicle planning columns

One row per vehicle planning.

ColumnRequiredDescription
V_LICENSE_PLATEYesLicense plate of the vehicle.
T_STARTYesPlanned start, ISO 8601; must be in the future.
T_ENDYesPlanned end, ISO 8601; must be at or after T_START.
T_CONFIGNoMatching configuration name.
T_START_PLACENoStart place slug.
T_END_PLACENoEnd place slug.
T_START_STATION_EXT_IDNoStart station external ID (use when T_START_PLACE is blank).
T_END_STATION_EXT_IDNoEnd station external ID (use when T_END_PLACE is blank).
T_STATENoVehicle-planning state.
T_BOOKING_MODENoOne of always, ad_hoc_booking_only, prebooking_only.
T_REPOSITIONING_STRATEGYNoAutomated repositioning strategy.
T_LINENoLine slug.
T_SERVICE_STARTNoService start, ISO 8601.
T_SERVICE_ENDNoService end, ISO 8601.
T_MATCHING_RANKNoMatching rank.

Pause columns

Pauses are optional and numbered—P1_, P2_, and so on.

ColumnRequiredDescription
P{n}_STARTYes (per pause)Pause start, ISO 8601, within the planning’s start/end.
P{n}_ENDYes (per pause)Pause end, ISO 8601, within the planning’s start/end.
P{n}_PLACENoPause place slug.
P{n}_PRESERVE_DURATIONNoWhether to preserve the pause duration (boolean).

Repositioning-task columns

Repositioning tasks are optional and numbered—R1_, R2_, and so on.

ColumnRequiredDescription
R{n}_TIMEYes (per task)Repositioning time, ISO 8601.
R{n}_PLACEYes (per task)Repositioning place slug.
R{n}_DISMISSABLEYes (per task)Whether the task can be dismissed (boolean).