Page Summary
-
Represents a part of a path, either sent by the API customer or the API server, containing information about the movement or routing.
-
Includes information about the source and destination hubs, the line and rotation being followed, and the vehicle used for the segment.
-
Defined by a JSON object with required fields for
sourceHub,destinationHub,line,lineRotation, andvehicle.
Represents a part of a path, either sent by the API customer to the API server (e.g., state change) or by the API server to the API customer (e.g., routing a shipment).
| JSON representation |
|---|
{ "sourceHub": string, "destinationHub": string, "line": string, "lineRotation": string, "vehicle": string } |
| Fields | |
|---|---|
source |
Required. Source of the segment. |
destination |
Required. Destination of the segment. |
line |
Required. Line being followed for this segment. |
line |
Required. Rotation being followed for this segment. |
vehicle |
Required. Vehicle followed by this segment. |