How To Use Amazon MWS To Download Unshipped Order Reports

时间:2022-06-25 19:41:04

文章来源:http://www.samswiches.com/2011/02/how-to-use-amazon-mws-to-download-unshipped-order-reports/

accessKeyId,
              secretAccessKey,
              applicationName,
              applicationVersion,
              config);
  
    
 RequestReportRequest reportRequestRequest =  reportRequestRequest.Merchant = merchantId;
 reportRequestRequest.Marketplace = marketplaceId;
 reportRequestRequest.ReportType =   
 RequestReportResponse requestResponse = service.RequestReport(reportRequestRequest);
 Thread.Sleep();       GetReportListRequest listRequest =  listRequest.Merchant = merchantId;
 listRequest.Marketplace = marketplaceId;
 GetReportListResponse listResponse = service.GetReportList(listRequest);
  
 GetReportListResult getReportListResult = listResponse.GetReportListResult;
 List<ReportInfo> reportInfoList = getReportListResult.ReportInfo;
 ReportInfo myReportInfo = reportInfoList[];
  
 GetReportRequest reportRequest =  reportRequest.Merchant = merchantId;
 reportRequest.Marketplace = marketplaceId;
  
 String source = path +  reportRequest.ReportId = myReportInfo.ReportId;
 reportRequest.Report = File.Open(source, FileMode.Create, FileAccess.ReadWrite);
 service.GetReport(reportRequest);
  
 GetReportRequestListRequest reportRequestListRequest =  reportRequestListRequest.Marketplace = marketplaceId;
 reportRequestListRequest.Merchant = merchantId;
 List<ReportRequestInfo> myListzz =   
 GetReportRequestListResponse reportRequestListResponse =  reportRequestListResponse = service.GetReportRequestList(reportRequestListRequest);
 GetReportRequestListResult reportRequestListResult =  reportRequestListResult = reportRequestListResponse.GetReportRequestListResult;
 myListzz = reportRequestListResult.ReportRequestInfo;
  
 ].ReportProcessingStatus.ToString() !=       {
            lblStatus.Text =             Thread.Sleep();
            reportRequestListResponse = service.GetReportRequestList(reportRequestListRequest);
            reportRequestListResult = reportRequestListResponse.GetReportRequestListResult;
            myListzz = reportRequestListResult.ReportRequestInfo;