public class ReportService extends Object
| Constructor and Description |
|---|
ReportService(RestClient client,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
CompletionReport |
downloadCompletionReport(PackageStatus packageStatus,
Date from,
Date to)
Downloads the completion report from all senders
|
CompletionReport |
downloadCompletionReport(PackageStatus packageStatus,
String senderId,
Date from,
Date to)
Downloads the completion report from a sender
|
String |
downloadCompletionReportAsCSV(PackageStatus packageStatus,
Date from,
Date to)
Downloads the completion report from all senders in csv format.
|
String |
downloadCompletionReportAsCSV(PackageStatus packageStatus,
String senderId,
Date from,
Date to)
Downloads the completion report from a sender in csv format.
|
DelegationReport |
downloadDelegationReport()
Downloads the delegation report.
|
DelegationReport |
downloadDelegationReport(Date from,
Date to)
Downloads the delegation report.
|
DelegationReport |
downloadDelegationReport(String senderId,
Date from,
Date to)
Downloads the delegation report.
|
String |
downloadDelegationReportAsCSV()
Downloads the delegation report in csv format.
|
String |
downloadDelegationReportAsCSV(Date from,
Date to)
Downloads the delegation report in csv format.
|
String |
downloadDelegationReportAsCSV(String senderId,
Date from,
Date to)
Downloads the delegation report in csv format.
|
UsageReport |
downloadUsageReport(Date from,
Date to)
Downloads the usage report.
|
String |
downloadUsageReportAsCSV(Date from,
Date to)
Downloads the usage report in csv format.
|
public ReportService(RestClient client, String baseUrl)
public CompletionReport downloadCompletionReport(PackageStatus packageStatus, String senderId, Date from, Date to)
packageStatus - Status of the packagessenderId - Id of the senderfrom - Starting dateto - Ending datepublic String downloadCompletionReportAsCSV(PackageStatus packageStatus, String senderId, Date from, Date to)
packageStatus - Status of the packagessenderId - Id of the senderfrom - Starting dateto - Ending datepublic CompletionReport downloadCompletionReport(PackageStatus packageStatus, Date from, Date to)
packageStatus - Status of the packagesfrom - Starting dateto - Ending datepublic String downloadCompletionReportAsCSV(PackageStatus packageStatus, Date from, Date to)
packageStatus - Status of the packagesfrom - Starting dateto - Ending datepublic UsageReport downloadUsageReport(Date from, Date to)
from - Starting dateto - Ending datepublic String downloadUsageReportAsCSV(Date from, Date to)
from - Starting dateto - Ending datepublic DelegationReport downloadDelegationReport()
public DelegationReport downloadDelegationReport(Date from, Date to)
from - Starting dateto - Ending datepublic DelegationReport downloadDelegationReport(String senderId, Date from, Date to)
senderId - Id of the senderfrom - Starting dateto - Ending datepublic String downloadDelegationReportAsCSV()
public String downloadDelegationReportAsCSV(Date from, Date to)
from - Starting dateto - Ending dateCopyright 2022 OneSpan All rights reserved.