メインコンテンツまでスキップ

EditRequest

simulation_idintegerrequired

The id of the simulation which is the scope of the edit action.

dry_runboolean

If true then the result message will be as usual but the changes won’t be committed to the database.

Default value: false
notify_assignmentboolean

If true and action involves node assignment or unassignment then for each assigned and node ASSIGNMENT message is sent and NodeLog object is added. Default depends on settings.MANUAL_EDIT_NOTIFY_ASSIGNMENT

action objectrequired

The concrete action to perform. The specific fields depend on the 'action_type'.

action_typerequired

The concrete action to perform. The specific fields depend on the 'action_type'.

Possible values: [vehicle_reorder_nodes, vehicle_assign_booking, vehicle_unassign_bookings, vehicle_complex_rearrange, invalidate_bookings, invalidate_vehicles, delete_vehicles, vehicle_assign_booking_list, vehicle_shift_nodes]

agent_idstring<uuid>required

Vehicle agent_id.

node_uid_new_sequencestring<uuid>[]required

List of UIDs of nodes which define the new route of a vehicle

strict_time_windowsboolean

Enable or disable strict checking of time window constraints.

Default value: true
node_grouping_thresholdinteger

Non-negative value defines time interval in seconds which will be used to group upcoming nodes. Negative then grouping is disabled.

Default value: -1
EditRequest
{
"simulation_id": 0,
"dry_run": false,
"notify_assignment": true,
"action": {
"action_type": "string",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"node_uid_new_sequence": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"strict_time_windows": true,
"node_grouping_threshold": -1
}
}