WSElectronicOrder
Click here for a complete list of operations.
ShipOrder
This web service method creates and places an order based on the information passed in. It returns a real-time status on the line item. This method does not accept a "ship to" address. All orders can be viewed through eKeystone or the GetOrderHistory web method.
Input Values:
Key (String) - Web service security key assigned by Keystone.
FullAccountNo (String) - The 5-7 character account number provided by Keystone.
FullPartNo (String) - This is the full part number of the product to order. The full part number includes the Keystone vendor line code and the Keystone part number.
Quant (String) - The quantity of the part to be ordered.
PONumber (String) - PO Number for this line item (20 char max).
AdditionalInfo (String) - Information pertaining to this item that the user would like to include.
ServiceLevel (String) - The shipping method for this item. This can be found through the GetShippingOptions web method.
Output - A single string return value: an "Order Placed" confirmation, or error message.
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/ShipOrder" <?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> <ShipOrder xmlns="http://eKeystone.com"> <Key>string</Key> <FullAccountNo>string</FullAccountNo> <FullPartNo>string</FullPartNo> <Quant>string</Quant> <PONumber>string</PONumber> <AdditionalInfo>string</AdditionalInfo> <ServiceLevel>string</ServiceLevel> </ShipOrder> </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> <ShipOrderResponse xmlns="http://eKeystone.com"> <ShipOrderResult>string</ShipOrderResult> </ShipOrderResponse> </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> <ShipOrder xmlns="http://eKeystone.com"> <Key>string</Key> <FullAccountNo>string</FullAccountNo> <FullPartNo>string</FullPartNo> <Quant>string</Quant> <PONumber>string</PONumber> <AdditionalInfo>string</AdditionalInfo> <ServiceLevel>string</ServiceLevel> </ShipOrder> </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> <ShipOrderResponse xmlns="http://eKeystone.com"> <ShipOrderResult>string</ShipOrderResult> </ShipOrderResponse> </soap12:Body> </soap12:Envelope>