ItemMessageHeader: Difference between revisions

From imde.io

No edit summary
No edit summary
Line 7: Line 7:
<pre>
<pre>
IMDEMessage xmlns="https://imde.io/schema/imdemessage">
IMDEMessage xmlns="https://imde.io/schema/imdemessage">
<Header DataContainerType="Material">
<Header DataContainerType="Item">
<DataSender>
<DataSender>
            <Identifiers>
<Identifiers>
    <Identifier Type="GLN">8719328024200</Identifier>
<Identifier Type="GLN">8719328024200</Identifier>
            </Identifiers>
</Identifiers>
<Name>Acme</Name>
<Name>Acme</Name>
</DataSender>
</DataSender>
<DataReceiver>
<DataReceiver>
            <Identifiers>
<Identifiers>
    <Identifier Type="GLN">8719328024262</Identifier>
<Identifier Type="GLN">8719328024262</Identifier>
    <Identifier Type="DataReceiverID">23235</Identifier>
<Identifier Type="DataReceiverID">23235</Identifier>
            </Identifiers>
</Identifiers>
             <Name>Wonka</Wonka>
             <Name>Wonka</Wonka>
</DataReceiver>
</DataReceiver>
<DataProvider>
<DataProvider>
            <Identifiers>
<Identifiers>
    <Identifier Type="GLN">8719328024279</Identifier>
<Identifier Type="GLN">8719328024279</Identifier>
            </Identifiers>
</Identifiers>
<Name>Virtucon</Name>
<Name>Virtucon</Name>
</DataProvider>
</DataProvider>

Revision as of 11:15, 22 December 2022

Part of DataContainer: Item

Every message starts with a message header where the type of message can be found and all parties related to the message. The ItemMesssage contains one or more items. And per item you can have one or more DataTopics. Background Presentation

IMDEMessage xmlns="https://imde.io/schema/imdemessage">
	<Header DataContainerType="Item">
		<DataSender>
			<Identifiers>
				<Identifier Type="GLN">8719328024200</Identifier>
			</Identifiers>
			<Name>Acme</Name>
		</DataSender>
		<DataReceiver>
			<Identifiers>
				<Identifier Type="GLN">8719328024262</Identifier>	
				<Identifier Type="DataReceiverID">23235</Identifier>
			</Identifiers>
            <Name>Wonka</Wonka>
		</DataReceiver>
		<DataProvider>
			<Identifiers>
				<Identifier Type="GLN">8719328024279</Identifier>
			</Identifiers>
			<Name>Virtucon</Name>
		</DataProvider>
		<MessageIdentifier>a1a1140b-1859-4fe5-b4f4-0cd843f9e1c3</MessageIdentifier>
		<CreationDateTime>2022-05-30T09:30:10-06:00</CreationDateTime>
	</Header>
	<Items>
		<Item>
			<DataTopics>
			.......		
			</DataTopics>
		</Item>
	</Items>

Header is a mandatary for every message and defines the type of message and all related parties:

  • DataSender: The legal entity or target system sending the data. In this example Wonka is the chocolate manufacturer sending data
  • DataReceiver: The legal entity or target system receiving the data. In this example Acme is the retailer receiving data
  • DataProvider: The solution provider / system that has distributed the data. In this example Virtucon is the Solution Provider sending the the data.

Back to DataContainer: Item