 |
Photo Search Data Method
|
|
|
|
Submitting Photo Queries
The Photo Search Data service allows you to search the Image Server for images for
businesses in the infoUSA
business database. It can handle encrypted iusa numbers when there are available.
Contact Support for information about encryption. It Returns the URL, Thumbnail
URL, Iusa (if encrypted), and the Date the photos was taken, for the specified IUSA
and View
Request URL
https://businessphotosusa.com/PWS002
Request parameters
See information on constructing REST queries
|
Parameter
|
Value
|
Description
|
|
_username
|
bilbo
|
string (required) - username as agreed to in contract
|
|
_password
|
baggins
|
string (required) - password as agreed to in contract
|
|
_iusa
|
003267960
|
string (required) - iUSA number for the business
|
|
_view
|
close
|
string (required) - view of photo <CLOSE, WIDE, or PRIMARY> |
Sample Request Url:
https://businessphotosusa.com/PWS002/getphoto.asmx/PhotoSearchView?_username=bilbo&_password=baggins&_iusa=003267960&_view=close
Sample Photo:
https://businessphotosusa.com/imagedb/img/US/68046/2005/US-68046-999999999_2005-03-09-14-57-394088.jpg
Response fields
The schema document for this service response returns:
|
Field
|
Description
|
|
dataset
|
Contains all of the query responses.
|
|
photos
|
Contains each individual response.
|
|
url
|
The URL for the image file.
|
|
thumbnail
|
The URL of the thumbnail image file, if there is one.
|
|
date_taken
|
The Date the photo was taken.
|
Errors
Photo Search view returns nothing if there was an error. There are no service-specific
errors.
|
|
|
Entire site copyright © 1998- 2008,
infoUSA.
Last updated
Tuesday, April 24, 2007
|
|