Legacy | Download execution report
Downloads the execution report specified by the report key.
The report does not include execution images or video.
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=download&securityToken=value[&optionalParameter=value]
Parameters
Name | Type | Default | Description |
---|---|---|---|
securityToken* | string |
|
A unique cryptographic key assigned to an authorized user. |
admin | boolean | false | true - allow admin users to download reports of executions started by other automation users. |
owner | string |
|
The username of the report owner. Used in conjunction with the admin parameter to determine 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. |
format | string | xml |
The format in which to download the report. Values: xml, html, csv, pdf |
responseFormat | string | json |
The response format: xml, json |
* Mandatory
Response
The response is the body of the report formatted according to the specified format. The HTTP content type for the response is set as follows:
Report Format | HTTP Content Type |
---|---|
xml | text/xml |
html | text/html |
csv | text/csv |
application/pdf |