The getReportHandle command returns all the report handles available to the calling user.
Class |
Name |
Type |
Required |
Details |
GetReportHandleRequest |
userId |
String |
Yes |
The caller's user name |
GetReportHandleRequest |
password |
String |
Yes |
The caller's password |
Class |
Name |
Type |
Required |
Details |
GetReportHandleResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
GetReportHandleResponse |
returnCode |
String |
No |
See Appendix for details |
GetReportHandleResponse |
returnMessage |
String |
No |
Human readable message |
GetReportHandleResponse |
reportHandles |
Array[] |
No |
The date the attachment was added to the item |
ReportHandle |
reportId |
int |
Yes |
The report Id |
ReportHandle |
owner |
String |
Yes |
PUBLIC, PRIVATE or UNKNOWN |
ReportHandle |
reportType |
String |
Yes |
See the Appendix on Report Type Table |
ReportHandle |
ReportTitle |
String |
Yes |
The title of the report |
ReportHandle |
reportDesc |
String |
Yes |
The description of the report |
public static void testGetReportHandle(EVQueryServiceStub stub) {
try { GetReportHandleDocument reqEnvelope = GetReportHandleDocument.Factory.newInstance(); GetReportHandleRequest request = reqEnvelope.addNewGetReportHandle().addNewRequest(); request.setUserId(ServiceClientHelper.ADMIN_USER_ID); GetReportHandleResponseDocument resEnvelope = stub.getReportHandle(reqEnvelope); if (response.getSuccess()) { for (ReportHandle reportHandle : response.getReportHandlesArray()) { |