Image Search - Web Service


Click here for a complete list of operations.

GetSelectionFields

Return all fields available to the user for the search result meta-data. This method provides the user with our optional set of fields for output. Use this method to acquire a list of fields to pass for your search results.

Test

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

SOAP

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

POST /ImageSearch/2003/07/15/imagesearch.asmx HTTP/1.1
Host: webservices.indexstock.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservice.indexstock.com/imagesearch/2003/07/15/GetSelectionFields"

<?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>
    <GetSelectionFields xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
      <UserID>string</UserID>
      <HashedPassword>string</HashedPassword>
      <PRCode>string</PRCode>
      <Timestamp>dateTime</Timestamp>
    </GetSelectionFields>
  </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>
    <GetSelectionFieldsResponse xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
      <GetSelectionFieldsResult>
        <string>string</string>
        <string>string</string>
      </GetSelectionFieldsResult>
    </GetSelectionFieldsResponse>
  </soap:Body>
</soap:Envelope>