ItemMessageHeader

From imde.io

Revision as of 15:01, 21 December 2022 by HansdG (talk | contribs)

Background Presentation

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.

IMDEMessage xmlns="https://imde.io/schema/imdemessage">
	<Header DataContainerType="Material">
		<DataSender>
			<Identifier Type="GLN">8719328024200</Identifier>
			<Name>Acme</Name>
		</DataSender>
		<DataReceiver>
			<Identifier Type="GLN">8719328024262</Identifier>
			<Identifier Type="DataReceiverID">23235</Identifier>
            <Name>Wonka</Wonka>
		</DataReceiver>
		<DataProvider>
			<Identifier Type="GLN">8719328024279</Identifier>
			<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