Reassign Order
Reassign an order to a worker. The order will be added in an optimal position if the worker already has an associated route
Request
- Base URLhttps://v3.api.hypertrack.com
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Type of the order which can be drop or pick
Integer representing the pick or drop order index when having a pick/drop scenario
The attempt number for fulfilling the order
Request body
Unique customer provided identifier for the new driver to whom the order needs to be assigned to
Unique customer provided identifier for the new worker to whom the order needs to be assigned to
Unique Handle of Ops Group to which worker belongs. Needed if a worker belongs to multiple ops groups
Type of the order which can be drop or pick
Integer representing the pick or drop order index when having a pick/drop scenario
Response
Successful response
Unique customer provided identifier for an order
Current state of the order
Number identifying the attempt count for the order
Timestamp at which the order was created
Timestamp at which the order was rescheduled
Flag indicating whether the order is at risk
Unique identifier for the ops group to which the order is associated
Value indicating how the order was planned - manual, scheduled
Unique identifier for a device
Unique customer provided identifier for the driver
Unique customer provided identifier for the worker
Timestamp at which the order tracking started
Timestamp at which the order was assigned to a driver
Timestamp at which the order was planned into a route
Timestamp by which the order should be fulfilled to meet the customer promise
Timestamp after which the order should be fulfilled to meet the customer promise
Timestamp at which the order was completed
Timestamp at which the order was cancelled
Detail about how order got cancelled
Customer-reported reason why the shift did not occur as planned: no_show, worker_cancelled, client_cancelled, other. Consumers must accept new values.
Timestamp at which the order was disabled so that it can be fulfillment later
Timestamp at which the disabled order was enabled for fulfillment
Timestamp at which the driver arrived at the order fulfillment location
Timestamp at which the driver exited from the order fulfillment location
Additional customer provided information about the order
Object containing different risk statuses for the order
Time in seconds that the driver is expected to spend at the location when fulfilling the order
List of customer provided product/service types used when matching orders to a driver
Field to specify if the order is a pick/drop
Field to specify if the order is a pick/drop
Volumetric unit occupied by the order
Total distance in meters travelled by the driver to reach the order location
Total time in seconds spent on the order.
Shareable URL for the consumer to track the live movement of the drive after the order is dispatched
Embeddable URL for the ops team to view order timeline
Unique identifier for the route
Unique identifier of the plan
Reason explaining why automated planning left the order unplanned. Present only when a planning attempt could not assign the order.
Value representing whether the order is tracked in flex, on_time, on_shift, full_shift or pre_shift mode
Time in seconds that the driver is actually spent at the location when fulfilling the order
Total time tracked in seconds for the driver at the location when fulfilling the order
Distance in meters between the actual completion location to the order location
Indicates whether the order was completed at destination
Indicates whether the order was cancelled at destination
Indicates whether the driver visited the destination
Indicates the ratio of time tracked to expected tracking time of order. Values lie between 0.0 and 1.0
List of URLs to be used to retrieve images associated with the order
Time in seconds to receive first location after device's tracking is initiated for the route
Time in seconds to receive first event after device's tracking is initiated for the route
Name of the worker to whom order is assigned.
Unique customer provided identifier of the place
Changes
No recorded changes to this operation across all 1 revision of this API.