ValidateOrderList


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

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <ValidateOrderList 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>
            <validateOrderListMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <OrderList>
                    <ValidateOrder>
                        <CarrierName>CarrierName</CarrierName>
                        <OrderLineList>
                            <ValidateOrderLine>
                                <AcceptationState>AcceptedBySeller</AcceptationState>
                                <ProductCondition>New</ProductCondition>
                                <SellerProductId>CHI8003970895435</SellerProductId>
                            </ValidateOrderLine>
                            <ValidateOrderLine>
                                <AcceptationState>AcceptedBySeller</AcceptationState>
                                <ProductCondition>New</ProductCondition>
                                <SellerProductId>DOD3592668078117</SellerProductId>
                            </ValidateOrderLine>
                        </OrderLineList>
                        <OrderNumber>1109029051W54OU</OrderNumber>
                        <OrderState>AcceptedBySeller</OrderState>
                        <TrackingNumber>TrackingNumber</TrackingNumber>
                        <TrackingUrl>TrackingNumber</TrackingUrl>
                    </ValidateOrder>
                </OrderList>
            </validateOrderListMessage>
        </ValidateOrderList>
    </s:Body>
</s:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <ValidateOrderListResponse xmlns="http://www.cdiscount.com">
         <ValidateOrderListResult 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>
            <ValidateOrderResults>
               <ValidateOrderResult>
                  <Errors/>
                  <OrderNumber>1109029051W54OU</OrderNumber>
                  <ValidateOrderLineResults>
                     <ValidateOrderLineResult>
                        <Errors/>
                        <SellerProductId>CHI8003970895435</SellerProductId>
                        <Updated>true</Updated>
                     </ValidateOrderLineResult>
                     <ValidateOrderLineResult>
                        <Errors/>
                        <SellerProductId>DOD3592668078117</SellerProductId>
                        <Updated>true</Updated>
                     </ValidateOrderLineResult>
                     <ValidateOrderLineResult>
                        <Errors/>
                        <SellerProductId>FRAISTRAITEMENT</SellerProductId>
                        <Updated>true</Updated>
                     </ValidateOrderLineResult>
                  </ValidateOrderLineResults>
                  <Validated>true</Validated>
                  <Warnings/>
               </ValidateOrderResult>
            </ValidateOrderResults>
         </ValidateOrderListResult>
      </ValidateOrderListResponse>
   </s:Body>
</s:Envelope>