ItemMessageHeader: Difference between revisions

From imde.io

No edit summary
Line 43: Line 43:
* [https://imde.io/schema/Sample%20XML%20message%20Message%20and%20Header.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]
* [https://imde.io/schema/azlon/1.0/codelists/partyIdentifierType.xsd Codelist partyIdentifierType]


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

Revision as of 14:48, 9 February 2023

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>		
		</DataSender>
		<DataReceiver>
			<Identifiers>
				<Identifier Type="GLN">8719328024262</Identifier>
				<Identifier Type="DataReceiver">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:

Dictionary

List of data elements used in Message Header
Data element Definition
DataSender The legal entity or 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 data.
MessageIdentifier UUID based, uniquely identifies the data message

Back to DataContainer: Item