Reference for https://insync.ivendcloud.com:8642/iVendAPI/iVendAPI.svc/WebAPI/GetPurchaseOrderById/?id={ID}
Url: https://insync.ivendcloud.com:8642/iVendAPI/iVendAPI.svc/WebAPI/GetPurchaseOrderById/?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:
<PurchaseOrder 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> <StoreId>String content</StoreId> <VendorId>String content</VendorId> <DeliveryDate>1999-05-31T11:20:00</DeliveryDate> <DiscountType>None</DiscountType> <Discount>12678967.543233</Discount> <SubTotal>12678967.543233</SubTotal> <Tax>12678967.543233</Tax> <Total>12678967.543233</Total> <PurchaseOrderId>String content</PurchaseOrderId> <OrderStatus>Open</OrderStatus> <SurchargeTotal>12678967.543233</SurchargeTotal> <TaxableAmount>12678967.543233</TaxableAmount> <Comment>String content</Comment> <Vendor> <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> <CompanyName>String content</CompanyName> <IsActive>true</IsActive> <OnHold>true</OnHold> <PriceListId>String content</PriceListId> <Email>String content</Email> <WebPage>String content</WebPage> <IsTaxExempt>true</IsTaxExempt> <TaxNumber>String content</TaxNumber> <PurchaseTaxCodeId>String content</PurchaseTaxCodeId> <PhoneNumber>String content</PhoneNumber> <AlternatePhoneNumber>String content</AlternatePhoneNumber> <MobilePhone>String content</MobilePhone> <FaxNumber>String content</FaxNumber> <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> </Address> <ShippingAddresses> <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> </Address> <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> </Address> </ShippingAddresses> <BillingAddresses> <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> </Address> <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> </Address> </BillingAddresses> <TaxCompanyType>Company</TaxCompanyType> <VendorProductList> <VendorProductMapping> <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> <VendorId>String content</VendorId> <ProductId>String content</ProductId> <OperationType>Add</OperationType> </VendorProductMapping> <VendorProductMapping> <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> <VendorId>String content</VendorId> <ProductId>String content</ProductId> <OperationType>Add</OperationType> </VendorProductMapping> </VendorProductList> <IsMultiCurrency>true</IsMultiCurrency> <VendorGroupId>String content</VendorGroupId> <SubsidiaryIds>String content</SubsidiaryIds> <PrimaryContact> <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> </PrimaryContact> <CurrencyId>String content</CurrencyId> <VendorWarehouseItemDetails> <VendorWarehouseItem> <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> <VendorId>String content</VendorId> <SubsidiaryId>String content</SubsidiaryId> <PurchaseTaxCodeId>String content</PurchaseTaxCodeId> <PriceListId>String content</PriceListId> <IsTaxExempt>true</IsTaxExempt> <TaxNumber>String content</TaxNumber> <IsActive>true</IsActive> <OnHold>true</OnHold> </VendorWarehouseItem> <VendorWarehouseItem> <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> <VendorId>String content</VendorId> <SubsidiaryId>String content</SubsidiaryId> <PurchaseTaxCodeId>String content</PurchaseTaxCodeId> <PriceListId>String content</PriceListId> <IsTaxExempt>true</IsTaxExempt> <TaxNumber>String content</TaxNumber> <IsActive>true</IsActive> <OnHold>true</OnHold> </VendorWarehouseItem> </VendorWarehouseItemDetails> </Vendor> <PurchaseOrderDetails> <PurchaseOrderDetail> <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> <LineNumber>2147483647</LineNumber> <WarehouseId>String content</WarehouseId> <ProductId>String content</ProductId> <Description>String content</Description> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Price>12678967.543233</Price> <Quantity>12678967.543233</Quantity> <QuantityReceived>12678967.543233</QuantityReceived> <SubTotal>12678967.543233</SubTotal> <Tax>12678967.543233</Tax> <DiscountType>None</DiscountType> <Discount>12678967.543233</Discount> <Total>12678967.543233</Total> <OrderStatus>Open</OrderStatus> <Comment>String content</Comment> <ItemSurcharges> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> </ItemSurcharges> <UOMId>String content</UOMId> <UOMQuantity>12678967.543233</UOMQuantity> <UniqueLineNumber>String content</UniqueLineNumber> <ReasonCodeId>String content</ReasonCodeId> <ParentProductId>String content</ParentProductId> <VariantCode>String content</VariantCode> <DiscountPercentage>12678967.543233</DiscountPercentage> <UOMQuantityReceived>12678967.543233</UOMQuantityReceived> </PurchaseOrderDetail> <PurchaseOrderDetail> <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> <LineNumber>2147483647</LineNumber> <WarehouseId>String content</WarehouseId> <ProductId>String content</ProductId> <Description>String content</Description> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Price>12678967.543233</Price> <Quantity>12678967.543233</Quantity> <QuantityReceived>12678967.543233</QuantityReceived> <SubTotal>12678967.543233</SubTotal> <Tax>12678967.543233</Tax> <DiscountType>None</DiscountType> <Discount>12678967.543233</Discount> <Total>12678967.543233</Total> <OrderStatus>Open</OrderStatus> <Comment>String content</Comment> <ItemSurcharges> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> </ItemSurcharges> <UOMId>String content</UOMId> <UOMQuantity>12678967.543233</UOMQuantity> <UniqueLineNumber>String content</UniqueLineNumber> <ReasonCodeId>String content</ReasonCodeId> <ParentProductId>String content</ParentProductId> <VariantCode>String content</VariantCode> <DiscountPercentage>12678967.543233</DiscountPercentage> <UOMQuantityReceived>12678967.543233</UOMQuantityReceived> </PurchaseOrderDetail> </PurchaseOrderDetails> <PurchaseOrderSurcharges> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> <PurchaseOrderSurchargeDTO> <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> <Amount>12678967.543233</Amount> <AmountType>Amount</AmountType> <Comment>String content</Comment> <SubTotal>12678967.543233</SubTotal> <SurchargeId>String content</SurchargeId> <Tax>12678967.543233</Tax> <TaxCodeId>String content</TaxCodeId> <TaxRate>12678967.543233</TaxRate> <Total>12678967.543233</Total> </PurchaseOrderSurchargeDTO> </PurchaseOrderSurcharges> <ReasonCodeId>String content</ReasonCodeId> <DiscountPercentage>12678967.543233</DiscountPercentage> <DocumentCurrencyId>String content</DocumentCurrencyId> <ExchangeRate>12678967.543233</ExchangeRate> <DocumentUserId>String content</DocumentUserId> <Id>String content</Id> </PurchaseOrder>
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", "StoreId":"String content", "VendorId":"String content", "DeliveryDate":"\/Date(928149600000+0000)\/", "DiscountType":0, "Discount":12678967.543233, "SubTotal":12678967.543233, "Tax":12678967.543233, "Total":12678967.543233, "PurchaseOrderId":"String content", "OrderStatus":0, "SurchargeTotal":12678967.543233, "TaxableAmount":12678967.543233, "Comment":"String content", "Vendor":{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "Id":"String content", "CompanyName":"String content", "IsActive":true, "OnHold":true, "PriceListId":"String content", "Email":"String content", "WebPage":"String content", "IsTaxExempt":true, "TaxNumber":"String content", "PurchaseTaxCodeId":"String content", "PhoneNumber":"String content", "AlternatePhoneNumber":"String content", "MobilePhone":"String content", "FaxNumber":"String content", "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" }, "ShippingAddresses":[{ "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" }], "BillingAddresses":[{ "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" }], "TaxCompanyType":0, "VendorProductList":[{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "VendorId":"String content", "ProductId":"String content", "OperationType":0 }], "IsMultiCurrency":true, "VendorGroupId":"String content", "SubsidiaryIds":"String content", "PrimaryContact":{ "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(928149600000+0000)\/", "BirthCity":"String content", "CountryID":"String content" }, "CurrencyId":"String content", "VendorWarehouseItemDetails":[{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "VendorId":"String content", "SubsidiaryId":"String content", "PurchaseTaxCodeId":"String content", "PriceListId":"String content", "IsTaxExempt":true, "TaxNumber":"String content", "IsActive":true, "OnHold":true }] }, "PurchaseOrderDetails":[{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "LineNumber":2147483647, "WarehouseId":"String content", "ProductId":"String content", "Description":"String content", "TaxCodeId":"String content", "TaxRate":12678967.543233, "Price":12678967.543233, "Quantity":12678967.543233, "QuantityReceived":12678967.543233, "SubTotal":12678967.543233, "Tax":12678967.543233, "DiscountType":0, "Discount":12678967.543233, "Total":12678967.543233, "OrderStatus":0, "Comment":"String content", "ItemSurcharges":[{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "Amount":12678967.543233, "AmountType":0, "Comment":"String content", "SubTotal":12678967.543233, "SurchargeId":"String content", "Tax":12678967.543233, "TaxCodeId":"String content", "TaxRate":12678967.543233, "Total":12678967.543233 }], "UOMId":"String content", "UOMQuantity":12678967.543233, "UniqueLineNumber":"String content", "ReasonCodeId":"String content", "ParentProductId":"String content", "VariantCode":"String content", "DiscountPercentage":12678967.543233, "UOMQuantityReceived":12678967.543233 }], "PurchaseOrderSurcharges":[{ "Message":"String content", "GenerateIntegrationEvent":true, "EnterpriseName":"String content", "UserFieldsList":[{ "FieldName":"String content", "FieldValue":"String content", "FieldType":0 }], "Key":"String content", "Amount":12678967.543233, "AmountType":0, "Comment":"String content", "SubTotal":12678967.543233, "SurchargeId":"String content", "Tax":12678967.543233, "TaxCodeId":"String content", "TaxRate":12678967.543233, "Total":12678967.543233 }], "ReasonCodeId":"String content", "DiscountPercentage":12678967.543233, "DocumentCurrencyId":"String content", "ExchangeRate":12678967.543233, "DocumentUserId":"String content", "Id":"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.Platform.DomainObjects" /> <xs:import namespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Purchasing" /> <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:import namespace="http://schemas.datacontract.org/2004/07/CXS.Retail" /> <xs:complexType name="PurchaseOrder"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element name="StoreId" nillable="true" type="xs:string" /> <xs:element name="VendorId" nillable="true" type="xs:string" /> <xs:element name="DeliveryDate" type="xs:dateTime" /> <xs:element minOccurs="0" name="DiscountType" xmlns:q1="http://schemas.datacontract.org/2004/07/CXS.Platform.DomainObjects" type="q1:DiscountType" /> <xs:element minOccurs="0" name="Discount" type="xs:decimal" /> <xs:element minOccurs="0" name="SubTotal" type="xs:decimal" /> <xs:element minOccurs="0" name="Tax" type="xs:decimal" /> <xs:element minOccurs="0" name="Total" type="xs:decimal" /> <xs:element name="PurchaseOrderId" nillable="true" type="xs:string" /> <xs:element name="OrderStatus" xmlns:q2="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Purchasing" type="q2:OrderStatus" /> <xs:element minOccurs="0" name="SurchargeTotal" type="xs:decimal" /> <xs:element minOccurs="0" name="TaxableAmount" type="xs:decimal" /> <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Vendor" nillable="true" type="tns:Vendor" /> <xs:element minOccurs="0" name="PurchaseOrderDetails" nillable="true" type="tns:ArrayOfPurchaseOrderDetail" /> <xs:element minOccurs="0" name="PurchaseOrderSurcharges" nillable="true" type="tns:ArrayOfPurchaseOrderSurchargeDTO" /> <xs:element minOccurs="0" name="ReasonCodeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DiscountPercentage" type="xs:decimal" /> <xs:element minOccurs="0" name="DocumentCurrencyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ExchangeRate" type="xs:decimal" /> <xs:element name="DocumentUserId" nillable="true" type="xs:string" /> <xs:element name="Id" nillable="true" type="xs:string" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="PurchaseOrder" nillable="true" type="tns:PurchaseOrder" /> <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="Vendor"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element name="Id" nillable="true" type="xs:string" /> <xs:element name="CompanyName" nillable="true" type="xs:string" /> <xs:element name="IsActive" type="xs:boolean" /> <xs:element name="OnHold" type="xs:boolean" /> <xs:element minOccurs="0" name="PriceListId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="WebPage" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsTaxExempt" type="xs:boolean" /> <xs:element minOccurs="0" name="TaxNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PurchaseTaxCodeId" 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="MobilePhone" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="FaxNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Address" nillable="true" type="tns:Address" /> <xs:element minOccurs="0" name="ShippingAddresses" nillable="true" type="tns:ArrayOfAddress" /> <xs:element minOccurs="0" name="BillingAddresses" nillable="true" type="tns:ArrayOfAddress" /> <xs:element minOccurs="0" name="TaxCompanyType" xmlns:q4="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" type="q4:CompanyType" /> <xs:element minOccurs="0" name="VendorProductList" nillable="true" type="tns:ArrayOfVendorProductMapping" /> <xs:element minOccurs="0" name="IsMultiCurrency" type="xs:boolean" /> <xs:element name="VendorGroupId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SubsidiaryIds" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PrimaryContact" nillable="true" type="tns:Contact" /> <xs:element minOccurs="0" name="CurrencyId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="VendorWarehouseItemDetails" nillable="true" type="tns:ArrayOfVendorWarehouseItem" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="Vendor" nillable="true" type="tns:Vendor" /> <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:q5="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Core" type="q5: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:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="Address" nillable="true" type="tns:Address" /> <xs:complexType name="ArrayOfAddress"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="Address" nillable="true" type="tns:Address" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfAddress" nillable="true" type="tns:ArrayOfAddress" /> <xs:complexType name="ArrayOfVendorProductMapping"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="VendorProductMapping" nillable="true" type="tns:VendorProductMapping" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfVendorProductMapping" nillable="true" type="tns:ArrayOfVendorProductMapping" /> <xs:complexType name="VendorProductMapping"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element name="VendorId" nillable="true" type="xs:string" /> <xs:element name="ProductId" nillable="true" type="xs:string" /> <xs:element name="OperationType" xmlns:q6="http://schemas.datacontract.org/2004/07/CXS.Retail" type="q6:OperationType" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="VendorProductMapping" nillable="true" type="tns:VendorProductMapping" /> <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:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="Contact" nillable="true" type="tns:Contact" /> <xs:complexType name="ArrayOfVendorWarehouseItem"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="VendorWarehouseItem" nillable="true" type="tns:VendorWarehouseItem" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfVendorWarehouseItem" nillable="true" type="tns:ArrayOfVendorWarehouseItem" /> <xs:complexType name="VendorWarehouseItem"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element name="VendorId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SubsidiaryId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PurchaseTaxCodeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="PriceListId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsTaxExempt" type="xs:boolean" /> <xs:element minOccurs="0" name="TaxNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="IsActive" type="xs:boolean" /> <xs:element minOccurs="0" name="OnHold" type="xs:boolean" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="VendorWarehouseItem" nillable="true" type="tns:VendorWarehouseItem" /> <xs:complexType name="ArrayOfPurchaseOrderDetail"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PurchaseOrderDetail" nillable="true" type="tns:PurchaseOrderDetail" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfPurchaseOrderDetail" nillable="true" type="tns:ArrayOfPurchaseOrderDetail" /> <xs:complexType name="PurchaseOrderDetail"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element minOccurs="0" name="LineNumber" type="xs:int" /> <xs:element name="WarehouseId" nillable="true" type="xs:string" /> <xs:element name="ProductId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" /> <xs:element name="TaxCodeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TaxRate" type="xs:decimal" /> <xs:element name="Price" type="xs:decimal" /> <xs:element name="Quantity" type="xs:decimal" /> <xs:element minOccurs="0" name="QuantityReceived" type="xs:decimal" /> <xs:element minOccurs="0" name="SubTotal" type="xs:decimal" /> <xs:element minOccurs="0" name="Tax" type="xs:decimal" /> <xs:element minOccurs="0" name="DiscountType" xmlns:q7="http://schemas.datacontract.org/2004/07/CXS.Platform.DomainObjects" type="q7:DiscountType" /> <xs:element minOccurs="0" name="Discount" type="xs:decimal" /> <xs:element minOccurs="0" name="Total" type="xs:decimal" /> <xs:element name="OrderStatus" xmlns:q8="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Purchasing" type="q8:OrderStatus" /> <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ItemSurcharges" nillable="true" type="tns:ArrayOfPurchaseOrderSurchargeDTO" /> <xs:element minOccurs="0" name="UOMId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="UOMQuantity" type="xs:decimal" /> <xs:element minOccurs="0" name="UniqueLineNumber" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ReasonCodeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="ParentProductId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="VariantCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="DiscountPercentage" type="xs:decimal" /> <xs:element minOccurs="0" name="UOMQuantityReceived" type="xs:decimal" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="PurchaseOrderDetail" nillable="true" type="tns:PurchaseOrderDetail" /> <xs:complexType name="ArrayOfPurchaseOrderSurchargeDTO"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="PurchaseOrderSurchargeDTO" nillable="true" type="tns:PurchaseOrderSurchargeDTO" /> </xs:sequence> </xs:complexType> <xs:element name="ArrayOfPurchaseOrderSurchargeDTO" nillable="true" type="tns:ArrayOfPurchaseOrderSurchargeDTO" /> <xs:complexType name="PurchaseOrderSurchargeDTO"> <xs:complexContent mixed="false"> <xs:extension base="tns:BaseWrapper"> <xs:sequence> <xs:element name="Amount" type="xs:decimal" /> <xs:element name="AmountType" xmlns:q9="http://schemas.datacontract.org/2004/07/CXS.Platform.DomainObjects" type="q9:AmountType" /> <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="SubTotal" type="xs:decimal" /> <xs:element name="SurchargeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="Tax" type="xs:decimal" /> <xs:element minOccurs="0" name="TaxCodeId" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="TaxRate" type="xs:decimal" /> <xs:element minOccurs="0" name="Total" type="xs:decimal" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="PurchaseOrderSurchargeDTO" nillable="true" type="tns:PurchaseOrderSurchargeDTO" /> </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.Platform.DomainObjects" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.Platform.DomainObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="DiscountType"> <xs:restriction base="xs:string"> <xs:enumeration value="None" /> <xs:enumeration value="Amount" /> <xs:enumeration value="Percent" /> </xs:restriction> </xs:simpleType> <xs:element name="DiscountType" nillable="true" type="tns:DiscountType" /> <xs:simpleType name="AmountType"> <xs:restriction base="xs:string"> <xs:enumeration value="Amount" /> <xs:enumeration value="Percent" /> </xs:restriction> </xs:simpleType> <xs:element name="AmountType" nillable="true" type="tns:AmountType" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Purchasing" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.SubSystem.Purchasing" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="OrderStatus"> <xs:restriction base="xs:string"> <xs:enumeration value="Open" /> <xs:enumeration value="Closed" /> </xs:restriction> </xs:simpleType> <xs:element name="OrderStatus" nillable="true" type="tns:OrderStatus" /> </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:simpleType name="CompanyType"> <xs:restriction base="xs:string"> <xs:enumeration value="Company" /> <xs:enumeration value="Private" /> </xs:restriction> </xs:simpleType> <xs:element name="CompanyType" nillable="true" type="tns:CompanyType" /> </xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CXS.Retail" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CXS.Retail" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:simpleType name="OperationType"> <xs:restriction base="xs:string"> <xs:enumeration value="Add" /> <xs:enumeration value="Update" /> <xs:enumeration value="SoftDelete" /> <xs:enumeration value="HardDelete" /> </xs:restriction> </xs:simpleType> <xs:element name="OperationType" nillable="true" type="tns:OperationType" /> </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>