取得指令碼的執行狀態 |
取得指令碼的執行狀態。
|
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: |
http://localhost:5159/api/actions/{Id}
Id
類型:字串
Specifies the ID of the script.Required.
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.