<?xml version="1.0" encoding="UTF-8"?>

<!--
 =================================================================
  Licensed Materials - Property of IBM

  WebSphere Commerce

  (C) Copyright IBM Corp. 2011 All Rights Reserved.

  US Government Users Restricted Rights - Use, duplication or
  disclosure restricted by GSA ADP Schedule Contract with
  IBM Corp.
 =================================================================
-->

<_config:URLtoOAGIS
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.ibm.com/xmlns/prod/commerce/foundation/config ../xsd/url-to-oagis.xsd " xmlns:_config="http://www.ibm.com/xmlns/prod/commerce/foundation/config">
	
	<_config:NounDefinitions>	
		<_config:Noun name="InventoryAvailability"/>
	</_config:NounDefinitions>
	
	<_config:URLDefinitions>
	
		<_config:URLParameterGroup name="inventoryavailability" noun="InventoryAvailability">
			<_config:URLParameter name="productId" nounElement="/InventoryAvailabilityIdentifier/ExternalIdentifier/CatalogEntryIdentifier/UniqueID" key="true" return="true" />
			<_config:URLParameter name="onlineStoreId" nounElement="/InventoryAvailabilityIdentifier/ExternalIdentifier/OnlineStoreIdentifier/UniqueID" key="false" return="true" />
			<_config:URLParameter name="physicalStoreId" nounElement="/InventoryAvailabilityIdentifier/ExternalIdentifier/PhysicalStoreIdentifier/UniqueID" key="false" return="true" />
			<_config:URLParameter name="onlineStoreName" nounElement="/InventoryAvailabilityIdentifier/ExternalIdentifier/OnlineStoreIdentifier/ExternalIdentifier/NameIdentifier" key="false" return="true" />
			<_config:URLParameter name="physicalStoreName" nounElement="/InventoryAvailabilityIdentifier/ExternalIdentifier/PhysicalStoreIdentifier/ExternalIdentifier" key="false" return="true" />
			<_config:URLParameter name="inventoryStatus" nounElement="/InventoryStatus" key="false" return="true" />
			<_config:URLParameter name="availableQuantity" nounElement="/AvailableQuantity/value" key="false" return="true" />
			<_config:URLParameter name="unitOfMeasure" nounElement="/AvailableQuantity/@uom" key="false" return="true" />

			<!--  UserData section -->
			<_config:URLParameter name="x_" nounElement="/UserData/UserDataField" key="false" return="true" type="UserData" />
		</_config:URLParameterGroup>


	</_config:URLDefinitions>

</_config:URLtoOAGIS>

