WSElectronicOrder


Click here for a complete list of operations.

GetShippingOptionsMultiplePartsPerWarehouseC2M

This web service method returns a list of shipping service level options available based on the warehouses accessible to the customer, the availability of the part, and the postal code specified.

Input Values:
Key (String) - Web service security key assigned by Keystone.
FullAccountNo (String) - Full 5-7 character account number provided by Keystone.
PartNumber/Quantity CSV, Pipe separated (String) - Full part number and Quantity separated by a comma.
____ Please use the following format: SearchType,PartNumber,Quantity|(Pipe Seperator)SearchType,PartNumber,Quantity
____ S,XXXYYYYYY,2|S,AAABBBBB,1|S,NNNMMMMMMM,3
____ SearchTypes are as follows: N - NTP Product Number | U - UPC Code | K - VCPN
ToZip (String) - Zip code item is to be shipped to. Note: if no zip code is passed in, the customers account default zip code will be used.
Output - Returns a dataset including three or more data tables:
____ PartsData (data passed into the method)
____ PartsQuantityPerWarehouse
____ Warehouse_[WarehouseName]_[WarehouseNumber] (this contains all shipping options, and the total freight charge for each method, for the parts shipping from this warehouse.)

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

<?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>
    <GetShippingOptionsMultiplePartsPerWarehouseC2M xmlns="http://eKeystone.com">
      <Key>string</Key>
      <FullAccountNo>string</FullAccountNo>
      <B2MAccountNo>string</B2MAccountNo>
      <PartNumbersQty>string</PartNumbersQty>
      <ToZip>string</ToZip>
    </GetShippingOptionsMultiplePartsPerWarehouseC2M>
  </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>
    <GetShippingOptionsMultiplePartsPerWarehouseC2MResponse xmlns="http://eKeystone.com">
      <GetShippingOptionsMultiplePartsPerWarehouseC2MResult>
        <xsd:schema>schema</xsd:schema>xml</GetShippingOptionsMultiplePartsPerWarehouseC2MResult>
    </GetShippingOptionsMultiplePartsPerWarehouseC2MResponse>
  </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>
    <GetShippingOptionsMultiplePartsPerWarehouseC2M xmlns="http://eKeystone.com">
      <Key>string</Key>
      <FullAccountNo>string</FullAccountNo>
      <B2MAccountNo>string</B2MAccountNo>
      <PartNumbersQty>string</PartNumbersQty>
      <ToZip>string</ToZip>
    </GetShippingOptionsMultiplePartsPerWarehouseC2M>
  </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>
    <GetShippingOptionsMultiplePartsPerWarehouseC2MResponse xmlns="http://eKeystone.com">
      <GetShippingOptionsMultiplePartsPerWarehouseC2MResult>
        <xsd:schema>schema</xsd:schema>xml</GetShippingOptionsMultiplePartsPerWarehouseC2MResult>
    </GetShippingOptionsMultiplePartsPerWarehouseC2MResponse>
  </soap12:Body>
</soap12:Envelope>