Endpoint Get XML Report (Live)
Name
RequestReportXml
Description
Returns data from XML Reports listed here http://docs.developer.amazonservices.com/en_US/reports/Reports_ReportType.html
Parameters
| Parameter | Required | Options | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Name:
Label: ReportType |
YES |
|
||||||||||||||||||||||||||||||||||||||
|
Name:
Label: StartDate Report Start date if applicable - Must be UTC date in ISO format e.g. (2020-01-31T00:00:00Z). |
||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: EndDate Report End date if applicable - Must be UTC date in ISO format e.g. (2020-01-31T00:00:00Z). |
||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: ReportOptions |
|
|||||||||||||||||||||||||||||||||||||||
|
Name:
Label: Version |
||||||||||||||||||||||||||||||||||||||||
|
Name:
Label: MarketplaceIdList |
|
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If the column you are looking for is missing, consider customizing Amazon MWS Connector.
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use Amazon MWS Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Amazon MWS
Read and write Amazon MWS data effortlessly. Integrate, manage, and automate listings, orders, payments, and reports — almost no coding required.
Amazon MWS
Get XML Report (Live)
| Required Parameters | |
|---|---|
| ReportType | Fill-in the parameter... |
| Optional Parameters | |
| StartDate | |
| EndDate | |
| ReportOptions | |
| Version | 2009-01-01 |
| DateParseHandling | DateTime |
API Destination
API Destination - Amazon MWS
Read and write Amazon MWS data effortlessly. Integrate, manage, and automate listings, orders, payments, and reports — almost no coding required.
Amazon MWS
Get XML Report (Live)
| Required Parameters | |
|---|---|
| ReportType | Fill-in the parameter... |
| Optional Parameters | |
| StartDate | |
| EndDate | |
| ReportOptions | |
| Version | 2009-01-01 |
| DateParseHandling | DateTime |
ODBC application
Use these SQL queries in your ODBC application data source:
Get xml report
SELECT * FROM RequestReportXml
WITH
(
"ReportType" = 'abcd-1234-reporttype'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Get xml report
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM RequestReportXml
WITH
(
"ReportType" = ''abcd-1234-reporttype''
)';
EXEC (@MyQuery) AT [LS_TO_AMAZON_MWS_IN_GATEWAY];