Version: eXtendPS-SE 1.4.2 and above
Audience: Administrator, User

Overview

eXtendPS-SE supports the PromoStandards Product Compliance 1.0.0 service. Once the service is enabled and items are configured with product compliance information, you will be able to enable Product Compliance responses for your items.
Once the product compliance service is enabled and configured on your items, you can use the endpoint URL to view product compliance responses. A sample request and sample response from the product compliance service provided by eXtendPS-SE is below.

getCompliance()

Sample request

    <Body>
        <GetComplianceRequest xmlns="http://www.promostandards.org/WSDL/ProductComplianceService/1.0.0/">
            <!--The Standard Version of the Web Service being referenced-->
            <wsVersion>1.0.0</wsVersion>
            <!--The customer Id or any other agreed upon Id.-->
            <id>{{api-username}}</id>
            <!--The password associated with the Id-->
            <password>{{api-password}}</password>
            <!--The identifier of the product to get compliance data for-->
            <productId>esp New Test Matrix Item</productId>
            <!--The identifier of the part to get compliance data for; this element being left off indicates an intention to get compliance data on any applicable parts for the specific product whereas including this element indicates an intention to only get compliance data for the specific part-->
            <partId></partId>
        </GetComplianceRequest>
    </Body>
</Envelope>

Sample response

<?xml version="1.0" encoding="utf-8"?>
    <soap:Body>
        <GetComplianceResponse xmlns="http://www.promostandards.org/WSDL/ProductComplianceService/1.0.0/">
            <ComplianceDataArray>
                <ComplianceData>
                    <productId>esp New Test Matrix Item</productId>
                    <partId>esp New Test Matrix Item : esp New Test Matrix-Black</partId>
                    <CAProp65>
                        <ApplicableWarningsArray>
                            <ApplicableWarnings>
                                <applicableWarning>On Product Cancer</applicableWarning>
                                <applicableChemicals>
                                    <applicableChemical>Acetaldehyde</applicableChemical>
                                    <applicableChemical>Acetamide</applicableChemical>
                                    <applicableChemical>Acetazolamide</applicableChemical>
                                </applicableChemicals>
                                <warningLabelApplied>Long Form</warningLabelApplied>
                            </ApplicableWarnings>
                            <ApplicableWarnings>
                                <applicableWarning>On Product Cancer</applicableWarning>
                                <applicableChemicals>
                                    <applicableChemical>Abiraterone acetate</applicableChemical>
                                </applicableChemicals>
                                <warningLabelApplied>Short Form</warningLabelApplied>
                            </ApplicableWarnings>
                        </ApplicableWarningsArray>
                        <policyForApplyingLabel>Applied Upon Request</policyForApplyingLabel>
                    </CAProp65>
                </ComplianceData>
                <ComplianceData>
                    <productId>esp New Test Matrix Item</productId>
                    <partId>esp New Test Matrix Item : esp New Test Matrix-R</partId>
                </ComplianceData>
            </ComplianceDataArray>
        </GetComplianceResponse>
    </soap:Body>
</soap:Envelope>

getProductsWithRegulations()

Sample request format:

    <Body>
        <GetProductsWithRegulationsRequest xmlns="http://www.promostandards.org/WSDL/ProductComplianceService/1.0.0/">
            <!--The Standard Version of the Web Service being referenced-->
            <wsVersion>1.0.0</wsVersion>
            <!--The customer Id or any other agreed upon Id.-->
            <id>{{api-username}}</id>
            <!--The password associated with the Id-->
            <password>{{api-password}}</password>
            <!--Beginning date time since last change in UTC-->
            <changeTimeStamp>3/23/2021 1:16 pm</changeTimeStamp>
        </GetProductsWithRegulationsRequest>
    </Body>
</Envelope>

Sample response format:

<?xml version="1.0" encoding="utf-8"?>
    <soap:Body>
        <GetProductsWithRegulationsResponse xmlns="http://www.promostandards.org/WSDL/ProductComplianceService/1.0.0/">
            <productWithRegulationsArray>
                <ProductWithRegulations>
                    <productId>CAB00002</productId>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>esp New Test Matrix Item : esp New Test Matrix-Black</productId>
                    <complianceGroups>CaliforniaProp65</complianceGroups>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>henley : henley-B-X</productId>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>henley : henley-B-XL</productId>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>henley : henley-Beige-X</productId>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>henley : henley-Beige-XL</productId>
                </ProductWithRegulations>
                <ProductWithRegulations>
                    <productId>LNB-C1</productId>
                </ProductWithRegulations>
            </productWithRegulationsArray>
        </GetProductsWithRegulationsResponse>
    </soap:Body>
</soap:Envelope>