ItemMessageHeader: Difference between revisions

From imde.io

No edit summary
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 6: Line 6:


<pre>
<pre>
<IMDEMessage xmlns="https://imde.io/schema/imdemessage">
<IMDEMessages xmlns="https://imde.io/schema/imdemessages/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://imde.io/schema/imdemessages/2.0 https://imde.io/schema/2.0/IMDEMessages.xsd">
<Header DataContainerType="Material">
<IMDEMessage>
<DataSender>
<Header DataContainerType="Item">
<Identifiers>
<DataSender>
<Identifier Type="GLN">8719328024200</Identifier>
<Identifiers>
</Identifiers>
<Identifier Type="GLN">8719328024200</Identifier>
</DataSender>
</Identifiers>
<DataReceiver>
</DataSender>
<Identifiers>
<DataReceiver>
<Identifier Type="GLN">8719328024262</Identifier>
<Identifiers>
<Identifier Type="DataReceiverID">23235</Identifier>
<Identifier Type="GLN">8719328024262</Identifier>
</Identifiers>
<Identifier Type="DataReceiver">23235</Identifier>
</DataReceiver>
</Identifiers>
<DataProvider>
</DataReceiver>
<Identifiers>
<DataProvider>
<Identifier Type="GLN">8719328024279</Identifier>
<Identifiers>
</Identifiers>
<Identifier Type="GLN">8719328024279</Identifier>
<Name>SyncForce</Name>
</Identifiers>
</DataProvider>
<Name>SyncForce</Name>
<MessageIdentifier>a1a1140b-1859-4fe5-b4f4-0cd843f9e1c3</MessageIdentifier>
</DataProvider>
<CreationDateTime>2022-05-30T09:30:10-06:00</CreationDateTime>
<MessageIdentifier>a1a1140b-1859-4fe5-b4f4-0cd843f9e1c3</MessageIdentifier>
</Header>
<CreationDateTime>2022-05-30T09:30:10-06:00</CreationDateTime>
<Items>
<Parameters>
<Item>
<Parameter Key="Parameter1" Value="3" />
<Parameter Key="Parameter2" Value="Data" />
</Parameters>
</Header>
<Item MaterialType="FinishedGood">
<DataTopics>
<DataTopics>
<DataTopic Topic="KeyInfo" Format="Azlon" Version="1.0">
<DataTopic Topic="KeyInfo" Format="Azlon" Version="1.0">
Line 36: Line 40:
</DataTopics>
</DataTopics>
</Item>
</Item>
</Items>
</IMDEMessage>
</IMDEMessage>
</IMDEMessages>
 
</pre>
</pre>


===Downloads===
===Downloads===
* [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]
* [https://imde.io/schema/IMDEMessage.xsd XSD Message and Header]
* [https://imde.io/schema/2.0/IMDEMessages.xsd XSD]
* [https://imde.io/schema/azlon/1.0/codelists/partyIdentifierType.xsd Codelist partyIdentifierType]
* [https://imde.io/schema/azlon/1.0/codelists/dataContainerType.xsd Codelist dataContainerType]
* [https://imde.io/schema/azlon/1.0/codelists/materialType.xsd Codelist materialType]
* [https://imde.io/schema/azlon/1.0/codelists/identifierType.xsd Codelist identifierType]
* [https://imde.io/schema/azlon/1.0/codelists/unitType.xsd Codelist unitType]


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:
* DataReceiver: The legal entity or target system receiving the data. In this example Acme is the retailer receiving data
* : The solution provider / system that has distributed the data. In this example Virtucon is the Solution Provider sending the the data.


==Dictionary==
==Dictionary==
{| class="wikitable"
{| class="wikitable"
|+ Caption text
|+ List of data elements used in Message Header
|-
|-
! Data element !! Definition
! Data element !! Definition
Line 59: Line 65:
| DataReceiver || The legal entity or target system receiving the data. In this example Acme is the retailer receiving 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.
| 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


|}
|}


[[DataContainer_-_Item|Back to DataContainer: Item]]
[[DataContainer_-_Item|Back to DataContainer: Item]]

Latest revision as of 12:52, 17 November 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

<IMDEMessages xmlns="https://imde.io/schema/imdemessages/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://imde.io/schema/imdemessages/2.0 https://imde.io/schema/2.0/IMDEMessages.xsd">
	<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>
			<Parameters>
				<Parameter Key="Parameter1" Value="3" />
				<Parameter Key="Parameter2" Value="Data" />
			</Parameters>	
		</Header>
		<Item MaterialType="FinishedGood">
			<DataTopics>
				<DataTopic Topic="KeyInfo" Format="Azlon" Version="1.0">
					...
				</DataTopic>			
			</DataTopics>
		</Item>
	</IMDEMessage>
</IMDEMessages>

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