WSElectronicOrder


Click here for a complete list of operations.

GetOrderHistoryByParentAccount

This web service method allows the user to check order history for child accounts. It returns a dataset containing a data table of information, along with a data table of real-time status on orders placed.

Input Values:
Key - Web service security key assigned by Keystone.
ParentAccountNo - The 5-7 character PARENT account number provided by Keystone.
PONumbers - The PONumbers in question. PLEASE see supporting documentation for more information.
FromDate - The date in which to start searching for order history. Must be in YYYYMMDD format.
ToDate - The date in which to stop searching for order history. Must be in YYYYMMDD format.
ChildAccountNumbers - A list of child account numbers used to narrow the search. PLEASE see supporting documentation for more information.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WSElectronicOrder/ElectronicOrder.asmx HTTP/1.1
Host: order.ekeystone.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://eKeystone.com/GetOrderHistoryByParentAccount"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetOrderHistoryByParentAccount xmlns="http://eKeystone.com">
      <Key>string</Key>
      <ParentAccountNo>string</ParentAccountNo>
      <PONumbers>string</PONumbers>
      <FromDate>string</FromDate>
      <ToDate>string</ToDate>
      <ChildAccountNumbers>string</ChildAccountNumbers>
    </GetOrderHistoryByParentAccount>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetOrderHistoryByParentAccountResponse xmlns="http://eKeystone.com">
      <GetOrderHistoryByParentAccountResult>
        <xsd:schema>schema</xsd:schema>xml</GetOrderHistoryByParentAccountResult>
    </GetOrderHistoryByParentAccountResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WSElectronicOrder/ElectronicOrder.asmx HTTP/1.1
Host: order.ekeystone.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetOrderHistoryByParentAccount xmlns="http://eKeystone.com">
      <Key>string</Key>
      <ParentAccountNo>string</ParentAccountNo>
      <PONumbers>string</PONumbers>
      <FromDate>string</FromDate>
      <ToDate>string</ToDate>
      <ChildAccountNumbers>string</ChildAccountNumbers>
    </GetOrderHistoryByParentAccount>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetOrderHistoryByParentAccountResponse xmlns="http://eKeystone.com">
      <GetOrderHistoryByParentAccountResult>
        <xsd:schema>schema</xsd:schema>xml</GetOrderHistoryByParentAccountResult>
    </GetOrderHistoryByParentAccountResponse>
  </soap12:Body>
</soap12:Envelope>