Amazon Product Advertising API Developer's Manual page 69

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
The following is an example of an
http://webservices.amazon.com/onca/xml?Service=AWSECommerceServic
e&AWSAccessKeyId=00000000000000000000&Operation=ItemLookup&ItemId
=0679722769&ResponseGroup=ItemAttributes,Offers,Images,Reviews&Ve
rsion=2009-01-06
Steps to Sign the Example Request
1.
Enter the timestamp. For this example, we'll use the UTC time 2009-01-01T12:00:00Z
http://webservices.amazon.com/onca/xml?Service=AWSECommerceServic
e&AWSAccessKeyId=00000000000000000000&Operation=ItemLookup&ItemId
=0679722769&ResponseGroup=ItemAttributes,Offers,Images,Reviews&Ve
rsion=2009-01-06&Timestamp=2009-01-01T12:00:00Z
2.
URL encode the request's comma (,) and colon (:) characters, so that they don't get misinterpreted.
For more information about converting to RFC 3986 specifications, see documentation and code
samples for your programming language.
http://webservices.amazon.com/onca/xml?Service=AWSECommerceServic
e&AWSAccessKeyId=00000000000000000000&Operation=ItemLookup&ItemId
=0679722769&ResponseGroup=ItemAttributes%2COffers%2CImages%2CRevi
ews&Version=2009-01-06&Timestamp=2009-01-01T12%3A00%3A00Z
Important
Be sure that you do not double-escape any characters.
3.
Split the parameter/value pairs and delete the ampersand characters (&) so that the example looks
like the following:
Service=AWSECommerceService
AWSAccessKeyId=00000000000000000000
Operation=ItemLookup
ItemId=0679722769
ResponseGroup=ItemAttributes%2COffers%2CImages%2CReviews
Version=2009-01-06
Timestamp=2009-01-01T12%3A00%3A00Z
4.
Sort your parameter/value pairs by byte value (not alphabetically, lowercase parameters will be listed
after uppercase ones).
AWSAccessKeyId=00000000000000000000
ItemId=0679722769
Operation=ItemLookup
ResponseGroup=ItemAttributes%2COffers%2CImages%2CReviews
Service=AWSECommerceService
Timestamp=2009-01-01T12%3A00%3A00Z
Version=2009-01-06
Request Authentication
ItemLookup (p. 189)
request:
API Version 2011-08-01
62

Advertisement

Table of Contents
loading

Table of Contents