[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere

Get Script Execution Output

Description

Output object could be in a different format depending on the requested output object format on script execution request. Text and JSON are currently supported. When Text format is requested, the objects produced by the script execution are formatted in a table, the same way Format-Table formats the objects in PowerShell. When JSON format is requested, a custom json formatting is used to serialize the objects produced by the script execution. The JSON objects contain the type name and the full name of the implementing interfaces.

Request

Request

URL

URL


get
https://{api_host}/api/script-executions/{id}/output
Copy

Path Parameters

Path Parameters

string
id Required

Unique identifier of the script execution


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns array of string of type application/json
Errors

Errors

401

Unauthorized


404

Not Found


500

Server Error

Code Samples

Code Samples

cURL Command

curl https://{api_host}/api/script-executions/{id}/output


Feedback

Was this page helpful?