Amazon Services
Amazon Marketplace Web Service (Amazon MWS) Documentation
Amazon MWS Documentation

GetReportCount

Returns a count of the reports, created in the previous 90 days, with a status of _DONE_ and that are available for download.

Description

The GetReportCount operation returns a count of the reports, created in the previous 90 days, that are available for download.

Availability

This operation is available in all marketplaces.

Throttling

Maximum request quota Restore rate Hourly request quota
10 requests One request every 45 seconds 80 requests per hour
For definitions of throttling terminology and for a complete explanation of throttling, see Throttling: Limits to how often you can submit requests in the Amazon MWS Developer Guide.

Request parameters

For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.

Name Description Required Values
ReportTypeList A structured list of ReportType enumeration values. No Default: All

Type: xs:string

Acknowledged A Boolean value that indicates if an order report has been acknowledged by a prior call to UpdateReportAcknowledgements. Set to true to list order reports that have been acknowledged; set to false to list order reports that have not been acknowledged. This filter is valid only with order reports; it does not work with listing reports. No Default: All

Type: xs:boolean

AvailableFromDate The earliest date you are looking for, in ISO 8601 date time format. No Default: 90 days ago

Type: xs:dateTime

AvailableToDate The most recent date you are looking for, in ISO 8601 date time format. No Default: Now

Type: xs:dateTime

Examples

Example query request

For information about standard request requirements, see Required request parameters.

Show example code Hide example code

POST /Reports/2009-01-01 HTTP/1.1
Content-Type: x-www-form-urlencoded
Host: mws.amazonservices.com
User-Agent: <Your User Agent Header>

AWSAccessKeyId=0PB842EXAMPLE7N4ZTR2
&Action=GetReportCount
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
&Marketplace=ATVPDKIKX0DER
&ReportTypeList.Type.1=_GET_ORDERS_DATA_
&SellerId=A1XEXAMPLE5E6
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2009-02-04T18%3A12%3A20.296Z
&Version=2009-01-01
&Signature=AV6JVsC3JvgEXAMPLERL685cP64%3D

↑ Top

Example response

For information about standard response formatting, see Response format.

Show example code Hide example code

<?xml version="1.0"?>
<GetReportCountResponse
    xmlns="http://mws.amazonservices.com/doc/2009-01-01/">
    <GetReportCountResult>
        <Count>166</Count>
    </GetReportCountResult>
    <ResponseMetadata>
        <RequestId>a497aadb-5ea1-49bf-aa14-dabe914465e3</RequestId>
    </ResponseMetadata>
</GetReportCountResponse>

↑ Top