Skip to content

Sequence Diagrams

Sortation request/assignment flow

sequenceDiagram
    participant WCS
    participant API as EuroAPI
    participant Sorter

    Sorter->>API: REQUEST event queued
    WCS->>API: GET /sortation?timeOut=10
    API-->>WCS: 210 + InductDto (Type=REQUEST)
    WCS->>API: POST /sortation (TrackID, Destination)
    API-->>WCS: 200 ACK
    API->>Sorter: Assignment forwarded

Verify feedback flow

sequenceDiagram
    participant WCS
    participant API as EuroAPI
    participant Sorter

    Sorter->>API: VERIFY event queued
    WCS->>API: GET /sortation?timeOut=10
    API-->>WCS: 212 + VerifyDto (Type=VERIFY)
    Note over WCS: No POST response required for VERIFY

Destination SCAN flow

sequenceDiagram
    participant WCS
    participant API as EuroAPI
    participant Sorter

    Sorter->>API: SCAN event queued
    WCS->>API: GET /destination?timeOut=10
    API-->>WCS: 211 + DestinationInfoDto

    WCS->>API: POST /destination (status/light/text)
    API-->>WCS: 200 ACK
    API->>Sorter: Destination settings forwarded

Long polling (queue empty vs data available)

sequenceDiagram
    participant Client
    participant API as EuroAPI

    Client->>API: GET /sortation?timeOut=10
    alt Message arrives before timeout
        API-->>Client: 210 or 212 with payload
    else No message before timeout
        API-->>Client: 204 No Content
    end

Response code legend

  • 200: Status/POST success
  • 204: No queued message available
  • 210: REQUEST payload
  • 211: SCAN payload
  • 212: VERIFY payload