Version: eXtendPS-SE 1.3.6 and above
Audience: Administrator, Developer
Applicable to: Live Inventory 1.2.1, Live Inventory 2.0.0

Live Inventory Configuration

See Configure eXtendPS-SE Live Inventory Service Response for detailed instructions on initial configuration of the Live Inventory sevice.

getInventoryLevels Response (with filtered values)

In the getInventoryLevels response, you have the ability to filter the results based on the color, size, and partId, following the PromoStandards specifications. The example request below is created for the product number "snm-82800L", and in the filter section, you can provide product colors, sizes, and partIds. The result will include the product parts that match the combination of these specified filters.

Live Inventory 2.0.0 Request Example

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body>
        <GetInventoryLevelsRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.promostandards.org/WSDL/Inventory/2.0.0/">
            <wsVersion >2.0.0</wsVersion><id >Arpit</id><password >extend101</password>
            <productId >snm-82800L</productId>
            <Filter ><partIdArray >
                <partId>snm-82800L : 82800L- L-Navy</partId><partId>snm-82800L : 82800L- L-Sapphire</partId><partId>snm-82800L : 82800L- L-Red</partId></partIdArray>
                <LabelSizeArray ><labelSize>M</labelSize><labelSize>L</labelSize></LabelSizeArray>
                <PartColorArray ><partColor>Red</partColor><partColor>Sapphire</partColor></PartColorArray>
            </Filter>
        </GetInventoryLevelsRequest>
    </Body>
</Envelope>

Live Inventory 2.0.0 Response Example

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:tns="http://www.promostandards.org/WSDL/Inventory/2.0.0/" xmlns:ns="http://www.promostandards.org/WSDL/Inventory/2.0.0/SharedObjects/" xmlns:ns1="http://www.codesynthesis.com/xmlns/xsstl">
    <soap:Body>
        <getInventoryLevelsResponse>
            <Inventory xmlns="http://www.promostandards.org/WSDL/Inventory/2.0.0/SharedObjects/">
                <productId>snm-82800L</productId>
                <PartInventoryArray>
                    <PartInventory>
                        <partId>snm-82800L : 82800L- L-Sapphire</partId>
                        <mainPart>true</mainPart>
                        <partColor>Sapphire</partColor>
                        <labelSize>L</labelSize>
                        <partDescription>description</partDescription>
                        <quantityAvailable>
                            <Quantity>
                                <uom>EA</uom>
                                <value>0</value>
                            </Quantity>
                        </quantityAvailable>
                        <manufacturedItem>false</manufacturedItem>
                        <buyToOrder>true</buyToOrder>
                        <attributeSelection>Material: snm-82800L : 82800L- L-Sapphire</attributeSelection>
                        <lastModified>2019-06-05T09:21:45.452Z</lastModified>
                    </PartInventory>
                    <PartInventory>
                        <partId>snm-82800L : 82800L- L-Red</partId>
                        <mainPart>true</mainPart>
                        <partColor>Red</partColor>
                        <labelSize>L</labelSize>
                        <partDescription>description</partDescription>
                        <quantityAvailable>
                            <Quantity>
                                <uom>EA</uom>
                                <value>0</value>
                            </Quantity>
                        </quantityAvailable>
                        <manufacturedItem>false</manufacturedItem>
                        <buyToOrder>true</buyToOrder>
                        <attributeSelection>Material: snm-82800L : 82800L- L-Red</attributeSelection>
                        <lastModified>2019-06-05T09:21:45.455Z</lastModified>
                    </PartInventory>
                </PartInventoryArray>
            </Inventory>
        </getInventoryLevelsResponse>
    </soap:Body>
</soap:Envelope>

Note:
  1. Filters are not applied to items of the Kit/Package item type.
  2. The partIdArray will return a result if at least one filter in the results is matched.
  3. The partIdArray filter uses the "contains" condition, not an exact match.
  4. The partIdArray filter value is only supported by Live Inventory version 2.0.0.