Megaventory API v2017a

<back to all web services

InventoryLocationStockGet

Gets information about stock on existing inventory locations.Uses your API Key and some Filters in an array format and returns the search results using the given filters. Optionally, you can use ReturnTopNRecords to limit the number of the results to the specified number (omit, or add ReturnTopNRecords = -1 to get all the available results). The ReturnTopNRecords chooses the top records in a ProductId descending order.

Examples:



We can add more than two Filters by using the Group ("StartGroup" and "EndGroup" are used to group parts of the filter expression and create a priority sequence for the filter expression. For example: XYZ (SQL) is the equivalent of XYZ (MV API)) and then an AndOr operator as shown below:

A.

Return the first 3 out of all inventory location stocks of products with ID equal to 51 or 53, whose description contains the word "NBA". The results will be returned as an mvProductStockList object which is an Array of mvStocks objects.

Value:

 {
   "Filters": [
      {
         "Group": "StartGroup",
         "FieldName": "productid",
         "SearchOperator": "Equals",
         "SearchValue": "54"
      },
      {
         "AndOr": "Or",
         "Group": "EndGroup",
         "FieldName": "productid",
         "SearchOperator": "Equals",
         "SearchValue": "51"
      },
      {
         "AndOr": "And",
         "FieldName": "productdescription",
         "SearchOperator": "Contains",
         "SearchValue": "NBA"
      }
   ],
   "showDeleted": "showAllDeletedAndUndeleted",
   "ReturnTopNRecords": "3"
}

Response:

 {
   "mvProductStockList": [
      {
         "productID": 51,
         "mvStock": [
            {
               "InventoryLocationID": 4,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176817-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176817-0000)/"
            },
            {
               "InventoryLocationID": 5,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176817-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176817-0000)/"
            },
            {
               "InventoryLocationID": 6,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176817-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176817-0000)/"
            },
            {
               "InventoryLocationID": 7,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176817-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176817-0000)/"
            },
            {
               "InventoryLocationID": 8,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1505221877037-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1505221877037-0000)/"
            }
         ],
         "StockPhysicalTotal": 0,
         "StockOnHoldTotal": 0,
         "StockNonShippedTotal": 0,
         "StockNonAllocatedWOsTotal": 0,
         "StockNonReceivedPOsTotal": 0,
         "StockNonReceivedWOsTotal": 0,
         "StockOnHandTotal": 0,
         "StockAlertLevelTotal": 0
      },
      {
         "productID": 54,
         "mvStock": [
            {
               "InventoryLocationID": 4,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176863-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176863-0000)/"
            },
            {
               "InventoryLocationID": 5,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176863-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176863-0000)/"
            },
            {
               "InventoryLocationID": 6,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176863-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176863-0000)/"
            },
            {
               "InventoryLocationID": 7,
               "StockPhysical": 0,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 0,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1504777176897-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1504777176897-0000)/"
            },
            {
               "InventoryLocationID": 8,
               "StockPhysical": 1,
               "StockOnHold": 0,
               "StockNonShipped": 0,
               "StockNonAllocatedWOs": 0,
               "StockNonReceivedPOs": 0,
               "StockNonReceivedWOs": 0,
               "StockOnHand": 1,
               "StockAlertLevel": 0,
               "SubLocation": "",
               "InventoryLocationStockCreationDate": "/Date(1505221877050-0000)/",
               "InventoryLocationStockLastUpdatedDate": "/Date(1505728795243-0000)/"
            }
         ],
         "StockPhysicalTotal": 1,
         "StockOnHoldTotal": 0,
         "StockNonShippedTotal": 0,
         "StockNonAllocatedWOsTotal": 0,
         "StockNonReceivedPOsTotal": 0,
         "StockNonReceivedWOsTotal": 0,
         "StockOnHandTotal": 1,
         "StockAlertLevelTotal": 0
      }
   ],
   "ResponseStatus": {
      "ErrorCode": "0"
   }
}

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: api.megaventory.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: InventoryLocationStockGet

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<InventoryLocationStockGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints.Operations">
  <Filters xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints">
    <Filter>
      <AndOr>And</AndOr>
      <FieldName>String</FieldName>
      <Group>Undefined</Group>
      <SearchOperator>Undefined</SearchOperator>
      <SearchValue>String</SearchValue>
    </Filter>
  </Filters>
  <ReturnTopNRecords xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints">0</ReturnTopNRecords>
  <APIKEY>String</APIKEY>
  <ProductID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </ProductID>
  <ProductSKU>String</ProductSKU>
  <ProductCategoryID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </ProductCategoryID>
  <InventoryLocationID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </InventoryLocationID>
  <ProductMainSupplierID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </ProductMainSupplierID>
  <includeReferencedObjects>false</includeReferencedObjects>
  <ShowOnlyProductsWithPositiveQty>false</ShowOnlyProductsWithPositiveQty>
  <ShowOnlyProductsThanNeedToBeOrdered>false</ShowOnlyProductsThanNeedToBeOrdered>
  <showDeleted>showOnlyUndeleted</showDeleted>
</InventoryLocationStockGet>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<InventoryLocationStockGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints.Operations">
  <mvProductStockList xmlns:d2p1="https://api.megaventory.com/types">
    <d2p1:mvProductStock>
      <d2p1:productID>0</d2p1:productID>
      <d2p1:mvProduct>
        <d2p1:ProductID>0</d2p1:ProductID>
        <d2p1:ProductType>BuyFromSupplier</d2p1:ProductType>
        <d2p1:ProductSKU>String</d2p1:ProductSKU>
        <d2p1:ProductEAN>String</d2p1:ProductEAN>
        <d2p1:ProductDescription>String</d2p1:ProductDescription>
        <d2p1:ProductVersion>String</d2p1:ProductVersion>
        <d2p1:ProductLongDescription>String</d2p1:ProductLongDescription>
        <d2p1:ProductCategoryID>0</d2p1:ProductCategoryID>
        <d2p1:mvProductCategory>
          <d2p1:ProductCategoryID>0</d2p1:ProductCategoryID>
          <d2p1:ProductCategoryName>String</d2p1:ProductCategoryName>
          <d2p1:ProductCategoryDescription>String</d2p1:ProductCategoryDescription>
        </d2p1:mvProductCategory>
        <d2p1:ProductUnitOfMeasurement>String</d2p1:ProductUnitOfMeasurement>
        <d2p1:ProductSellingPrice>0</d2p1:ProductSellingPrice>
        <d2p1:ProductPurchasePrice>0</d2p1:ProductPurchasePrice>
        <d2p1:ProductUnitCost xmlns:d5p1="http://schemas.datacontract.org/2004/07/Megaventory.Models.DTOs.MvProducts">
          <d5p1:mvProductUnitCostPerCompany i:nil="true" />
        </d2p1:ProductUnitCost>
        <d2p1:ProductWeight>0</d2p1:ProductWeight>
        <d2p1:ProductWeightUnitID>0</d2p1:ProductWeightUnitID>
        <d2p1:mvProductWeightUnit>
          <d2p1:WeightUnitID>0</d2p1:WeightUnitID>
          <d2p1:WeightUnitAbbrev>String</d2p1:WeightUnitAbbrev>
          <d2p1:WeightUnitName>String</d2p1:WeightUnitName>
          <d2p1:WeightUnitConversionToGrams>0</d2p1:WeightUnitConversionToGrams>
        </d2p1:mvProductWeightUnit>
        <d2p1:ProductLength>0</d2p1:ProductLength>
        <d2p1:ProductBreadth>0</d2p1:ProductBreadth>
        <d2p1:ProductHeight>0</d2p1:ProductHeight>
        <d2p1:ProductImageURL>String</d2p1:ProductImageURL>
        <d2p1:ProductComments>String</d2p1:ProductComments>
        <d2p1:ProductCustomField1>String</d2p1:ProductCustomField1>
        <d2p1:ProductCustomField2>String</d2p1:ProductCustomField2>
        <d2p1:ProductCustomField3>String</d2p1:ProductCustomField3>
        <d2p1:ProductCustomField4>String</d2p1:ProductCustomField4>
        <d2p1:ProductCustomField5>String</d2p1:ProductCustomField5>
        <d2p1:ProductCustomField6>String</d2p1:ProductCustomField6>
        <d2p1:ProductCustomField7>String</d2p1:ProductCustomField7>
        <d2p1:ProductCustomField8>String</d2p1:ProductCustomField8>
        <d2p1:ProductCustomField9>String</d2p1:ProductCustomField9>
        <d2p1:ProductCustomField10>String</d2p1:ProductCustomField10>
        <d2p1:ProductCustomField11>String</d2p1:ProductCustomField11>
        <d2p1:ProductCustomField12>String</d2p1:ProductCustomField12>
        <d2p1:ProductCustomField13>String</d2p1:ProductCustomField13>
        <d2p1:ProductCustomField14>String</d2p1:ProductCustomField14>
        <d2p1:ProductCustomField15>String</d2p1:ProductCustomField15>
        <d2p1:ProductCustomField16>String</d2p1:ProductCustomField16>
        <d2p1:ProductCustomField17>String</d2p1:ProductCustomField17>
        <d2p1:ProductCustomField18>String</d2p1:ProductCustomField18>
        <d2p1:ProductCustomField19>String</d2p1:ProductCustomField19>
        <d2p1:ProductCustomField20>String</d2p1:ProductCustomField20>
        <d2p1:ProductMainSupplierID>0</d2p1:ProductMainSupplierID>
        <d2p1:mvProductMainSupplier>
          <d2p1:SupplierClientID>0</d2p1:SupplierClientID>
          <d2p1:SupplierClientType>Both</d2p1:SupplierClientType>
          <d2p1:SupplierClientName>String</d2p1:SupplierClientName>
          <d2p1:SupplierClientBillingAddress>String</d2p1:SupplierClientBillingAddress>
          <d2p1:SupplierClientShippingAddress1>String</d2p1:SupplierClientShippingAddress1>
          <d2p1:SupplierClientShippingAddress2>String</d2p1:SupplierClientShippingAddress2>
          <d2p1:SupplierClientAddresses>
            <d2p1:mvAddress>
              <d2p1:AddressType>General</d2p1:AddressType>
              <d2p1:AddressLine1>String</d2p1:AddressLine1>
              <d2p1:AddressLine2>String</d2p1:AddressLine2>
              <d2p1:AddressLine3>String</d2p1:AddressLine3>
              <d2p1:Name>String</d2p1:Name>
              <d2p1:Phone>String</d2p1:Phone>
              <d2p1:Email>String</d2p1:Email>
              <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
              <d2p1:Organization>String</d2p1:Organization>
              <d2p1:City>String</d2p1:City>
              <d2p1:State>String</d2p1:State>
              <d2p1:Country>NONE</d2p1:Country>
              <d2p1:CountryName>String</d2p1:CountryName>
              <d2p1:Longitude>String</d2p1:Longitude>
              <d2p1:Latitude>String</d2p1:Latitude>
              <d2p1:ZipCode>String</d2p1:ZipCode>
            </d2p1:mvAddress>
          </d2p1:SupplierClientAddresses>
          <d2p1:SupplierClientPhone1>String</d2p1:SupplierClientPhone1>
          <d2p1:SupplierClientPhone2>String</d2p1:SupplierClientPhone2>
          <d2p1:SupplierClientFax>String</d2p1:SupplierClientFax>
          <d2p1:SupplierClientIM>String</d2p1:SupplierClientIM>
          <d2p1:SupplierClientEmail>String</d2p1:SupplierClientEmail>
          <d2p1:SupplierClientCurrency>String</d2p1:SupplierClientCurrency>
          <d2p1:SupplierClientPaymentTermsEnum>None</d2p1:SupplierClientPaymentTermsEnum>
          <d2p1:SupplierClientPaymentMethodEnum>None</d2p1:SupplierClientPaymentMethodEnum>
          <d2p1:SupplierClientComments>String</d2p1:SupplierClientComments>
          <d2p1:SupplierClientCustomField1>String</d2p1:SupplierClientCustomField1>
          <d2p1:SupplierClientCustomField2>String</d2p1:SupplierClientCustomField2>
          <d2p1:SupplierClientCustomField3>String</d2p1:SupplierClientCustomField3>
          <d2p1:SupplierClientCustomField4>String</d2p1:SupplierClientCustomField4>
          <d2p1:SupplierClientCustomField5>String</d2p1:SupplierClientCustomField5>
          <d2p1:SupplierClientCustomField6>String</d2p1:SupplierClientCustomField6>
          <d2p1:SupplierClientCustomField7>String</d2p1:SupplierClientCustomField7>
          <d2p1:SupplierClientCustomField8>String</d2p1:SupplierClientCustomField8>
          <d2p1:SupplierClientCustomField9>String</d2p1:SupplierClientCustomField9>
          <d2p1:SupplierClientCustomField10>String</d2p1:SupplierClientCustomField10>
          <d2p1:SupplierClientOption1>false</d2p1:SupplierClientOption1>
          <d2p1:SupplierClientOption2>false</d2p1:SupplierClientOption2>
          <d2p1:SupplierClientOption3>false</d2p1:SupplierClientOption3>
          <d2p1:SupplierClientOption4>false</d2p1:SupplierClientOption4>
          <d2p1:SupplierClientOption5>false</d2p1:SupplierClientOption5>
          <d2p1:SupplierClientOption6>false</d2p1:SupplierClientOption6>
          <d2p1:SupplierClientOption7>false</d2p1:SupplierClientOption7>
          <d2p1:SupplierClientOption8>false</d2p1:SupplierClientOption8>
          <d2p1:SupplierClientOption9>false</d2p1:SupplierClientOption9>
          <d2p1:SupplierClientOption10>false</d2p1:SupplierClientOption10>
          <d2p1:SupplierClientCreationDate>0001-01-01T00:00:00</d2p1:SupplierClientCreationDate>
          <d2p1:mvContacts>
            <d2p1:mvContactPerson>
              <d2p1:ContactId>0</d2p1:ContactId>
              <d2p1:ContactName>String</d2p1:ContactName>
              <d2p1:ContactDepartment>String</d2p1:ContactDepartment>
              <d2p1:ContactAddress>String</d2p1:ContactAddress>
              <d2p1:ContactFullAddress>
                <d2p1:AddressType>General</d2p1:AddressType>
                <d2p1:AddressLine1>String</d2p1:AddressLine1>
                <d2p1:AddressLine2>String</d2p1:AddressLine2>
                <d2p1:AddressLine3>String</d2p1:AddressLine3>
                <d2p1:Name>String</d2p1:Name>
                <d2p1:Phone>String</d2p1:Phone>
                <d2p1:Email>String</d2p1:Email>
                <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
                <d2p1:Organization>String</d2p1:Organization>
                <d2p1:City>String</d2p1:City>
                <d2p1:State>String</d2p1:State>
                <d2p1:Country>NONE</d2p1:Country>
                <d2p1:CountryName>String</d2p1:CountryName>
                <d2p1:Longitude>String</d2p1:Longitude>
                <d2p1:Latitude>String</d2p1:Latitude>
                <d2p1:ZipCode>String</d2p1:ZipCode>
              </d2p1:ContactFullAddress>
              <d2p1:ContactEmail>String</d2p1:ContactEmail>
              <d2p1:ContactPhone1>String</d2p1:ContactPhone1>
              <d2p1:ContactPhone2>String</d2p1:ContactPhone2>
              <d2p1:ContactFax>String</d2p1:ContactFax>
              <d2p1:ContactIM>String</d2p1:ContactIM>
              <d2p1:ContactCustomField1>String</d2p1:ContactCustomField1>
              <d2p1:ContactCustomField2>String</d2p1:ContactCustomField2>
              <d2p1:ContactIsPrimary>false</d2p1:ContactIsPrimary>
              <d2p1:mvSuppliersClients>
                <d2p1:mvSupplierClient>
                  <d2p1:SupplierClientID>0</d2p1:SupplierClientID>
                  <d2p1:SupplierClientType>Both</d2p1:SupplierClientType>
                  <d2p1:SupplierClientName>String</d2p1:SupplierClientName>
                  <d2p1:SupplierClientBillingAddress>String</d2p1:SupplierClientBillingAddress>
                  <d2p1:SupplierClientShippingAddress1>String</d2p1:SupplierClientShippingAddress1>
                  <d2p1:SupplierClientShippingAddress2>String</d2p1:SupplierClientShippingAddress2>
                  <d2p1:SupplierClientAddresses>
                    <d2p1:mvAddress>
                      <d2p1:AddressType>General</d2p1:AddressType>
                      <d2p1:AddressLine1>String</d2p1:AddressLine1>
                      <d2p1:AddressLine2>String</d2p1:AddressLine2>
                      <d2p1:AddressLine3>String</d2p1:AddressLine3>
                      <d2p1:Name>String</d2p1:Name>
                      <d2p1:Phone>String</d2p1:Phone>
                      <d2p1:Email>String</d2p1:Email>
                      <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
                      <d2p1:Organization>String</d2p1:Organization>
                      <d2p1:City>String</d2p1:City>
                      <d2p1:State>String</d2p1:State>
                      <d2p1:Country>NONE</d2p1:Country>
                      <d2p1:CountryName>String</d2p1:CountryName>
                      <d2p1:Longitude>String</d2p1:Longitude>
                      <d2p1:Latitude>String</d2p1:Latitude>
                      <d2p1:ZipCode>String</d2p1:ZipCode>
                    </d2p1:mvAddress>
                  </d2p1:SupplierClientAddresses>
                  <d2p1:SupplierClientPhone1>String</d2p1:SupplierClientPhone1>
                  <d2p1:SupplierClientPhone2>String</d2p1:SupplierClientPhone2>
                  <d2p1:SupplierClientFax>String</d2p1:SupplierClientFax>
                  <d2p1:SupplierClientIM>String</d2p1:SupplierClientIM>
                  <d2p1:SupplierClientEmail>String</d2p1:SupplierClientEmail>
                  <d2p1:SupplierClientCurrency>String</d2p1:SupplierClientCurrency>
                  <d2p1:SupplierClientPaymentTermsEnum>None</d2p1:SupplierClientPaymentTermsEnum>
                  <d2p1:SupplierClientPaymentMethodEnum>None</d2p1:SupplierClientPaymentMethodEnum>
                  <d2p1:SupplierClientComments>String</d2p1:SupplierClientComments>
                  <d2p1:SupplierClientCustomField1>String</d2p1:SupplierClientCustomField1>
                  <d2p1:SupplierClientCustomField2>String</d2p1:SupplierClientCustomField2>
                  <d2p1:SupplierClientCustomField3>String</d2p1:SupplierClientCustomField3>
                  <d2p1:SupplierClientCustomField4>String</d2p1:SupplierClientCustomField4>
                  <d2p1:SupplierClientCustomField5>String</d2p1:SupplierClientCustomField5>
                  <d2p1:SupplierClientCustomField6>String</d2p1:SupplierClientCustomField6>
                  <d2p1:SupplierClientCustomField7>String</d2p1:SupplierClientCustomField7>
                  <d2p1:SupplierClientCustomField8>String</d2p1:SupplierClientCustomField8>
                  <d2p1:SupplierClientCustomField9>String</d2p1:SupplierClientCustomField9>
                  <d2p1:SupplierClientCustomField10>String</d2p1:SupplierClientCustomField10>
                  <d2p1:SupplierClientOption1>false</d2p1:SupplierClientOption1>
                  <d2p1:SupplierClientOption2>false</d2p1:SupplierClientOption2>
                  <d2p1:SupplierClientOption3>false</d2p1:SupplierClientOption3>
                  <d2p1:SupplierClientOption4>false</d2p1:SupplierClientOption4>
                  <d2p1:SupplierClientOption5>false</d2p1:SupplierClientOption5>
                  <d2p1:SupplierClientOption6>false</d2p1:SupplierClientOption6>
                  <d2p1:SupplierClientOption7>false</d2p1:SupplierClientOption7>
                  <d2p1:SupplierClientOption8>false</d2p1:SupplierClientOption8>
                  <d2p1:SupplierClientOption9>false</d2p1:SupplierClientOption9>
                  <d2p1:SupplierClientOption10>false</d2p1:SupplierClientOption10>
                  <d2p1:SupplierClientCreationDate>0001-01-01T00:00:00</d2p1:SupplierClientCreationDate>
                  <d2p1:mvContacts>
                    <d2p1:mvContactPerson>
                      <d2p1:ContactId>0</d2p1:ContactId>
                      <d2p1:ContactName>String</d2p1:ContactName>
                      <d2p1:ContactDepartment>String</d2p1:ContactDepartment>
                      <d2p1:ContactAddress>String</d2p1:ContactAddress>
                      <d2p1:ContactFullAddress>
                        <d2p1:AddressType>General</d2p1:AddressType>
                        <d2p1:AddressLine1>String</d2p1:AddressLine1>
                        <d2p1:AddressLine2>String</d2p1:AddressLine2>
                        <d2p1:AddressLine3>String</d2p1:AddressLine3>
                        <d2p1:Name>String</d2p1:Name>
                        <d2p1:Phone>String</d2p1:Phone>
                        <d2p1:Email>String</d2p1:Email>
                        <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
                        <d2p1:Organization>String</d2p1:Organization>
                        <d2p1:City>String</d2p1:City>
                        <d2p1:State>String</d2p1:State>
                        <d2p1:Country>NONE</d2p1:Country>
                        <d2p1:CountryName>String</d2p1:CountryName>
                        <d2p1:Longitude>String</d2p1:Longitude>
                        <d2p1:Latitude>String</d2p1:Latitude>
                        <d2p1:ZipCode>String</d2p1:ZipCode>
                      </d2p1:ContactFullAddress>
                      <d2p1:ContactEmail>String</d2p1:ContactEmail>
                      <d2p1:ContactPhone1>String</d2p1:ContactPhone1>
                      <d2p1:ContactPhone2>String</d2p1:ContactPhone2>
                      <d2p1:ContactFax>String</d2p1:ContactFax>
                      <d2p1:ContactIM>String</d2p1:ContactIM>
                      <d2p1:ContactCustomField1>String</d2p1:ContactCustomField1>
                      <d2p1:ContactCustomField2>String</d2p1:ContactCustomField2>
                      <d2p1:ContactIsPrimary>false</d2p1:ContactIsPrimary>
                      <d2p1:mvSuppliersClients>
                        <d2p1:mvSupplierClient>
                          <d2p1:SupplierClientID>0</d2p1:SupplierClientID>
                          <d2p1:SupplierClientType>Both</d2p1:SupplierClientType>
                          <d2p1:SupplierClientName>String</d2p1:SupplierClientName>
                          <d2p1:SupplierClientBillingAddress>String</d2p1:SupplierClientBillingAddress>
                          <d2p1:SupplierClientShippingAddress1>String</d2p1:SupplierClientShippingAddress1>
                          <d2p1:SupplierClientShippingAddress2>String</d2p1:SupplierClientShippingAddress2>
                          <d2p1:SupplierClientAddresses>
                            <d2p1:mvAddress>
                              <d2p1:AddressType>General</d2p1:AddressType>
                              <d2p1:AddressLine1>String</d2p1:AddressLine1>
                              <d2p1:AddressLine2>String</d2p1:AddressLine2>
                              <d2p1:AddressLine3>String</d2p1:AddressLine3>
                              <d2p1:Name>String</d2p1:Name>
                              <d2p1:Phone>String</d2p1:Phone>
                              <d2p1:Email>String</d2p1:Email>
                              <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
                              <d2p1:Organization>String</d2p1:Organization>
                              <d2p1:City>String</d2p1:City>
                              <d2p1:State>String</d2p1:State>
                              <d2p1:Country>NONE</d2p1:Country>
                              <d2p1:CountryName>String</d2p1:CountryName>
                              <d2p1:Longitude>String</d2p1:Longitude>
                              <d2p1:Latitude>String</d2p1:Latitude>
                              <d2p1:ZipCode>String</d2p1:ZipCode>
                            </d2p1:mvAddress>
                          </d2p1:SupplierClientAddresses>
                          <d2p1:SupplierClientPhone1>String</d2p1:SupplierClientPhone1>
                          <d2p1:SupplierClientPhone2>String</d2p1:SupplierClientPhone2>
                          <d2p1:SupplierClientFax>String</d2p1:SupplierClientFax>
                          <d2p1:SupplierClientIM>String</d2p1:SupplierClientIM>
                          <d2p1:SupplierClientEmail>String</d2p1:SupplierClientEmail>
                          <d2p1:SupplierClientCurrency>String</d2p1:SupplierClientCurrency>
                          <d2p1:SupplierClientPaymentTermsEnum>None</d2p1:SupplierClientPaymentTermsEnum>
                          <d2p1:SupplierClientPaymentMethodEnum>None</d2p1:SupplierClientPaymentMethodEnum>
                          <d2p1:SupplierClientComments>String</d2p1:SupplierClientComments>
                          <d2p1:SupplierClientCustomField1>String</d2p1:SupplierClientCustomField1>
                          <d2p1:SupplierClientCustomField2>String</d2p1:SupplierClientCustomField2>
                          <d2p1:SupplierClientCustomField3>String</d2p1:SupplierClientCustomField3>
                          <d2p1:SupplierClientCustomField4>String</d2p1:SupplierClientCustomField4>
                          <d2p1:SupplierClientCustomField5>String</d2p1:SupplierClientCustomField5>
                          <d2p1:SupplierClientCustomField6>String</d2p1:SupplierClientCustomField6>
                          <d2p1:SupplierClientCustomField7>String</d2p1:SupplierClientCustomField7>
                          <d2p1:SupplierClientCustomField8>String</d2p1:SupplierClientCustomField8>
                          <d2p1:SupplierClientCustomField9>String</d2p1:SupplierClientCustomField9>
                          <d2p1:SupplierClientCustomField10>String</d2p1:SupplierClientCustomField10>
                          <d2p1:SupplierClientOption1>false</d2p1:SupplierClientOption1>
                          <d2p1:SupplierClientOption2>false</d2p1:SupplierClientOption2>
                          <d2p1:SupplierClientOption3>false</d2p1:SupplierClientOption3>
                          <d2p1:SupplierClientOption4>false</d2p1:SupplierClientOption4>
                          <d2p1:SupplierClientOption5>false</d2p1:SupplierClientOption5>
                          <d2p1:SupplierClientOption6>false</d2p1:SupplierClientOption6>
                          <d2p1:SupplierClientOption7>false</d2p1:SupplierClientOption7>
                          <d2p1:SupplierClientOption8>false</d2p1:SupplierClientOption8>
                          <d2p1:SupplierClientOption9>false</d2p1:SupplierClientOption9>
                          <d2p1:SupplierClientOption10>false</d2p1:SupplierClientOption10>
                          <d2p1:SupplierClientCreationDate>0001-01-01T00:00:00</d2p1:SupplierClientCreationDate>
                          <d2p1:mvContacts>
                            <d2p1:mvContactPerson>
                              <d2p1:ContactId>0</d2p1:ContactId>
                              <d2p1:ContactName>String</d2p1:ContactName>
                              <d2p1:ContactDepartment>String</d2p1:ContactDepartment>
                              <d2p1:ContactAddress>String</d2p1:ContactAddress>
                              <d2p1:ContactFullAddress>
                                <d2p1:AddressType>General</d2p1:AddressType>
                                <d2p1:AddressLine1>String</d2p1:AddressLine1>
                                <d2p1:AddressLine2>String</d2p1:AddressLine2>
                                <d2p1:AddressLine3>String</d2p1:AddressLine3>
                                <d2p1:Name>String</d2p1:Name>
                                <d2p1:Phone>String</d2p1:Phone>
                                <d2p1:Email>String</d2p1:Email>
                                <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
                                <d2p1:Organization>String</d2p1:Organization>
                                <d2p1:City>String</d2p1:City>
                                <d2p1:State>String</d2p1:State>
                                <d2p1:Country>NONE</d2p1:Country>
                                <d2p1:CountryName>String</d2p1:CountryName>
                                <d2p1:Longitude>String</d2p1:Longitude>
                                <d2p1:Latitude>String</d2p1:Latitude>
                                <d2p1:ZipCode>String</d2p1:ZipCode>
                              </d2p1:ContactFullAddress>
                              <d2p1:ContactEmail>String</d2p1:ContactEmail>
                              <d2p1:ContactPhone1>String</d2p1:ContactPhone1>
                              <d2p1:ContactPhone2>String</d2p1:ContactPhone2>
                              <d2p1:ContactFax>String</d2p1:ContactFax>
                              <d2p1:ContactIM>String</d2p1:ContactIM>
                              <d2p1:ContactCustomField1>String</d2p1:ContactCustomField1>
                              <d2p1:ContactCustomField2>String</d2p1:ContactCustomField2>
                              <d2p1:ContactIsPrimary>false</d2p1:ContactIsPrimary>
                              <d2p1:mvSuppliersClients>
                                <d2p1:mvSupplierClient i:nil="true" />
                              </d2p1:mvSuppliersClients>
                            </d2p1:mvContactPerson>
                          </d2p1:mvContacts>
                          <d2p1:SupplierClientTaxID>String</d2p1:SupplierClientTaxID>
                        </d2p1:mvSupplierClient>
                      </d2p1:mvSuppliersClients>
                    </d2p1:mvContactPerson>
                  </d2p1:mvContacts>
                  <d2p1:SupplierClientTaxID>String</d2p1:SupplierClientTaxID>
                </d2p1:mvSupplierClient>
              </d2p1:mvSuppliersClients>
            </d2p1:mvContactPerson>
          </d2p1:mvContacts>
          <d2p1:SupplierClientTaxID>String</d2p1:SupplierClientTaxID>
        </d2p1:mvProductMainSupplier>
        <d2p1:ProductMainSupplierPrice>0.00</d2p1:ProductMainSupplierPrice>
        <d2p1:ProductMainSupplierSKU>String</d2p1:ProductMainSupplierSKU>
        <d2p1:ProductMainSupplierDescription>String</d2p1:ProductMainSupplierDescription>
        <d2p1:ProductCreationDate>0001-01-01T00:00:00</d2p1:ProductCreationDate>
        <d2p1:ProductOption1>false</d2p1:ProductOption1>
        <d2p1:ProductOption2>false</d2p1:ProductOption2>
        <d2p1:ProductOption3>false</d2p1:ProductOption3>
        <d2p1:ProductOption4>false</d2p1:ProductOption4>
        <d2p1:ProductOption5>false</d2p1:ProductOption5>
        <d2p1:ProductOption6>false</d2p1:ProductOption6>
        <d2p1:ProductOption7>false</d2p1:ProductOption7>
        <d2p1:ProductOption8>false</d2p1:ProductOption8>
        <d2p1:ProductOption9>false</d2p1:ProductOption9>
        <d2p1:ProductOption10>false</d2p1:ProductOption10>
        <d2p1:IsInventorySerialised>false</d2p1:IsInventorySerialised>
        <d2p1:IsBatchNumbersEnabled>false</d2p1:IsBatchNumbersEnabled>
        <d2p1:SerialNumberPrefix>String</d2p1:SerialNumberPrefix>
        <d2p1:SerialNumberLength i:nil="true" />
        <d2p1:IsPurchasable>false</d2p1:IsPurchasable>
        <d2p1:PurchasableStartDate>0001-01-01T00:00:00</d2p1:PurchasableStartDate>
        <d2p1:PurchasableEndDate>0001-01-01T00:00:00</d2p1:PurchasableEndDate>
        <d2p1:IsSellable>false</d2p1:IsSellable>
        <d2p1:SellableStartDate>0001-01-01T00:00:00</d2p1:SellableStartDate>
        <d2p1:SellableEndDate>0001-01-01T00:00:00</d2p1:SellableEndDate>
      </d2p1:mvProduct>
      <d2p1:mvStock>
        <d2p1:mvInventoryLocationStock>
          <d2p1:InventoryLocationID>0</d2p1:InventoryLocationID>
          <d2p1:mvInventoryLocation>
            <d2p1:InventoryLocationID>0</d2p1:InventoryLocationID>
            <d2p1:InventoryLocationName>String</d2p1:InventoryLocationName>
            <d2p1:InventoryLocationAbbreviation>String</d2p1:InventoryLocationAbbreviation>
            <d2p1:InventoryLocationAddress>String</d2p1:InventoryLocationAddress>
            <d2p1:Address>
              <d2p1:AddressType>General</d2p1:AddressType>
              <d2p1:AddressLine1>String</d2p1:AddressLine1>
              <d2p1:AddressLine2>String</d2p1:AddressLine2>
              <d2p1:AddressLine3>String</d2p1:AddressLine3>
              <d2p1:Name>String</d2p1:Name>
              <d2p1:Phone>String</d2p1:Phone>
              <d2p1:Email>String</d2p1:Email>
              <d2p1:TaxIdNumber>String</d2p1:TaxIdNumber>
              <d2p1:Organization>String</d2p1:Organization>
              <d2p1:City>String</d2p1:City>
              <d2p1:State>String</d2p1:State>
              <d2p1:Country>NONE</d2p1:Country>
              <d2p1:CountryName>String</d2p1:CountryName>
              <d2p1:Longitude>String</d2p1:Longitude>
              <d2p1:Latitude>String</d2p1:Latitude>
              <d2p1:ZipCode>String</d2p1:ZipCode>
            </d2p1:Address>
            <d2p1:InventoryLocationCurrencyCode>String</d2p1:InventoryLocationCurrencyCode>
            <d2p1:InventoryLocationCompanyId>0</d2p1:InventoryLocationCompanyId>
            <d2p1:InventoryLocationIsDeleted>false</d2p1:InventoryLocationIsDeleted>
            <d2p1:InventoryLocationIsTransit>false</d2p1:InventoryLocationIsTransit>
          </d2p1:mvInventoryLocation>
          <d2p1:StockPhysical>0</d2p1:StockPhysical>
          <d2p1:StockOnHold>0</d2p1:StockOnHold>
          <d2p1:StockNonShipped>0</d2p1:StockNonShipped>
          <d2p1:StockNonAllocatedWOs>0</d2p1:StockNonAllocatedWOs>
          <d2p1:StockNonReceivedPOs>0</d2p1:StockNonReceivedPOs>
          <d2p1:StockNonReceivedWOs>0</d2p1:StockNonReceivedWOs>
          <d2p1:StockOnHand>0</d2p1:StockOnHand>
          <d2p1:StockAlertLevel>0</d2p1:StockAlertLevel>
          <d2p1:SubLocation>String</d2p1:SubLocation>
          <d2p1:InventoryLocationStockCreationDate>0001-01-01T00:00:00</d2p1:InventoryLocationStockCreationDate>
          <d2p1:InventoryLocationStockLastUpdatedDate>0001-01-01T00:00:00</d2p1:InventoryLocationStockLastUpdatedDate>
        </d2p1:mvInventoryLocationStock>
      </d2p1:mvStock>
      <d2p1:StockPhysicalTotal>0</d2p1:StockPhysicalTotal>
      <d2p1:StockOnHoldTotal>0</d2p1:StockOnHoldTotal>
      <d2p1:StockNonShippedTotal>0</d2p1:StockNonShippedTotal>
      <d2p1:StockNonAllocatedWOsTotal>0</d2p1:StockNonAllocatedWOsTotal>
      <d2p1:StockNonReceivedPOsTotal>0</d2p1:StockNonReceivedPOsTotal>
      <d2p1:StockNonReceivedWOsTotal>0</d2p1:StockNonReceivedWOsTotal>
      <d2p1:StockOnHandTotal>0</d2p1:StockOnHandTotal>
      <d2p1:StockAlertLevelTotal>0</d2p1:StockAlertLevelTotal>
    </d2p1:mvProductStock>
  </mvProductStockList>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
      </d2p1:ResponseError>
    </d2p1:Errors>
  </ResponseStatus>
  <InternalErrorCode>String</InternalErrorCode>
</InventoryLocationStockGetResponse>

    </soap:Body>
</soap:Envelope>