Riege SoftwareTechnical description xml-ocean-event

Message Content

Root Element

<?xml version="1.0" encoding="UTF-8"?>
<oceanEventMessage xmlns="http://dtd.riege.com/ocean-event/1.0" schemaVersion="1.0"
                   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.0.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 Event

The message allows to contain multiple events. In this case the <fclEvent> can repeat.

Attributes

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

The event code needs to be provided and has to be one of

Additionally, the following attributes to the <fclEvents> exist:

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>

The <fclEvent> element contains the following child elements:

Resources

XML Schema File

XSD Schema File

Examples