1. Home
  2. SOAP API
  3. Unhold Sale Order

Unhold Sale Order

API Operations

Description:

The API enables you to unhold a Sale Order Item which is already in ‘hold’ state. This is done to make the make the order eligible to be processed.

API:

<soapenv:Envelope xmlns:ser=”http://uniware.unicommerce.com/services/” xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”>

   <soapenv:Header>

      <wsse:Security soapenv:mustUnderstand=”1″ xmlns:wsse=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>

         <wsse:UsernameToken wsu:Id=”UsernameToken-1″>

            <wsse:Username>Sandbox</wsse:Username>

            <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>91561781f43921dd2803fa63a7ee5519</wsse:Password>

            <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>DyBFgnJLuoVBU1KyPiml+A==</wsse:Nonce>

            <wsu:Created>2014-05-07T06:27:44.406Z</wsu:Created>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <ser:UnholdSaleOrderItemsRequest>

         <ser:SaleOrder>

            <ser:Code>?</ser:Code>

            <ser:SaleOrderItems>

               <!–1 or more repetitions:–>

               <ser:SaleOrderItem>

                  <ser:Code>?</ser:Code>

               </ser:SaleOrderItem>

            </ser:SaleOrderItems>

         </ser:SaleOrder>

      </ser:UnholdSaleOrderItemsRequest>

   </soapenv:Body>

</soapenv:Envelope>

API Parameters:

Request:

<soapenv:Envelope xmlns:ser=”http://uniware.unicommerce.com/services/” xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”>

   <soapenv:Header>

      <wsse:Security soapenv:mustUnderstand=”1″ xmlns:wsse=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:wsu=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>

         <wsse:UsernameToken wsu:Id=”UsernameToken-2″>

            <wsse:Username>ashish1</wsse:Username>

            <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>e13cc8cd-17c8-4798-bb7b-2d1335ad92d6</wsse:Password>

            <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>uWPqzqxQFDg7AaU5WHjL9g==</wsse:Nonce>

            <wsu:Created>2014-05-07T06:36:53.711Z</wsu:Created>

         </wsse:UsernameToken>

         </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <ser:UnholdSaleOrderItemsRequest>

         <ser:SaleOrder>

            <ser:Code>SO1000125</ser:Code>

            <ser:SaleOrderItems>

               <ser:SaleOrderItem>

                  <ser:Code>SO1000125-1-0</ser:Code>

               </ser:SaleOrderItem>

            </ser:SaleOrderItems>

         </ser:SaleOrder>

      </ser:UnholdSaleOrderItemsRequest>

   </soapenv:Body>

</soapenv:Envelope>

Response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/”>

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

      <UnholdSaleOrderItemsResponse xmlns=”http://uniware.unicommerce.com/services/”>

         <Successful>true</Successful>

      </UnholdSaleOrderItemsResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Error Codes:

Related Articles