Skip to content

XML voorbeelden Situatieberichten

Op deze pagina zijn xml voorbeelden te vinden voor situatieberichten) en specifieke informatiemanagement berichten.

Voor meer informatie over datauitwisseling zie: Exchange 2020 - DATEXII v3

XML voorbeeld payloadDelivery Snapshot

XML voorbeelden allElementUpdate

XML voorbeelden Informatiemanagement

Situaties en situatieonderdelen worden met behulp van het onderdeel InformationManagement technisch beëindigd (closed) of geannuleerd (cancelled). Dit geldt voor zowel de situaties zelf, als voor de onderliggende individuele situatieonderdelen. Naast deze technische beëindiging wordt op het moment dat een gebeurtenis in werkelijkheid is beëindigd, aanvullend op het informationManagement onderdeel ook de payload met de situatie en situatieonderdelen nogmaals wordt verstuurd. In deze payload update wordt ook de definitieve eindtijd van de gebeurtenis opgenomen in het validity-onderdeel overallEndTime. Deze update van de eindtijd wordt altijd vóór of tegelijk met het verstrekken van de technische eindtijd in informationManagement verstuurd. Nooit later.

De informatieverstrekking over een gebeurtenis die in werkelijkheid nog niet is beëindigd en waarvoor eerder een situatie/situatieonderdeel is uitgestuurd, kan worden opgeschort. Dit kan van toepassing zijn bij een dataketenissue (dataChainIssue), of wanneer de betreffende gebeurtenis niet langer aan de voorwaarden van publicatie voldoet (outOfRange). Als een van deze gevallen optreedt dan wordt dit met behulp van het InformationManagement onderdeel aangegeven, waarbij de reden van de opschorting wordt opgenomen het element ManagementStatus. In tegenstelling tot een daadwerkelijke technische beëindiging wordt in deze gevallen géén payload meegstuurd met een daadwerkelijke eindtijd in het validity-onderdeel overallEndTime. Zodra de werkelijke gebeurtenis definitief is beëindigd wordt de informatieverstrekking van de/het situatie/situatieonderdeel afgesloten op dezelfde wijze zoals in de vorige paragraaf beschreven.

Indien een opgeschorte gebeurtenis zoals in de vorige paragraaf beschreven weer relevant wordt voor publicatie, wordt de/het eerder gebruikte situatie/situatieonderdeel weer opgenomen in de publicatie met dezelfde id en een hogere versie.

XML Voorbeeld situation beëindigd

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <stp:putDataInput
              xmlns:ex="http://datex2.eu/schema/3/exchangeInformation"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:com="http://datex2.eu/schema/3/common"
              xmlns:sit="http://datex2.eu/schema/3/situation"
              xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
              xmlns:stp="http://datex2.eu/wsdl/statefulPush/2020"
              xmlns:mc="http://datex2.eu/schema/3/messageContainer"
              xmlns:inf="http://datex2.eu/schema/3/informationManagement"
              xmlns:nlx="http://datex2.eu/schema/3/nlxExtensions"
              modelBaseVersion="3">
            <mc:payload
                    xsi:type="sit:SituationPublication" lang="nl" modelBaseVersion="3">
                <com:publicationTime>2023-12-08T09:49:50.713Z</com:publicationTime>
                <com:publicationCreator>
                    <com:country>nl</com:country>
                    <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                </com:publicationCreator>
                <sit:situation id="NDW01_001_SIT">
                    <sit:overallSeverity>unknown</sit:overallSeverity>
                    <sit:situationVersionTime>2023-12-08T09:49:50.713Z</sit:situationVersionTime>
                    <sit:headerInformation>
                        <com:confidentiality>noRestriction</com:confidentiality>
                        <com:informationStatus>real</com:informationStatus>
                    </sit:headerInformation>
                    <sit:situationRecord xsi:type="sit:XXX" id="NDW01_001_SIT_REC" version="4">
                        <sit:situationRecordCreationTime>2023-12-08T09:23:17.546Z</sit:situationRecordCreationTime>
                        <sit:situationRecordVersionTime>2023-12-08T09:49:50.713Z</sit:situationRecordVersionTime>
                        <sit:probabilityOfOccurrence>probable</sit:probabilityOfOccurrence>
                        <sit:source>
                           ...
                        </sit:source>
                        <sit:validity>
                            <com:validityStatus>definedByValidityTimeSpec</com:validityStatus>
                            <com:validityTimeSpecification>
                                <com:overallStartTime>2023-12-08T09:23:17.546Z</com:overallStartTime>
                                <com:overallEndTime>2023-12-08T09:48:50.713Z</com:overallEndTime>
                            </com:validityTimeSpecification>
                        </sit:validity>
                        <sit:generalPublicComment>
                           ...
                        </sit:generalPublicComment>
                        <sit:locationReference xsi:type="loc:PointLocation">
                           ...
                        </sit:locationReference>
                    </sit:situationRecord>
                </sit:situation>
            </mc:payload>
            <mc:exchangeInformation modelBaseVersion="3">
                <ex:exchangeContext>
                    <ex:codedExchangeProtocol>statefulPush</ex:codedExchangeProtocol>
                    <ex:exchangeSpecificationVersion>2020</ex:exchangeSpecificationVersion>
                    <ex:updateMethod>allElementUpdate</ex:updateMethod>
                    <ex:supplierOrCisRequester>
                        <ex:internationalIdentifier>
                            <com:country>NL</com:country>
                            <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                        </ex:internationalIdentifier>
                    </ex:supplierOrCisRequester>
                </ex:exchangeContext>
                <ex:dynamicInformation>
                    <ex:exchangeStatus>online</ex:exchangeStatus>
                    <ex:messageGenerationTimestamp>2023-12-08T09:48:50.713Z</ex:messageGenerationTimestamp>
                    <ex:sessionInformation>
                        <ex:sessionID>d674c9b2-e080-499d-8f1e-732b6e0e2fef</ex:sessionID>
                    </ex:sessionInformation>
                </ex:dynamicInformation>
            </mc:exchangeInformation>
            <mc:informationManagement>
                <inf:informationManagedResourceList>
                    <inf:elementReference>
                        <inf:managementStatus>closed</inf:managementStatus>
                        <inf:reference id="NDW01_001_SIT"/>
                        <inf:_elementReferenceExtension>
                            <inf:elementReferenceExtended>
                                <nlx:d2ElementType>situation</nlx:d2ElementType>
                                <nlx:managementStatusChangeTime>2023-12-08T09:48:50.713Z</nlx:managementStatusChangeTime>
                            </inf:elementReferenceExtended>
                        </inf:_elementReferenceExtension>
                    </inf:elementReference>
                </inf:informationManagedResourceList>
            </mc:informationManagement>
        </stp:putDataInput>
    </soap:Body>
</soap:Envelope>

XML Voorbeeld situationRecord beëindigd

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <stp:putDataInput
              xmlns:ex="http://datex2.eu/schema/3/exchangeInformation"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:com="http://datex2.eu/schema/3/common"
              xmlns:sit="http://datex2.eu/schema/3/situation"
              xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
              xmlns:stp="http://datex2.eu/wsdl/statefulPush/2020"
              xmlns:mc="http://datex2.eu/schema/3/messageContainer"
              xmlns:inf="http://datex2.eu/schema/3/informationManagement"
              xmlns:nlx="http://datex2.eu/schema/3/nlxExtensions"
              modelBaseVersion="3">
            <mc:payload
                   xsi:type="sit:SituationPublication" lang="nl" modelBaseVersion="3">

                <com:publicationTime>2023-12-08T09:49:50.713Z</com:publicationTime>
                <com:publicationCreator>
                    <com:country>nl</com:country>
                    <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                </com:publicationCreator>

                <sit:situation id="NDW01_002_SIT">
                    <sit:overallSeverity>unknown</sit:overallSeverity>
                    <sit:situationVersionTime>2023-12-08T09:49:50.713Z</sit:situationVersionTime>
                    <sit:headerInformation>
                        <com:confidentiality>noRestriction</com:confidentiality>
                        <com:informationStatus>real</com:informationStatus>
                    </sit:headerInformation>

                    <sit:situationRecord xsi:type="sit:XXX" id="NDW01_002_SIT_REC" version="4">
                        <sit:situationRecordCreationTime>2023-12-08T09:23:17.546Z</sit:situationRecordCreationTime>
                        <sit:situationRecordVersionTime>2023-12-08T09:49:50.713Z</sit:situationRecordVersionTime>
                        <sit:probabilityOfOccurrence>probable</sit:probabilityOfOccurrence>
                        <sit:source>
                           ...
                        </sit:source>
                        <sit:validity>
                            <com:validityStatus>definedByValidityTimeSpec</com:validityStatus>
                            <com:validityTimeSpecification>
                                <com:overallStartTime>2023-12-08T09:23:17.546Z</com:overallStartTime>
                                <com:overallEndTime>2023-12-08T09:49:50.713Z</com:overallEndTime>
                            </com:validityTimeSpecification>
                        </sit:validity>
                        <sit:generalPublicComment>
                           ...
                        </sit:generalPublicComment>
                        <sit:locationReference xsi:type="loc:PointLocation">
                           ...
                        </sit:locationReference>
                    </sit:situationRecord>
                    <sit:situationRecord xsi:type="sit:XXX" id="NDW01_003_SIT_REC" version="4">
                        <sit:situationRecordCreationTime>2023-12-08T09:23:17.546Z</sit:situationRecordCreationTime>
                        <sit:situationRecordVersionTime>2023-12-08T09:49:50.713Z</sit:situationRecordVersionTime>
                        <sit:probabilityOfOccurrence>probable</sit:probabilityOfOccurrence>
                        <sit:source>
                           ...
                        </sit:source>
                        <sit:validity>
                            <com:validityStatus>definedByValidityTimeSpec</com:validityStatus>
                            <com:validityTimeSpecification>
                                <com:overallStartTime>2023-12-08T09:23:17.546Z</com:overallStartTime>
                            </com:validityTimeSpecification>
                        </sit:validity>
                        <sit:generalPublicComment>
                           ...
                        </sit:generalPublicComment>
                        <sit:locationReference xsi:type="loc:PointLocation">
                           ...
                        </sit:locationReference>
                    </sit:situationRecord>
                </sit:situation>
            </mc:payload>
            <mc:exchangeInformation modelBaseVersion="3">
                <ex:exchangeContext>
                    <ex:codedExchangeProtocol>statefulPush</ex:codedExchangeProtocol>
                    <ex:exchangeSpecificationVersion>2020</ex:exchangeSpecificationVersion>
                    <ex:updateMethod>allElementUpdate</ex:updateMethod>
                    <ex:supplierOrCisRequester>
                        <ex:internationalIdentifier>
                            <com:country>NL</com:country>
                            <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                        </ex:internationalIdentifier>
                    </ex:supplierOrCisRequester>
                </ex:exchangeContext>
                <ex:dynamicInformation>
                    <ex:exchangeStatus>online</ex:exchangeStatus>
                    <ex:messageGenerationTimestamp>2021-08-11T07:56:57.374114Z</ex:messageGenerationTimestamp>
                    <ex:sessionInformation>
                        <ex:sessionID>d674c9b2-e080-499d-8f1e-732b6e0e2fef</ex:sessionID>
                    </ex:sessionInformation>
                </ex:dynamicInformation>
            </mc:exchangeInformation>
            <mc:informationManagement>
                <inf:informationManagedResourceList>
                    <inf:elementReference>
                        <inf:managementStatus>closed</inf:managementStatus>
                        <inf:reference id="NDW01_002_SIT_REC"/>
                        <inf:_elementReferenceExtension>
                            <inf:elementReferenceExtended>
                                <nlx:d2ElementType>situationRecord</nlx:d2ElementType>
                                <nlx:managementStatusChangeTime>2020-11-04T09:30:47Z</nlx:managementStatusChangeTime>
                            </inf:elementReferenceExtended>
                        </inf:_elementReferenceExtension>
                    </inf:elementReference>
                </inf:informationManagedResourceList>
            </mc:informationManagement>
        </stp:putDataInput>
    </soap:Body>
</soap:Envelope>

XML Voorbeeld geannuleerd

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <stp:putDataInput
                xmlns:ex="http://datex2.eu/schema/3/exchangeInformation"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:com="http://datex2.eu/schema/3/common"
                xmlns:sit="http://datex2.eu/schema/3/situation"
                xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
                xmlns:stp="http://datex2.eu/wsdl/statefulPush/2020"
                xmlns:mc="http://datex2.eu/schema/3/messageContainer"
                xmlns:inf="http://datex2.eu/schema/3/informationManagement"
                xmlns:nlx="http://datex2.eu/schema/3/nlxExtensions"
                modelBaseVersion="3">
            <mc:payload
                    xsi:type="sit:SituationPublication" lang="nl" modelBaseVersion="3">

                <com:publicationTime>2024-01-10T14:49:00.000121043Z</com:publicationTime>
                <com:publicationCreator>
                    <com:country>nl</com:country>
                    <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                </com:publicationCreator>

                <sit:situation id="NDW01_001_SIT">
                    <sit:overallSeverity>unknown</sit:overallSeverity>
                    <sit:situationVersionTime>2023-12-08T09:48:50.713Z</sit:situationVersionTime>
                    <sit:headerInformation>
                        <com:confidentiality>noRestriction</com:confidentiality>
                        <com:informationStatus>real</com:informationStatus>
                    </sit:headerInformation>

                    <sit:situationRecord xsi:type="sit:VehicleObstruction"
                                         id="NDW01_001_SIT_REC"
                                         version="4">
                        <sit:situationRecordCreationTime>2023-12-08T09:23:17.546Z</sit:situationRecordCreationTime>
                        <sit:situationRecordVersionTime>2023-12-08T09:49:50.713Z</sit:situationRecordVersionTime>
                        <sit:probabilityOfOccurrence>probable</sit:probabilityOfOccurrence>
                        <sit:source>
                            <com:sourceName>
                                <com:values>
                                    <com:value lang="nl">NDW</com:value>
                                </com:values>
                            </com:sourceName>
                        </sit:source>
                        <sit:validity>
                            <com:validityStatus>definedByValidityTimeSpec</com:validityStatus>
                            <com:validityTimeSpecification>
                                <com:overallStartTime>2024-02-25T19:00:00Z</com:overallStartTime>
                                <com:overallEndTime>2024-02-25T20:00:00Z</com:overallEndTime>
                            </com:validityTimeSpecification>
                        </sit:validity>
                        <sit:generalPublicComment>
                            <sit:comment>
                                <com:values>
                                    <com:value lang="nl">Pijlwagen</com:value>
                                </com:values>
                            </sit:comment>
                        </sit:generalPublicComment>
                        <sit:locationReference xsi:type="loc:PointLocation">
                            <loc:supplementaryPositionalDescription/>
                            <loc:pointByCoordinates>
                                <loc:bearing>250</loc:bearing>
                                <loc:pointCoordinates>
                                    <loc:latitude>51.69019</loc:latitude>
                                    <loc:longitude>5.041351</loc:longitude>
                                </loc:pointCoordinates>
                            </loc:pointByCoordinates>
                        </sit:locationReference>
                        <sit:mobilityOfObstruction>
                            <sit:mobilityType>stationary</sit:mobilityType>
                        </sit:mobilityOfObstruction>
                        <sit:vehicleObstructionType>other</sit:vehicleObstructionType>
                    </sit:situationRecord>
                </sit:situation>
            </mc:payload>
            <mc:exchangeInformation modelBaseVersion="3">
                <ex:exchangeContext>
                    <ex:codedExchangeProtocol>statefulPush</ex:codedExchangeProtocol>
                    <ex:exchangeSpecificationVersion>2020</ex:exchangeSpecificationVersion>
                    <ex:updateMethod>allElementUpdate</ex:updateMethod>
                    <ex:supplierOrCisRequester>
                        <ex:internationalIdentifier>
                            <com:country>NL</com:country>
                            <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                        </ex:internationalIdentifier>
                    </ex:supplierOrCisRequester>
                </ex:exchangeContext>
                <ex:dynamicInformation>
                    <ex:exchangeStatus>online</ex:exchangeStatus>
                    <ex:messageGenerationTimestamp>2021-08-11T07:56:57.374114Z</ex:messageGenerationTimestamp>
                    <ex:sessionInformation>
                        <ex:sessionID>d674c9b2-e080-499d-8f1e-732b6e0e2fef</ex:sessionID>
                    </ex:sessionInformation>
                </ex:dynamicInformation>
            </mc:exchangeInformation>
            <mc:informationManagement>
                <inf:informationManagedResourceList>
                    <inf:elementReference>
                        <inf:managementStatus>cancelled</inf:managementStatus>
                        <inf:reference id="NDW01_001_SIT_REC"/>
                        <inf:_elementReferenceExtension>
                            <inf:elementReferenceExtended>
                                <nlx:d2ElementType>situationRecord</nlx:d2ElementType>
                                <nlx:managementStatusChangeTime>2020-11-04T09:30:47Z</nlx:managementStatusChangeTime>
                            </inf:elementReferenceExtended>
                        </inf:_elementReferenceExtension>
                    </inf:elementReference>
                </inf:informationManagedResourceList>
            </mc:informationManagement>
        </stp:putDataInput>
    </soap:Body>
</soap:Envelope>

XML Voorbeeld dataketen probleem

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <stp:putDataInput
                xmlns:ex="http://datex2.eu/schema/3/exchangeInformation"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:com="http://datex2.eu/schema/3/common"
                xmlns:sit="http://datex2.eu/schema/3/situation"
                xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
                xmlns:stp="http://datex2.eu/wsdl/statefulPush/2020"
                xmlns:mc="http://datex2.eu/schema/3/messageContainer"
                xmlns:inf="http://datex2.eu/schema/3/informationManagement"
                xmlns:nlx="http://datex2.eu/schema/3/nlxExtensions"
                modelBaseVersion="3">

            <mc:exchangeInformation modelBaseVersion="3">
                <ex:exchangeContext>
                    <ex:codedExchangeProtocol>statefulPush</ex:codedExchangeProtocol>
                    <ex:exchangeSpecificationVersion>2020</ex:exchangeSpecificationVersion>
                    <ex:updateMethod>allElementUpdate</ex:updateMethod>
                    <ex:supplierOrCisRequester>
                        <ex:internationalIdentifier>
                            <com:country>NL</com:country>
                            <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                        </ex:internationalIdentifier>
                    </ex:supplierOrCisRequester>
                </ex:exchangeContext>
                <ex:dynamicInformation>
                    <ex:exchangeStatus>online</ex:exchangeStatus>
                    <ex:messageGenerationTimestamp>2021-08-11T07:56:57.374114Z</ex:messageGenerationTimestamp>
                    <ex:sessionInformation>
                        <ex:sessionID>d674c9b2-e080-499d-8f1e-732b6e0e2fef</ex:sessionID>
                    </ex:sessionInformation>
                </ex:dynamicInformation>
            </mc:exchangeInformation>
            <mc:informationManagement>
                <inf:informationManagedResourceList>
                    <inf:elementReference>
                        <inf:managementStatus _extendedValue="dataChainIssue">_extended</inf:managementStatus>
                        <inf:reference id="NDW01_001_SIT_REC"/>
                        <inf:_elementReferenceExtension>
                            <inf:elementReferenceExtended>
                                <nlx:d2ElementType>situationRecord</nlx:d2ElementType>
                                <nlx:managementStatusChangeTime>2020-11-04T09:30:47Z</nlx:managementStatusChangeTime>
                            </inf:elementReferenceExtended>
                        </inf:_elementReferenceExtension>
                    </inf:elementReference>
                </inf:informationManagedResourceList>
            </mc:informationManagement>
        </stp:putDataInput>
    </soap:Body>
</soap:Envelope>

XML Voorbeeld buiten bereik

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <stp:putDataInput
                xmlns:ex="http://datex2.eu/schema/3/exchangeInformation"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xmlns:com="http://datex2.eu/schema/3/common"
                xmlns:sit="http://datex2.eu/schema/3/situation"
                xmlns:loc="http://datex2.eu/schema/3/locationReferencing"
                xmlns:stp="http://datex2.eu/wsdl/statefulPush/2020"
                xmlns:mc="http://datex2.eu/schema/3/messageContainer"
                xmlns:inf="http://datex2.eu/schema/3/informationManagement"
                xmlns:nlx="http://datex2.eu/schema/3/nlxExtensions"
                modelBaseVersion="3">

            <mc:exchangeInformation modelBaseVersion="3">
                <ex:exchangeContext>
                    <ex:codedExchangeProtocol>statefulPush</ex:codedExchangeProtocol>
                    <ex:exchangeSpecificationVersion>2020</ex:exchangeSpecificationVersion>
                    <ex:updateMethod>allElementUpdate</ex:updateMethod>
                    <ex:supplierOrCisRequester>
                        <ex:internationalIdentifier>
                            <com:country>NL</com:country>
                            <com:nationalIdentifier>NDWExample</com:nationalIdentifier>
                        </ex:internationalIdentifier>
                    </ex:supplierOrCisRequester>
                </ex:exchangeContext>
                <ex:dynamicInformation>
                    <ex:exchangeStatus>online</ex:exchangeStatus>
                    <ex:messageGenerationTimestamp>2021-08-11T07:56:57.374114Z</ex:messageGenerationTimestamp>
                    <ex:sessionInformation>
                        <ex:sessionID>d674c9b2-e080-499d-8f1e-732b6e0e2fef</ex:sessionID>
                    </ex:sessionInformation>
                </ex:dynamicInformation>
            </mc:exchangeInformation>
            <mc:informationManagement>
                <inf:informationManagedResourceList>
                    <inf:elementReference>
                        <inf:managementStatus _extendedValue="outOfRange">_extended</inf:managementStatus>
                        <inf:reference id="NDW01_001_SIT_REC"/>
                        <inf:_elementReferenceExtension>
                            <inf:elementReferenceExtended>
                                <nlx:d2ElementType>situationRecord</nlx:d2ElementType>
                                <nlx:managementStatusChangeTime>2020-11-04T09:30:47Z</nlx:managementStatusChangeTime>
                            </inf:elementReferenceExtended>
                        </inf:_elementReferenceExtension>
                    </inf:elementReference>
                </inf:informationManagedResourceList>
            </mc:informationManagement>
        </stp:putDataInput>
    </soap:Body>
</soap:Envelope>

Go back to the previous page