CloseDiscussionList


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

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cdis="http://www.cdiscount.com"
xmlns:cdis1="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">
   <soapenv:Header/>
   <soapenv:Body>
      <cdis:CloseDiscussionList>
         <cdis: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>
            </cdis:headerMessage>
         <cdis:closeDiscussionRequest xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
            <cdis:DiscussionIds>
               <arr:long>866052</arr:long>
               <arr:long>162</arr:long>
			<arr:long>123456</arr:long>
            </cdis:DiscussionIds>
         </cdis:closeDiscussionRequest>
      </cdis:CloseDiscussionList>
   </soapenv:Body>
</soapenv:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CloseDiscussionListResponse xmlns="http://www.cdiscount.com">
         <CloseDiscussionListResult 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>{TOKEN}</TokenId>
            <CloseDiscussionResultList>
               <CloseDiscussionResult>
                  <DiscussionId>162</DiscussionId>
                  <OperationStatus>AlreadyClosed</OperationStatus>
               </CloseDiscussionResult>
               <CloseDiscussionResult>
                  <DiscussionId>866052</DiscussionId>
                  <OperationStatus>DiscussionClosed</OperationStatus>
               </CloseDiscussionResult>
               <CloseDiscussionResult>
                  <DiscussionId>123456</DiscussionId>
                  <OperationStatus>DiscussionNotFound</OperationStatus>
               </CloseDiscussionResult>
            </CloseDiscussionResultList>
         </CloseDiscussionListResult>
      </CloseDiscussionListResponse>
   </s:Body>
</s:Envelope>