Description | Example | Return Message | Group(s)

SCHED: GetResourceInfoJson

Format

SCHED / GetResourceInfoJson '<ResourceName>' '<FileName>'

Description

The SCHED GetResourceInfoJson Connect command returns all of the attributes of the resource specified by the <ResourceName> parameter in JSON format.

Parameters

  • ResourceName: The parameter is a string of text in single quotes of a comma delimited list of resource names. Resource names should not be in quotes. Supports the use of wildcards.
  • FileName: The parameter is a string of text in single quotes of the absolute path of the filename. Empty string is allowed if it is not written out to a file.

Examples

Finds the values of all the attributes of the SSR resource in the active schedule and save the file "out.json" located at "C:\Outputs\"
SCHED / GetResourceInfoJson 'SSR' 'C:\Outputs\out.json'

SyntaxExample
<CommandName>SCHED / GetResourceInfoJson
<ResourceName>'SSR'
<FileName>'C:\Outputs\out.json'

Return Message

Connect returns a message that contains all of the attribute data for the resource in JSON format.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

12.0