Get the Value of the Specified Variable

Gets the value of the specified variable.

Variable values can be queried only when the script status is RanToCompletion or Faulted.

Note: 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:

Get the value of the specified variable

URI

https://bartendercloud.com/api/actions/{id}/variables/{variableName}

Note: The bartendercloud.com domain that is referenced in the URI must be replaced with the contents of the DataCenterURI claim that is extracted from your access token. For more information, refer to Extracting the DataCenterURI Claim.

Path Parameters

id

Type: String <uuid>

Specifies the ID of the script. Required.

variableName

Type: String

Specifies the name of the variable. Example: EventTime. Required.

Query Parameters

None.