GetOfferList


POST http://{ENV}/MarketplaceAPIService.svc HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://www.cdiscount.com/IMarketplaceAPIService/GetOfferList"

<s:Envelope xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header/>
    <s:Body>
        <GetOfferList xmlns="http://www.cdiscount.com">
            <headerMessage xmlns:a="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <a:Context>
                    <a:CatalogID>1</a:CatalogID>
                    <a:CustomerPoolID>1</a:CustomerPoolID>
                    <a:SiteID>100</a:SiteID>
                </a:Context>
                <a:Localization>
                    <a:Country>Fr</a:Country>
                    <a:Currency>Eur</a:Currency>
                    <a:DecimalPosition>2</a:DecimalPosition>
                    <a:Language>Fr</a:Language>
                </a:Localization>
                <a:Security>
                    <a:DomainRightsList i:nil="true" />
                    <a:IssuerID i:nil="true" />
                    <a:SessionID i:nil="true" />
                    <a:SubjectLocality i:nil="true" />
                    <a:TokenId>${#Project#token}</a:TokenId>
                    <a:UserName i:nil="true" />
                </a:Security>
                <a:Version>1.0</a:Version>
            </headerMessage>
            <offerFilter>
                <OfferPoolId>1</OfferPoolId>
                <!-- optionnel -->
                <SellerProductIdList>
                    <arr:string>REF-00000015</arr:string>
                </SellerProductIdList>
            </offerFilter>
        </GetOfferList>
    </s:Body>
</s:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetOfferListResponse xmlns="http://www.cdiscount.com">
         <GetOfferListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages"/>
            <OperationSuccess xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">true</OperationSuccess>
            <ErrorList/>
            <SellerLogin>login</SellerLogin>
            <TokenId>???</TokenId>
            <OfferList>
               <Offer>
                  <Comments>Produit livre dans son emballage d'origine.</Comments>
                  <CreationDate>2011-12-28T14:44:48.96</CreationDate>
                  <EcoTax>1.0000</EcoTax>
                  <LastUpdateDate>2012-01-03T17:30:56.977</LastUpdateDate>
                  <OfferPoolList>
                     <OfferPool>
                        <Description i:nil="true"/>
                        <Id>1</Id>
                     </OfferPool>
                  </OfferPoolList>
                  <OfferState>Active</OfferState>
                  <ParentProductId/>
                  <Price>14.0000</Price>
                  <ProductCondition>New</ProductCondition>
                  <ProductEan>7332543145329</ProductEan>
                  <ProductId>ELE7332543145329</ProductId>
                  <SellerProductId>REF-00000015</SellerProductId>
                  <ShippingInformationList>
                     <ShippingInformation>
                        <DeliveryMode>
                           <Code>STD</Code>
                           <Name>Normal</Name>
                        </DeliveryMode>
                        <AdditionalShippingCharges>1.0000</AdditionalShippingCharges>
                        <MaxLeadTime>8</MaxLeadTime>
                        <MinLeadTime>4</MinLeadTime>
                        <ShippingCharges>2.0000</ShippingCharges>
                     </ShippingInformation>
                     <ShippingInformation>
                        <DeliveryMode>
                           <Code>STD</Code>
                           <Name>Normal</Name>
                        </DeliveryMode>
                        <AdditionalShippingCharges>2.0000</AdditionalShippingCharges>
                        <MaxLeadTime>8</MaxLeadTime>
                        <MinLeadTime>4</MinLeadTime>
                        <ShippingCharges>4.0000</ShippingCharges>
                     </ShippingInformation>
                     <ShippingInformation>
                        <DeliveryMode>
                           <Code>STD</Code>
                           <Name>Normal</Name>
                        </DeliveryMode>
                        <AdditionalShippingCharges>4.0000</AdditionalShippingCharges>
                        <MaxLeadTime>8</MaxLeadTime>
                        <MinLeadTime>4</MinLeadTime>
                        <ShippingCharges>6.0000</ShippingCharges>
                     </ShippingInformation>
                  </ShippingInformationList>
                  <Stock>10</Stock>
                  <VatRate>0.1960</VatRate>
               </Offer>
            </OfferList>
         </GetOfferListResult>
      </GetOfferListResponse>
   </s:Body>
</s:Envelope>