Image Search - Web Service
Click here for a complete list of operations.
FreeTextSearch
Search the collection using the given free text search query string and return the results complete with the metadata. This operation yields identical results to the Search Box on our websites
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/FreeTextSearch"
<?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>
<FreeTextSearch xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
<SearchSessionId>string</SearchSessionId>
<SearchQuery>string</SearchQuery>
<RequestType>ADVANCED or FREETEXT or REFRESH or PAGENUMBER or NARROW or CURRENT</RequestType>
<Filters>
<ImageSearchFilter>
<Field>RIGHTSMANAGED or ROYALTYFREE or HIRES or PREMIUM or EXCLUSIVE or PHOTOGRAPHY or ILLUSTRATED or COLOR or BLACKWHITE or PORTRAIT or LANDSCAPE or PANORAMIC or MODELRELEASE or PROPERTYRELEASE or SIMILAR</Field>
<Operator>On or Off</Operator>
</ImageSearchFilter>
<ImageSearchFilter>
<Field>RIGHTSMANAGED or ROYALTYFREE or HIRES or PREMIUM or EXCLUSIVE or PHOTOGRAPHY or ILLUSTRATED or COLOR or BLACKWHITE or PORTRAIT or LANDSCAPE or PANORAMIC or MODELRELEASE or PROPERTYRELEASE or SIMILAR</Field>
<Operator>On or Off</Operator>
</ImageSearchFilter>
</Filters>
<PageNumber>int</PageNumber>
<PageSize>int</PageSize>
<ImageSize>No_Image or Thumb_Link or EnlargedThumb_Link or CompSize_Link or Thumb_Binary</ImageSize>
<SelectedOutputFields>
<string>string</string>
<string>string</string>
</SelectedOutputFields>
<UserID>string</UserID>
<HashedPassword>string</HashedPassword>
<PRCode>string</PRCode>
<Timestamp>dateTime</Timestamp>
</FreeTextSearch>
</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>
<FreeTextSearchResponse xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
<FreeTextSearchResult>
<SearchID>string</SearchID>
<SearchSessionID>string</SearchSessionID>
<SearchQuery>string</SearchQuery>
<PageNumber>int</PageNumber>
<PageSize>int</PageSize>
<ResultCount>int</ResultCount>
<TotalResultCount>long</TotalResultCount>
<LastPage>boolean</LastPage>
<Results>string</Results>
</FreeTextSearchResult>
</FreeTextSearchResponse>
</soap:Body>
</soap:Envelope>