Scenario: Administration
Support: full-sdk
The reportFileExecute command executes report file–related administrative operations.
| Command | Description |
|---|---|
| REPORTFILECMD_CHANGE_OWNERSHIP | Changes the ownership of a report file (see REPORTFILECMD_CHANGE_OWNERSHIP). |
| REPORTFILECMD_DELETE | Deletes a report file (see REPORTFILECMD_DELETE). |
| REPORTFILECMD_TAKE_OWNERSHIP | Takes ownership of a report file (see REPORTFILECMD_TAKE_OWNERSHIP). |
| REPORTFILECMD_VIEW | Views report file details (see REPORTFILECMD_VIEW). |
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)). |
| cmd | ReportFileCmdIDEnum | Required. The operation to be executed. See Table: reportFileExecute commands. |
| attributeSet | ReportFileAttributeSet | Required. A set containing zero or more attribute fields. |
The following field attributes are available for the operations of this command:
REPORTFILECMD_VIEW
Views report file details.
Only the REPORTFILEFLD_REPORTFILE_ID attribute can be specified in the attributeSet input parameter of this command.
The following attributes will be specified in the results output parameter of this command:
REPORTFILECMD_DELETE
Deletes a report file.
Only the REPORTFILEFLD_REPORTFILE_ID attribute can be specified in the attributeSet input parameter of this command.
This command returns no result attributes.
REPORTFILECMD_TAKE_OWNERSHIP
Takes ownership of a report file.
The following attributes can be specified in the attributeSet input parameter of this command:
| Attribute name | Optionality |
|---|---|
| REPORTFILEFLD_DOMAIN_NAME | Mandatory |
| REPORTFILEFLD_REPORTFILE_ID | Mandatory |
| REPORTFILEFLD_USER_ID | Mandatory |
The following attributes will be specified in the results output parameter of this command:
REPORTFILECMD_CHANGE_OWNERSHIP
Changes the ownership of a report file.
The following attributes can be specified in the attributeSet input parameter of this command:
| Attribute name | Optionality |
|---|---|
| REPORTFILEFLD_DOMAIN_NAME | Mandatory |
| REPORTFILEFLD_REPORTFILE_ID | Mandatory |
| REPORTFILEFLD_USER_ID | Mandatory |
The following attributes will be specified in the results output parameter of this command: