Sample REST Use Case
The following request illustrates the XML response elements returned by Request.
http://webservices.amazon.com/onca/xml?
Service=AWSECommerceService&
AWSAccessKeyId=
[AWS Access Key ID]
&
Operation=ItemSearch&
SearchIndex=Books&
Title=Harry%20Potter&
Version=2011-08-01
&Timestamp=[YYYY-MM-DDThh:mm:ssZ]
&Signature=[Request Signature]
Sample Response Snippet
The following response snippet shows the elements returned by Request.
<OperationRequest>
<HTTPHeaders>
<Header Name="UserAgent" Value="Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.1; SV1; FunWebProducts; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" />
</HTTPHeaders>
<RequestId>00KE1E5MWR4KXX0V1WYD</RequestId>
<Arguments>
<Argument Name="SearchIndex" Value="Books" />
<Argument Name="Service" Value="AWSECommerceService" />
<Argument Name="Title" Value="Harry Potter" />
<Argument Name="Operation" Value="ItemSearch" />
<Argument Name="AWSAccessKeyId" Value="[VALUE]" />
<Argument Name="Version" Value="2011-08-01" />
</Arguments>
<RequestProcessingTime>
0.3419508934021
</RequestProcessingTime>
</OperationRequest>
<Items>
<Request>
<IsValid>True</IsValid>
<ItemSearchRequest>
<SearchIndex>Books</SearchIndex>
<Title>Harry Potter</Title>
</ItemSearchRequest>
</Request>
Reviews Response Group
The reviews response group returns the URL to an iframe that contains customer reviews.You can embed
the iframe on any web page to display the response content.
Important
Each iframe URL is valid for 24 hours. If the iframe URL expires, you will receive a
403
Forbidden
error code.
API Version 2011-08-01
268
Product Advertising API Developer Guide
Reviews Response Group