WSElectronicOrder


Click here for a complete list of operations.

GetImagePartInformation

This web service method provides product image information.

Input Values:
Key (String) - Web service security key assigned by Keystone.
FullAccountNo (String) - Full 5-7 character account number provided by Keystone.
PartNumbers (String) - A comma separated list of full part numbers, which includes the Keystone vendor line code and the Keystone part number. A maximum of 10 parts is allowed per call.
ImageSize (String) - The size of the image to be returned: 'ThumbNail' (Default), 'Small', 'Medium', or 'Large'.
Output - Returns a dataset containing the following: VCPN (FullPartNumber), Message, ImageLocationURL, MediaTypeName, Representation.
____ MediaTypeName may be 'Image' or an empty string.
____ Representation may be 'Actual' for actual image, 'Representation' for not actual image, and 'None' for no image found.

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

<?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>
    <GetImagePartInformation xmlns="http://eKeystone.com">
      <Key>string</Key>
      <FullAccountNo>string</FullAccountNo>
      <PartNumbers>string</PartNumbers>
      <ImageSize>string</ImageSize>
    </GetImagePartInformation>
  </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>
    <GetImagePartInformationResponse xmlns="http://eKeystone.com">
      <GetImagePartInformationResult>
        <xsd:schema>schema</xsd:schema>xml</GetImagePartInformationResult>
    </GetImagePartInformationResponse>
  </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>
    <GetImagePartInformation xmlns="http://eKeystone.com">
      <Key>string</Key>
      <FullAccountNo>string</FullAccountNo>
      <PartNumbers>string</PartNumbers>
      <ImageSize>string</ImageSize>
    </GetImagePartInformation>
  </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>
    <GetImagePartInformationResponse xmlns="http://eKeystone.com">
      <GetImagePartInformationResult>
        <xsd:schema>schema</xsd:schema>xml</GetImagePartInformationResult>
    </GetImagePartInformationResponse>
  </soap12:Body>
</soap12:Envelope>