Batch Requests - Amazon Product Advertising API Developer's Manual

Api version 2011-08-01
Table of Contents

Advertisement

Product Advertising API Developer Guide
To calculate the signature
1.
Concatenate the values of the Action and Timestamp request parameters, in that order.
The string you've just created is the string you'll use when generating the signature.
2.
Calculate an RFC 2104-compliant HMAC-SHA256 signature, using the string you just created and
your Secret Access Key as the key.
3.
Convert the resulting value to base64.
4.
Pass this final value in the Signature parameter of the SOAP request.
Location of Authentication Information in the Request
With version 2011-08-01, you must provide the authentication information as elements in the SOAP
header (using the namespace http://security.amazonaws.com/doc/2007-01-01/), as in the following
example.
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
<soap:Header
xmlns:aws="http://security.amazonaws.com/doc/2007-01-01/">
<aws:AWSAccessKeyId>1D9FVRAYCP1VJS767E02EXAMPLE</aws:AWSAccessKeyId>
<aws:Timestamp>2008-02-10T23:59:59Z</aws:Timestamp>
<aws:Signature>SZf1CHmQnrZbsrC13hCZS061ywsEXAMPLE</aws:Signature>
</soap:Header>
...
</soap:Envelope>

Batch Requests

Topics
Batch Requests (p. 72)
The requests presented so far contain only one operation. Product Advertising API enables you to improve
performance by submitting more than one request at the same time. There are two ways to do this:
• Batch request—A request that uses one operation with up to two sets of parameters.
• Multiple ItemIds—In an ItemLookup request, you can include up to ten comma-separated values for
ItemId .
Batch Requests
Topics
Parameters That Differ (p. 73)
Shared Parameters (p. 74)
Performing Multiple ItemLookups in One Request (p. 74)
There might be times when you want to use the same operation in two requests, each one using different
input parameters. For example, you might want to run an ItemLookup request several times, each time
looking up a different item. To accomplish this task, you can submit two requests or one batch request.
Batch Requests
API Version 2011-08-01
72

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Product Advertising API and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents