Legacy | Download execution report image
The <reportKey> is returned by the Start New Script Execution, the Legacy | Get Script Execution Status, or the Legacy | Get Script Executions List operations.
Request syntax
https://mycloud.perfectomobile.com/services/reports/<reportKey>?operation=image&securityToken=value&attachment=value[&optionalParameter=value]
Parameters
Name | Type | Default | Description |
---|---|---|---|
securityToken* | string |
|
A unique cryptographic key assigned to an authorized user. |
user | string |
|
Deprecated. The name of the user running the operation. Important: All REST API commands require authentication through the Perfecto security token. See also Authentication in new APIs.
|
password | string |
|
Deprecated. The password for the user. Important: All REST API commands require authentication through the Perfecto security token. See also Authentication in new APIs.
|
attachment* | string |
|
The image path as it appears in the attachment tag in the report. |
admin | boolean | false | true to allow admin users to download image attachments of execution reports owned by other automation users. |
owner | string |
|
The username of the report owner. This parameter is used in conjunction with the admin parameter to correctly identify the location of reports stored in PRIVATE repositories. For example, if an admin user wants to download a report for an execution owned by the user execUser, and the reportKey is PRIVATE:myReport.xml, specify the parameters as admin=true and owner=execUser. The report named myReport.xml stored under the execUser user's PRIVATE area will be downloaded. |
* Mandatory parameter
Response
The response includes the header information of an HTTP download, with the image included in the body of the response.