Reference for https://pos.me-retail.com/iVendAPI/iVendAPI.svc/WebAPI/GetWarehouse/?id={ID}

Url: https://pos.me-retail.com/iVendAPI/iVendAPI.svc/WebAPI/GetWarehouse/?id={ID}

HTTP Method: GET

This operation supports JSONP responses. The callback function can be specified using the "callback" Url query parameter.

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example,Schema
Response Json Example

The following is an example response Xml body:

<Warehouse xmlns="http://www.iVend.com/IIntegrationService/2010/12">
  <Message>String content</Message>
  <GenerateIntegrationEvent>true</GenerateIntegrationEvent>
  <EnterpriseName>String content</EnterpriseName>
  <UserFieldsList>
    <UserFields>
      <FieldName>String content</FieldName>
      <FieldValue>String content</FieldValue>
      <FieldType>String</FieldType>
    </UserFields>
    <UserFields>
      <FieldName>String content</FieldName>
      <FieldValue>String content</FieldValue>
      <FieldType>String</FieldType>
    </UserFields>
  </UserFieldsList>
  <Key>String content</Key>
  <Id>String content</Id>
  <Description>String content</Description>
  <BranchCode>String content</BranchCode>
  <OwnerShipType>CompanyOwnedCompanyOperated</OwnerShipType>
  <WarehouseType>General</WarehouseType>
  <Address>
    <Message>String content</Message>
    <GenerateIntegrationEvent>true</GenerateIntegrationEvent>
    <EnterpriseName>String content</EnterpriseName>
    <UserFieldsList>
      <UserFields>
        <FieldName>String content</FieldName>
        <FieldValue>String content</FieldValue>
        <FieldType>String</FieldType>
      </UserFields>
      <UserFields>
        <FieldName>String content</FieldName>
        <FieldValue>String content</FieldValue>
        <FieldType>String</FieldType>
      </UserFields>
    </UserFieldsList>
    <Key>String content</Key>
    <CountryKey>String content</CountryKey>
    <PurchaseTaxCodeKey>String content</PurchaseTaxCodeKey>
    <SalesTaxCodeKey>String content</SalesTaxCodeKey>
    <StateKey>String content</StateKey>
    <Address1>String content</Address1>
    <Address2>String content</Address2>
    <Address3>String content</Address3>
    <City>String content</City>
    <ZipCode>String content</ZipCode>
    <StateId>String content</StateId>
    <CountryId>String content</CountryId>
    <County>String content</County>
    <PhoneNumber>String content</PhoneNumber>
    <AlternatePhoneNumber>String content</AlternatePhoneNumber>
    <FaxNumber>String content</FaxNumber>
    <SalesTaxCodeId>String content</SalesTaxCodeId>
    <PurchaseTaxCodeId>String content</PurchaseTaxCodeId>
    <AddressType>None</AddressType>
    <IsDefault>true</IsDefault>
    <StreetNo>String content</StreetNo>
    <Building>String content</Building>
    <GlobalLocationNumber>String content</GlobalLocationNumber>
    <ToDelete>true</ToDelete>
    <Contact>
      <Message>String content</Message>
      <GenerateIntegrationEvent>true</GenerateIntegrationEvent>
      <EnterpriseName>String content</EnterpriseName>
      <UserFieldsList>
        <UserFields>
          <FieldName>String content</FieldName>
          <FieldValue>String content</FieldValue>
          <FieldType>String</FieldType>
        </UserFields>
        <UserFields>
          <FieldName>String content</FieldName>
          <FieldValue>String content</FieldValue>
          <FieldType>String</FieldType>
        </UserFields>
      </UserFieldsList>
      <Key>String content</Key>
      <ContactKey>String content</ContactKey>
      <CountryKey>String content</CountryKey>
      <SalesTaxCodeKey>String content</SalesTaxCodeKey>
      <FirstName>String content</FirstName>
      <MiddleName>String content</MiddleName>
      <LastName>String content</LastName>
      <Title>String content</Title>
      <Salutation>String content</Salutation>
      <NickName>String content</NickName>
      <Phone1>String content</Phone1>
      <Phone2>String content</Phone2>
      <MobilePhone>String content</MobilePhone>
      <Fax>String content</Fax>
      <Email>String content</Email>
      <Pager>String content</Pager>
      <Comment1>String content</Comment1>
      <Comment2>String content</Comment2>
      <CanPayOnAccount>true</CanPayOnAccount>
      <CanRent>true</CanRent>
      <CanPayWithCredit>true</CanPayWithCredit>
      <SalesTaxCodeId>String content</SalesTaxCodeId>
      <ContactDiscount>12678967.543233</ContactDiscount>
      <IsDefault>true</IsDefault>
      <Gender>String content</Gender>
      <Profession>String content</Profession>
      <BirthDate>1999-05-31T11:20:00</BirthDate>
      <BirthCity>String content</BirthCity>
      <CountryID>String content</CountryID>
      <ToDelete>true</ToDelete>
    </Contact>
  </Address>
  <SalesTaxCodeId>String content</SalesTaxCodeId>
  <PurchaseTaxCodeId>String content</PurchaseTaxCodeId>
  <InTransitWarehouseId>String content</InTransitWarehouseId>
  <PriceListId>String content</PriceListId>
  <IsLocationEnabled>true</IsLocationEnabled>
  <DefaultLocationId>String content</DefaultLocationId>
  <DefaultSalesLocationId>String content</DefaultSalesLocationId>
  <DefaultRefundLocationId>String content</DefaultRefundLocationId>
  <DefaultFulfilmentLocationId>String content</DefaultFulfilmentLocationId>
  <DefaultGoodsReceiveLocationId>String content</DefaultGoodsReceiveLocationId>
  <DefaultStockTransferLocationId>String content</DefaultStockTransferLocationId>
  <DefaultGoodsIssueLocationId>String content</DefaultGoodsIssueLocationId>
  <DefaultGoodsReturnLocationId>String content</DefaultGoodsReturnLocationId>
  <SubsidiaryId>String content</SubsidiaryId>
  <UseDefaultLocation>true</UseDefaultLocation>
  <AllowNegativeInventory>true</AllowNegativeInventory>
  <IsAllProductLock>true</IsAllProductLock>
  <SalesTaxCodeKey>String content</SalesTaxCodeKey>
  <PurchaseTaxCodeKey>String content</PurchaseTaxCodeKey>
  <PriceListKey>String content</PriceListKey>
  <InTransitWarehouseKey>String content</InTransitWarehouseKey>
  <DefaultLocationKey>String content</DefaultLocationKey>
  <DefaultSalesLocationKey>String content</DefaultSalesLocationKey>
  <DefaultRefundLocationKey>String content</DefaultRefundLocationKey>
  <DefaultFulfilmentLocationKey>String content</DefaultFulfilmentLocationKey>
  <DefaultGoodsReceiveLocationKey>String content</DefaultGoodsReceiveLocationKey>
  <DefaultStockTransferLocationKey>String content</DefaultStockTransferLocationKey>
  <DefaultGoodsIssueLocationKey>String content</DefaultGoodsIssueLocationKey>
  <DefaultGoodsReturnLocationKey>String content</DefaultGoodsReturnLocationKey>
  <SubsidiaryKey>String content</SubsidiaryKey>
  <AddressKey>String content</AddressKey>
</Warehouse>

The following is an example response Json body:

{
	"Message":"String content",
	"GenerateIntegrationEvent":true,
	"EnterpriseName":"String content",
	"UserFieldsList":[{
		"FieldName":"String content",
		"FieldValue":"String content",
		"FieldType":0
	}],
	"Key":"String content",
	"Id":"String content",
	"Description":"String content",
	"BranchCode":"String content",
	"OwnerShipType":0,
	"WarehouseType":0,
	"Address":{
		"Message":"String content",
		"GenerateIntegrationEvent":true,
		"EnterpriseName":"String content",
		"UserFieldsList":[{
			"FieldName":"String content",
			"FieldValue":"String content",
			"FieldType":0
		}],
		"Key":"String content",
		"CountryKey":"String content",
		"PurchaseTaxCodeKey":"String content",
		"SalesTaxCodeKey":"String content",
		"StateKey":"String content",
		"Address1":"String content",
		"Address2":"String content",
		"Address3":"String content",
		"City":"String content",
		"ZipCode":"String content",
		"StateId":"String content",
		"CountryId":"String content",
		"County":"String content",
		"PhoneNumber":"String content",
		"AlternatePhoneNumber":"String content",
		"FaxNumber":"String content",
		"SalesTaxCodeId":"String content",
		"PurchaseTaxCodeId":"String content",
		"AddressType":0,
		"IsDefault":true,
		"StreetNo":"String content",
		"Building":"String content",
		"GlobalLocationNumber":"String content",
		"ToDelete":true,
		"Contact":{
			"Message":"String content",
			"GenerateIntegrationEvent":true,
			"EnterpriseName":"String content",
			"UserFieldsList":[{
				"FieldName":"String content",
				"FieldValue":"String content",
				"FieldType":0
			}],
			"Key":"String content",
			"ContactKey":"String content",
			"CountryKey":"String content",
			"SalesTaxCodeKey":"String content",
			"FirstName":"String content",
			"MiddleName":"String content",
			"LastName":"String content",
			"Title":"String content",
			"Salutation":"String content",
			"NickName":"String content",
			"Phone1":"String content",
			"Phone2":"String content",
			"MobilePhone":"String content",
			"Fax":"String content",
			"Email":"String content",
			"Pager":"String content",
			"Comment1":"String content",
			"Comment2":"String content",
			"CanPayOnAccount":true,
			"CanRent":true,
			"CanPayWithCredit":true,
			"SalesTaxCodeId":"String content",
			"ContactDiscount":12678967.543233,
			"IsDefault":true,
			"Gender":"String content",
			"Profession":"String content",
			"BirthDate":"\/Date(928138800000+0300)\/",
			"BirthCity":"String content",
			"CountryID":"String content",
			"ToDelete":true
		}
	},
	"SalesTaxCodeId":"String content",
	"PurchaseTaxCodeId":"String content",
	"InTransitWarehouseId":"String content",
	"PriceListId":"String content",
	"IsLocationEnabled":true,
	"DefaultLocationId":"String content",
	"DefaultSalesLocationId":"String content",
	"DefaultRefundLocationId":"String content",
	"DefaultFulfilmentLocationId":"String content",
	"DefaultGoodsReceiveLocationId":"String content",
	"DefaultStockTransferLocationId":"String content",
	"DefaultGoodsIssueLocationId":"String content",
	"DefaultGoodsReturnLocationId":"String content",
	"SubsidiaryId":"String content",
	"UseDefaultLocation":true,
	"AllowNegativeInventory":true,
	"IsAllProductLock":true,
	"SalesTaxCodeKey":"String content",
	"PurchaseTaxCodeKey":"String content",
	"PriceListKey":"String content",
	"InTransitWarehouseKey":"String content",
	"DefaultLocationKey":"String content",
	"DefaultSalesLocationKey":"String content",
	"DefaultRefundLocationKey":"String content",
	"DefaultFulfilmentLocationKey":"String content",
	"DefaultGoodsReceiveLocationKey":"String content",
	"DefaultStockTransferLocationKey":"String content",
	"DefaultGoodsIssueLocationKey":"String content",
	"DefaultGoodsReturnLocationKey":"String content",
	"SubsidiaryKey":"String content",
	"AddressKey":"String content"
}

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://www.iVend.com/IIntegrationService/2010/12" elementFormDefault="qualified" targetNamespace="http://www.iVend.com/IIntegrationService/2010/12" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Security" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Inventory" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CXS.Framework.Core" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" />
  <xs:complexType name="Warehouse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseWrapper">
        <xs:sequence>
          <xs:element name="Id" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element name="BranchCode" nillable="true" type="xs:string" />
          <xs:element name="OwnerShipType" xmlns:q1="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Security" type="q1:StoreOwnerShipType" />
          <xs:element name="WarehouseType" xmlns:q2="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Inventory" type="q2:WarehouseType" />
          <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" />
          <xs:element minOccurs="0" name="SalesTaxCodeId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PurchaseTaxCodeId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="InTransitWarehouseId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PriceListId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsLocationEnabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="DefaultLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultSalesLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultRefundLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultFulfilmentLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsReceiveLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultStockTransferLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsIssueLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsReturnLocationId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SubsidiaryId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UseDefaultLocation" type="xs:boolean" />
          <xs:element minOccurs="0" name="AllowNegativeInventory" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsAllProductLock" type="xs:boolean" />
          <xs:element minOccurs="0" name="SalesTaxCodeKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PurchaseTaxCodeKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PriceListKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="InTransitWarehouseKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultSalesLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultRefundLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultFulfilmentLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsReceiveLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultStockTransferLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsIssueLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DefaultGoodsReturnLocationKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SubsidiaryKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AddressKey" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Warehouse" nillable="true" type="tns:Warehouse" />
  <xs:complexType name="BaseWrapper">
    <xs:sequence>
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GenerateIntegrationEvent" type="xs:boolean" />
      <xs:element minOccurs="0" name="EnterpriseName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserFieldsList" nillable="true" type="tns:ArrayOfUserFields" />
      <xs:element minOccurs="0" name="Key" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseWrapper" nillable="true" type="tns:BaseWrapper" />
  <xs:complexType name="ArrayOfUserFields">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="UserFields" nillable="true" type="tns:UserFields" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUserFields" nillable="true" type="tns:ArrayOfUserFields" />
  <xs:complexType name="UserFields">
    <xs:sequence>
      <xs:element name="FieldName" nillable="true" type="xs:string" />
      <xs:element name="FieldValue" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FieldType" xmlns:q3="http://schemas.datacontract.org/2004/07/CXS.Framework.Core" type="q3:UserDefinedFieldDataType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserFields" nillable="true" type="tns:UserFields" />
  <xs:complexType name="Address">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseWrapper">
        <xs:sequence>
          <xs:element minOccurs="0" name="CountryKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PurchaseTaxCodeKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SalesTaxCodeKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StateKey" nillable="true" type="xs:string" />
          <xs:element name="Address1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Address3" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="StateId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CountryId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="County" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AlternatePhoneNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FaxNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SalesTaxCodeId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PurchaseTaxCodeId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AddressType" xmlns:q4="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" type="q4:AddressType" />
          <xs:element minOccurs="0" name="IsDefault" type="xs:boolean" />
          <xs:element minOccurs="0" name="StreetNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Building" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GlobalLocationNumber" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ToDelete" type="xs:boolean" />
          <xs:element minOccurs="0" name="Contact" nillable="true" type="tns:Contact" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Address" nillable="true" type="tns:Address" />
  <xs:complexType name="Contact">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseWrapper">
        <xs:sequence>
          <xs:element minOccurs="0" name="ContactKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CountryKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SalesTaxCodeKey" nillable="true" type="xs:string" />
          <xs:element name="FirstName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MiddleName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Salutation" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NickName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phone1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phone2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MobilePhone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Pager" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Comment1" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Comment2" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CanPayOnAccount" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanRent" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanPayWithCredit" type="xs:boolean" />
          <xs:element minOccurs="0" name="SalesTaxCodeId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ContactDiscount" type="xs:decimal" />
          <xs:element minOccurs="0" name="IsDefault" type="xs:boolean" />
          <xs:element minOccurs="0" name="Gender" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Profession" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="BirthDate" nillable="true" type="xs:dateTime" />
          <xs:element minOccurs="0" name="BirthCity" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CountryID" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ToDelete" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Contact" nillable="true" type="tns:Contact" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.Framework.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.Framework.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:simpleType name="UserDefinedFieldDataType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="String">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Int32">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Currency">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Decimal">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="DateTime">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="ValidValues">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Int64">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Boolean">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Image">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">11</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="UserDefinedFieldDataType" nillable="true" type="tns:UserDefinedFieldDataType" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Security" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Security" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="StoreOwnerShipType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="CompanyOwnedCompanyOperated" />
      <xs:enumeration value="CompanyOwnedDistributorOperated" />
      <xs:enumeration value="DistributorOwnedDistributorOperated" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="StoreOwnerShipType" nillable="true" type="tns:StoreOwnerShipType" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Inventory" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Inventory" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="WarehouseType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="General" />
      <xs:enumeration value="Retail" />
      <xs:enumeration value="InTransit" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="WarehouseType" nillable="true" type="tns:WarehouseType" />
</xs:schema>

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:simpleType name="AddressType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="None" />
      <xs:enumeration value="BillingAddress" />
      <xs:enumeration value="ShippingAddress" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="AddressType" nillable="true" type="tns:AddressType" />
</xs:schema>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>