PathSegment

Reprezentuje część ścieżki, która może zostać wysłana przez klienta interfejsu API na serwer API (np. zmiana stanu) lub przez serwer API do klienta korzystającego z interfejsu API (np. w celu kierowania wysyłki).

Zapis JSON
{
  "sourceHub": string,
  "destinationHub": string,
  "line": string,
  "lineRotation": string,
  "vehicle": string
}
Pola
sourceHub

string

Wymagane. Źródło segmentu.

destinationHub

string

Wymagane. Miejsce docelowe segmentu.

line

string

Wymagane. Linia obserwowana w tym segmencie.

lineRotation

string

Wymagane. Rotacja tego segmentu jest śledzona.

vehicle

string

Wymagane. Pojazd, a następnie ten segment.