Exporting Metadata Sample

You can export the metadata from the source enterprise, for any given object within the request XML.

Here is a sample XML:

<DataService>
     		<Transaction>
         		<Command type="Query">
         					  <MasterCatalog etype="Entity">
         						    <ExternalKeys>
         							      <Key name="name" type="string">CUSTOMER</Key>
             						</ExternalKeys>
         					  </MasterCatalog>
         				</Command>
     			</Transaction>
	     		<Transaction>
         				<Command type="Query">
         					  			<DataSource etype="Entity">
         						    				<ExternalKeys>
         						    					  <Key name="name" type="string">CUSTOMER_DS_2</Key>
         						    				</ExternalKeys>
         					  						</DataSource>
         						</Command>
     				</Transaction>
     				<Transaction>
		         		<Command type="Query">
         					  						<DataSource etype="Entity">
         						    								<ExternalKeys>
         						    					  					<Key name="name" type="string">ACCOUNT_DS_1</Key>
         						    								</ExternalKeys>
         					  									</DataSource>
         								</Command>
     					</Transaction>
     					<Transaction>
		         				<Command type="Query">
			         					  						<CatalogFormat etype="Entity">
         						    												<ExternalKeys>
         						    					 					<Key name="name" type="string">CUSTOMER_FORMAT</Key>
         						    												</ExternalKeys>
						         					  						</CatalogFormat>
		         				</Command>
	     					</Transaction>
     						<Transaction>
		         						<Command type="Query">
			         					  									<CatalogFormat etype="Entity">
         						    																<ExternalKeys>
         						    					 										<Key name="name" type="string">ACCOUNT_FORMAT</Key>
         						    																</ExternalKeys>
			         					  									</CatalogFormat>
		         						</Command>
     						</Transaction>
     						<Transaction>
		         						<Command type="Query">
			         					  									<CatalogInputMap etype="Entity">
         						    																<ExternalKeys>
         						    					 										<Key name="name" type="string">ABC</Key>
         						    					 										<Key name="catalog" type="string">MC8</Key>
				         						    												</ExternalKeys>
			         					  												</CatalogInputMap>
		         						</Command>
     						</Transaction>
     							<Transaction>
		         								<Command type="Query">
			         					  												<OutputMap etype="Entity">
         						    																				<ExternalKeys>
         						    					 															<Key name="name" type="string">CUSTOM1</Key>
         						    					 															<Key name="catalog" type="string">MCA</Key>
         						    																				</ExternalKeys>
			         					  												</OutputMap>
		         								</Command>
     							</Transaction>
	     							<Transaction>
		         										<Command type="Query">
			         					  															<OutputMap etype="Entity">
				         						    																				<ExternalKeys>
         						    					 																				<Key name="name" type="string">CUSTOM2</Key>
         						    					 																				<Key name="catalog" type="string">MCA</Key>
         						    																								</ExternalKeys>
			         					  															</OutputMap>
				         								</Command>
     								</Transaction>
     									<Transaction>
				         										<Command type="Query">
						         					  															<OutputMap etype="Entity">
         						    																												<ExternalKeys>
         						    					 																									<Key name="name" type="string">HSB1</Key>
         						    					 																									<Key name="catalog" type="string">CATALOGX</Key>
         						    																												</ExternalKeys>
			         					  																		</OutputMap>
				         										</Command>
     									</Transaction>
     										<Transaction>
				         												<Command type="Query">
									         					  															<BusinessProcessRule etype="Entity">
         						    																																<ExternalKeys>
					         																														<Key name="name" type="string">Product Notification</Key>
				         						    																												</ExternalKeys>
						         					  																		</BusinessProcessRule>
				         												</Command>
	     									</Transaction>
	     										<Transaction>
				         														<Command type="Query">
						         					  																					<CatalogFormat etype="Entity">
				         						    																																<ExternalKeys>
								                <Key name="name" type="string">COUNTER_PARTY_PUBLISH_OUTPUT_FORMAT</Key>
				         						    																																</ExternalKeys>
						         					  																					</CatalogFormat>
				         														</Command>
	     										</Transaction>
		     										<Transaction>
				         																<Command type="Query">
				         																	<CatalogFormat etype="Entity">
				         						    																																				<ExternalKeys>
															         						    																						<Key name="name" type="string">EAN.UCC</Key>
															         						    																												<Key name="objectType" type="string">predefined</Key>
				         						    																																				</ExternalKeys>
							         														</CatalogFormat>
						         														</Command>
	     											</Transaction>
</DataService>