This section shows sample response data for both nonbatch and batch requests.
Sample Responses
Sample response for a request with no batching
The request
http://ats.amazonaws.com?AWSAccessKeyId=1234567890ABCDEFGHIJ &Signature=1234567890abcdefghijABCDEFGH &Timestamp=2006-01-01T00:00:00.000Z &Action=TopSites &ResponseGroup=Country &CountryCode=CN &Count=1
corresponding response:
<?xml version="1.0"?>
<aws:TopSitesResponse xmlns:aws="http://alexa.amazonaws.com/doc/2005-10-05/">
<aws:Response>
<aws:OperationRequest>
<aws:RequestId>9ffc5e13-175e-4c7e-b33b-0efe3501d1f3</aws:RequestId>
</aws:OperationRequest>
<aws:TopSitesResult>
<aws:Alexa>
<aws:TopSites>
<aws:List>
<aws:CountryName>China</aws:CountryName>
<aws:CountryCode>CN</aws:CountryCode>
<aws:TotalSites>671496</aws:TotalSites>
<aws:Sites>
<aws:Site>
<aws:DataUrl>baidu.com</aws:DataUrl>
<aws:Country>
<aws:Rank>1</aws:Rank>
<aws:Reach>
<aws:PerMillion>358000</aws:PerMillion>
</aws:Reach>
<aws:PageViews>
<aws:PerMillion>77410</aws:PerMillion>
<aws:PerUser>11.5</aws:PerUser>
</aws:PageViews>
</aws:Country>
<aws:Global>
<aws:Rank>4</aws:Rank>
</aws:Global>
</aws:Site>
</aws:Sites>
</aws:List>
</aws:TopSites>
</aws:Alexa>
</aws:TopSitesResult>
<aws:ResponseStatus>
<aws:StatusCode>Success</aws:StatusCode>
</aws:ResponseStatus>
</aws:Response>
</aws:TopSitesResponse>
Sample response for a request with batching
The request
http://ats.amazonaws.com?AWSAccessKeyId=1234567890ABCDEFGHIJ &Signature=1234567890abcdefghijABCDEFGH &Timestamp=2006-01-01T00:00:00.000Z &Action=TopSites &TopSites.Shared.ResponseGroup=Country &TopSites.1.CountryCode=CN &TopSites.2.CountryCode=IN &TopSites.Shared.Count=1
corresponding response:
<?xml version="1.0"?>
<aws:TopSitesResponse xmlns:aws="http://alexa.amazonaws.com/doc/2005-10-05/">
<aws:Response>
<aws:OperationRequest>
<aws:RequestId>6fa8baa5-11ab-402c-a2fa-42976ad451fb</aws:RequestId>
</aws:OperationRequest>
<aws:TopSitesResult>
<aws:Alexa>
<aws:TopSites>
<aws:List>
<aws:CountryName>China</aws:CountryName>
<aws:CountryCode>CN</aws:CountryCode>
<aws:TotalSites>671496</aws:TotalSites>
<aws:Sites>
<aws:Site>
<aws:DataUrl>baidu.com</aws:DataUrl>
<aws:Country>
<aws:Rank>1</aws:Rank>
<aws:Reach>
<aws:PerMillion>358000</aws:PerMillion>
</aws:Reach>
<aws:PageViews>
<aws:PerMillion>77410</aws:PerMillion>
<aws:PerUser>11.5</aws:PerUser>
</aws:PageViews>
</aws:Country>
<aws:Global>
<aws:Rank>4</aws:Rank>
</aws:Global>
</aws:Site>
</aws:Sites>
</aws:List>
</aws:TopSites>
</aws:Alexa>
</aws:TopSitesResult>
<aws:ResponseStatus>
<aws:StatusCode>Success</aws:StatusCode>
</aws:ResponseStatus>
</aws:Response>
<aws:Response>
<aws:OperationRequest>
<aws:RequestId>6fa8baa5-11ab-402c-a2fa-42976ad451fb</aws:RequestId>
</aws:OperationRequest>
<aws:TopSitesResult>
<aws:Alexa>
<aws:TopSites>
<aws:List>
<aws:CountryName>India</aws:CountryName>
<aws:CountryCode>IN</aws:CountryCode>
<aws:TotalSites>283140</aws:TotalSites>
<aws:Sites>
<aws:Site>
<aws:DataUrl>yahoo.com</aws:DataUrl>
<aws:Country>
<aws:Rank>1</aws:Rank>
<aws:Reach>
<aws:PerMillion>629000</aws:PerMillion>
</aws:Reach>
<aws:PageViews>
<aws:PerMillion>182750</aws:PerMillion>
<aws:PerUser>20.8</aws:PerUser>
</aws:PageViews>
</aws:Country>
<aws:Global>
<aws:Rank>1</aws:Rank>
</aws:Global>
</aws:Site>
</aws:Sites>
</aws:List>
</aws:TopSites>
</aws:Alexa>
</aws:TopSitesResult>
<aws:ResponseStatus>
<aws:StatusCode>Success</aws:StatusCode>
</aws:ResponseStatus>
</aws:Response>
</aws:TopSitesResponse>