ItemMessageHeader: Difference between revisions

From imde.io

Line 42: Line 42:


===Downloads===
===Downloads===
* [https://imde.io/schema/Sample%20XML%20message%20N%20messages%20&%20header%20&%20key%20info.xml Sample XML Message and Header]
* [https://imde.io/schema/Sample%20XML%20message%20Message%20and%20Header.xml Sample XML Message and Header]
* [https://imde.io/schema/IMDEMessage.xsd XSD Message and Header]
* [https://imde.io/schema/IMDEMessage.xsd XSD Message and Header]



Revision as of 13:04, 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="Material">
		<DataSender>
			<Identifiers>
				<Identifier Type="GLN">8719328024200</Identifier>
			</Identifiers>		
		</DataSender>
		<DataReceiver>
			<Identifiers>
				<Identifier Type="GLN">8719328024262</Identifier>
				<Identifier Type="DataReceiverID">23235</Identifier>
			</Identifiers>			
		</DataReceiver>
		<DataProvider>
			<Identifiers>
				<Identifier Type="GLN">8719328024279</Identifier>
			</Identifiers>				
			<Name>SyncForce</Name>
		</DataProvider>
		<MessageIdentifier>a1a1140b-1859-4fe5-b4f4-0cd843f9e1c3</MessageIdentifier>
		<CreationDateTime>2022-05-30T09:30:10-06:00</CreationDateTime>
	</Header>
	<Items>
		<Item>
			<DataTopics>
				<DataTopic Topic="KeyInfo" Format="Azlon" Version="1.0">
					...
				</DataTopic>			
			</DataTopics>
		</Item>
	</Items>
</IMDEMessage>

Downloads

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