Riege SoftwareTechnical description xml-ocean-event

Ocean-Event-Message

Rationale

The Ocean Event Message has been designed to allow the processing of incoming container-level or shipment-level tracking information from any external event-provider.

The message processing supports full-featured container level tracking. Meaning that the message will be processed in the same way as messages originating from a Riege partner integration.

Limitations

The set of events (event codes) supported by this message is limited by intention. Please reach out to service@riege.com if you think that an important type of event might be missing.

The interface supports incoming direction only, meaning that Scope can receive but will not create and send those messages.

Version History

Date Version Changes
2025-MAY-23 1.1 Added support for LCL events
2024-MAY-17 1.0 Initial Version

Message Content

Root Element

<?xml version="1.0" encoding="UTF-8"?>
<oceanEventMessage xmlns="http://dtd.riege.com/ocean-event/1.1" schemaVersion="1.1"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://dtd.riege.com/ocean-event/1.0 https://dtd.riege.com/scope/ocean-event/ocean-event-1.1.xsd">

It is important to provide the xmlns and the schemaVersion inside the root element <oceanEventMessage>.

<header>
  <sender>SENDERCODE</sender>
  <receiver>RECEIVERCODE</receiver>
  <messageId>ID1234567890</messageId>
  <messageTime>2023-02-05T12:01:00Z</messageTime>
</header>

The header contains

All fields are mandatory.

FCL / LCL Event

The message allows to contain multiple events of type FCL and / or LCL in any order.

Attributes

The following attributes to the <lclEvent> exist:

<lclEvent code="EMPTY_PICKUP" scac="MAEU"/>

The <fclEvent> contains these attributes:

<fclEvent code="EMPTY_PICKUP" scac="MAEU"
          containerNumber="MAEU1234567" iso6346="40OT"/>

Event Codes

The event code has to be one of

Child Elements

The <fclEvent> or <lclEvent> element contains the following child elements:

<fclEvent code="EMPTY_PICKUP" containerNumber="MAEU1234567"
          scac="MAEU" iso6346="40OT">
    <creationTime>2023-02-05T12:01:00Z</creationTime>
    <eventTime type="actual">2023-02-05T12:01:00+01:00</eventTime>
    <eventLocation unlocode="DEHAM"/>
    <carrierReferences>
        <bl>123456</bl>
        <booking>123456</booking>
    </carrierReferences>
</fclEvent>

Resources

XML Schema File

XSD Schema File

Examples