Skip to content

Commit c4040e7

Browse files
committed
report RDT sample
1 parent 426c627 commit c4040e7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,19 @@ parameters.reportOptions = new AmazonSpApiSDK.Models.Reports.ReportOptions();
205205
var report= amazonConnection.Reports.CreateReport(parameters);
206206
```
207207

208+
### Get Report with PII
209+
210+
```Csharp
211+
212+
//use this method automatically know if the report are RDT or not
213+
var data2 = amazonConnection.Reports.CreateReportAndDownloadFile(ReportTypes.GET_EASYSHIP_DOCUMENTS, startDate, null, null);
214+
215+
// OR USE this method to get the document and pass parameter isRestrictedReport = true in case the report will return PII data
216+
217+
var data = amazonConnection.Reports.GetReportDocument("50039018869997",true);
218+
```
219+
220+
208221
### Report Manager 🚀🧑‍🚀✨
209222
Easy way to get the report you need and convert the file return from amazon to class or list, this feature only ready for some reports as its will take much times to finish for [All report type](https://github.com/amzn/selling-partner-api-docs/blob/main/references/reports-api/reporttype-values.md) ....
210223
```CSharp

0 commit comments

Comments
 (0)