GetModelList


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/GetModelList"

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <GetModelList 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>
            <modelFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <CategoryCodeList xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                    <a:string>06010201</a:string>
                </CategoryCodeList>
            </modelFilter>
        </GetModelList>
    </s:Body>
</s:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetModelListResponse xmlns="http://www.cdiscount.com">
         <GetModelListResult 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>
            <ModelList>
               <ProductModel>
                  <CategoryCode>06</CategoryCode>
                  <Definition>
                     <ListProperties xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                        <a:KeyValueOfstringArrayOfstringty7Ep6D1>
                           <a:Key>Couleur principale</a:Key>
                           <a:Value>
                              <a:string>Inox</a:string>
                              <a:string>Rose</a:string>
                              <a:string>Rouge</a:string>
                            </a:Value>
                        </a:KeyValueOfstringArrayOfstringty7Ep6D1>
                        <a:KeyValueOfstringArrayOfstringty7Ep6D1>
                           <a:Key>Age (A partir de)</a:Key>
                           <a:Value>
                              <a:string>Naissance</a:string>
                              <a:string>1 mois</a:string>
                              <a:string>2 mois</a:string>
                            </a:Value>
                        </a:KeyValueOfstringArrayOfstringty7Ep6D1>
                        <a:KeyValueOfstringArrayOfstringty7Ep6D1>
                           <a:Key>Age (Jusqu'à)</a:Key>
                           <a:Value>
                              <a:string>97 ans</a:string>
                              <a:string>98 ans</a:string>
                              <a:string>99 ans</a:string>
                           </a:Value>
                        </a:KeyValueOfstringArrayOfstringty7Ep6D1>
                        <a:KeyValueOfstringArrayOfstringty7Ep6D1>
                           <a:Key>Poids (A partir de)</a:Key>
                           <a:Value>
                              <a:string>30 kg</a:string>
                              <a:string>31 kg</a:string>
                              <a:string>32 kg</a:string>
                              </a:Value>
                        </a:KeyValueOfstringArrayOfstringty7Ep6D1>
                        <a:KeyValueOfstringArrayOfstringty7Ep6D1>
                           <a:Key>Poids (Jusqu'à)</a:Key>
                           <a:Value>
                              <a:string>70 kg</a:string>
                              <a:string>71 kg</a:string>
                              <a:string>72 kg</a:string>
  
                             </a:Value>
                        </a:KeyValueOfstringArrayOfstringty7Ep6D1>
                     </ListProperties>
                     <MandatoryModelProperties xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                        <a:string>Couleur principale</a:string>
                        <a:string>Poids (A partir de)</a:string>
                     </MandatoryModelProperties>
                  </Definition>
                  <ModelId>1414</ModelId>
                  <Name>PUERICULTURE_MARKETPLACE</Name>
               </ProductModel>
            </ModelList>
         </GetModelListResult>
      </GetModelListResponse>
   </s:Body>
</s:Envelope>