Retrieves the settings of the specified report definition (see REPORTCMD_VIEW).
Parameters
Table: reportExecute input parameters
Parameter name
Data type
Description
sessionID
String
Required. The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see logon (Command)).
Required. A set containing zero or more attribute fields.
Table: reportExecute output parameters
Parameter name
Data type
Description
results
ReportResults
Result structure containing return and status codes and a list of zero or more result attribute fields.
The following field attributes are available for the operations of this command:
Table: reportExecute field attributes
Attribute name
Data type
Description
REPORTFLD_ATTACH_REPORT
Boolean
Indicates that the report should be attached to the email notification. This applies to scheduled reports.
REPORTFLD_CHANGE_PERMISSIONS
String
The permission to modify a specific report.
Possible values:
Private. Only the report owner can modify the report definition.
Domain. Only administrators that are in the same domain as the report can modify the report definition.
Public. All administrators in all domains can modify the report definition.
REPORTFLD_CREATE_TIME
DateTime
The date and time the data record was created.
REPORTFLD_DATA_SOURCE
String
Defines the source where to collect the data from when running a specific report.
Possible values:
Users.
Users + Audit.
Digipass.
Digipass + Audit.
Clients.
Audit.
Users + Digipass.
REPORTFLD_DOMAIN
String
Up to 255 characters.
REPORTFLD_FORMAT_NAME
String
The report output format.
Possible values:
PDF
HTML
XML
REPORTFLD_GROUP_LEVEL
String
Defines how the report data will be grouped.
Possible values:
Clients. Each (physical) client connected will be represented individually.
Domains.
Organizational Units. If you set this value for detailed or list reports, the data for all the users in that organizational unit will be added together and represented only once under the organizational unit.
Users. If you set this value for detailed or list reports, each user will be represented individually.
Digipass.
REPORTFLD_MODIFY_TIME
DateTime
The date and time the data record was last modified.
REPORTFLD_QUERY_DEFINITION
String
One ore more XML-formatted report queries.
Up to 1024 characters.
REPORTFLD_QUERY_FOR
String
The record types to query for. Applicable for certain queries only.
Possible values:
change
run
REPORTFLD_REPORT_DATA
String
Contains the actual report.
REPORTFLD_REPORT_DESC
String
Up to 64 characters.
REPORTFLD_REPORT_FILE_NAME
String
Up to 255 characters.
REPORTFLD_REPORT_ID
String
Up to 255 characters.
REPORTFLD_REPORT_NAME
String
Up to 64 characters.
REPORTFLD_REPORT_TYPE
String
Possible values:
Detail
List
Trend
Distribution
Query
REPORTFLD_RUN_PERMISSIONS
String
The permission to run a specific report.
Possible values:
Private. Only the report owner can run the report.
Domain. Only administrators that are in the same domain as the report can run the report.
Public. All administrators in all domains can run the report.
REPORTFLD_SCHEDULE
Boolean
Indicates whether the report is scheduled.
Possible values:
true
false
REPORTFLD_SCHEDULE_DATE
String
Format: DD/MM/YYYY
Example: 20/07/2013
REPORTFLD_SCHEDULE_MONTH_DAY
String
Day of the month for which the report task is scheduled, if recurring monthly.
Possible values: 1–31
REPORTFLD_SCHEDULE_MONTHS
String
Scheduled month for the recurring report task. Space-separated list of applicable months.
REPORTFLD_SCHEDULE_NOTIFY
String
Method of notification.
Possible values:
None
SMS
Email
REPORTFLD_SCHEDULE_RECURRENCE
String
Recurrence type.
Possible values:
None
Daily
Monthly
REPORTFLD_SCHEDULE_TIME
DateTime
Format: hh:mm
Use 24-hour time. For example: 21:00
REPORTFLD_SCHEDULE_WEEKDAYS
String
The scheduled day of the week for a recurring report task. Space-separated list of applicable days.
REPORTFLD_TIME_FREQUENCY
String
Possible values:
Hour
Day
Month
Year
REPORTFLD_TIMEZONE
String
Times displayed in the report are converted to this timezone
REPORTFLD_USERID
String
Up to 1024 characters.
REPORTCMD_CREATE
Creates a new report definition.
The following attributes can be specified in the attributeSet input parameter of this command:
Generates the specified report. The generated report can be downloaded using the reportfiledownloadmtom command (see reportfiledownloadmtom (Command)).
The following attributes can be specified in the attributeSet input parameter of this command:
Table: REPORTCMD_RUN (Supported input attributes)
Attribute name
Optionality
REPORTFLD_DOMAIN
Mandatory
REPORTFLD_FORMAT_NAME
Optional
REPORTFLD_QUERY_DEFINITION
Optional
REPORTFLD_REPORT_ID
Mandatory
REPORTFLD_SCHEDULE
Optional
REPORTFLD_SCHEDULE_DATE
Optional
REPORTFLD_SCHEDULE_MONTH_DAY
Optional
REPORTFLD_SCHEDULE_MONTHS
Optional
REPORTFLD_SCHEDULE_NOTIFY
Optional
REPORTFLD_SCHEDULE_RECURRENCE
Optional
REPORTFLD_SCHEDULE_TIME
Optional
REPORTFLD_SCHEDULE_WEEKDAYS
Optional
Only the REPORTFLD_REPORT_FILE_NAME attribute will be specified in the results output parameter of this command. This attribute is always returned.
Cet article vous a-t-il été utile ?
Merci pour vos commentaires! Notre équipe vous répondra