获取脚本的运行状态

软件教程 admin 2024-04-24 08:55 185 0

获取脚本的运行状态

获取脚本的运行状态。


For more information about this command, including descriptions of any path and request parameters, request body schema, response codes and schemas, and payload examples, refer to the online API reference for this command at the following web page:


获取脚本的运行状态

URI

http://localhost:5159/api/actions/{Id}

Path Parameters

Id

类型:字符串

Specifies the ID of the script.Required.

Query Parameters

MessageCount

类型:Integer <int32>

Specifies the maximum number of messages that are retrieved after the wait period elapses and the script runs successfully.When the MessageCount parameter is greater than 0, the specified number of the last logged messages is retrieved.The default value is 0.Optional.


MessageSeverity

类型:字符串

Specifies the types of messages that are retrieved after the wait period elapses and the script runs successfully.Valid values are "Error", "Warning", and "Info".When "Error" is specified, only messages that have a severity level of "Error" are retrieved.When "Warning" is specified, messages that have a severity level of "Error" or "Warning" are retrieved.When "Info" is specified, all messages are retrieved.The default value is "Error."Optional.


变量

类型:字符串

Specifies the variables that should be returned.Multiple variable names can be concatenated by using a comma (,), such as "PrintJobStatus,Response".A wildcard character (*) can be used to specify all variables.If the variable value is binary data, a URL is returned for retrieving that binary data.Note that variables are returned only when the script status is RanToCompletion or Faulted.Optional.


评论区