Image Search - Web Service


Click here for a complete list of operations.

GetUserStatus

Subscribers to on-line services may have special constraints depending on terms of subscription; Use this method to determine the state of the users subscription if your application is written for subscription accounts.

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

<?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>
    <GetUserStatus xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
      <userId>string</userId>
      <hashedPassword>string</hashedPassword>
      <prCode>string</prCode>
      <timestamp>dateTime</timestamp>
    </GetUserStatus>
  </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>
    <GetUserStatusResponse xmlns="http://webservice.indexstock.com/imagesearch/2003/07/15/">
      <GetUserStatusResult>
        <DailyHiresDownloadLimit>int</DailyHiresDownloadLimit>
        <DailyFullDownloadLimit>int</DailyFullDownloadLimit>
        <DailyChubbyDownloadLimit>int</DailyChubbyDownloadLimit>
        <DailyThumbDownloadLimit>int</DailyThumbDownloadLimit>
        <TodaysHiresDownloadCount>int</TodaysHiresDownloadCount>
        <TodaysFullDownloadCount>int</TodaysFullDownloadCount>
        <TodaysChubbyDownloadCount>int</TodaysChubbyDownloadCount>
        <TodaysThumbDownloadCount>int</TodaysThumbDownloadCount>
        <TotalHiresDownloadCount>int</TotalHiresDownloadCount>
        <TotalFullDownloadCount>int</TotalFullDownloadCount>
        <TotalChubbyDownloadCount>int</TotalChubbyDownloadCount>
        <TotalThumbDownloadCount>int</TotalThumbDownloadCount>
        <SubscriptionHasExpired>boolean</SubscriptionHasExpired>
        <SubscriptionStartDate>dateTime</SubscriptionStartDate>
        <SubscriptionEndDate>dateTime</SubscriptionEndDate>
      </GetUserStatusResult>
    </GetUserStatusResponse>
  </soap:Body>
</soap:Envelope>