Description | Example | Return Message | Group(s)

EditResConstraintGroup

HTTP Request Format

PATCH api/ResourceConstraintGroup/{groupName}

To specify the schedule the command shall be sent to:

PATCH api/schedule/{scheduleName}/ResourceConstraintGroup/{groupName}

Description

The EditResConstraintGroup REST API command updates an existing resource constraint group for use in defining task resource requirement logical formulas. For additional information about defining and applying resource constraint groups, see the description of the task Resources Required tab. Possibilities will need to be recreated for any tasks that utilize the altered resource constraint group.

Parameters

If neither nOf or AllOf is set the resource group will default to a default nOf value of 1.

JSON ParametersBody FormatDescription
ResourceList"ResourceList": "Res1,Res2,Res3"Parameter is a string of text in single quotes of a comma delimited list of resource names.
nOf"nOf": 1Optional integer of nOf value, default is 1. If this parameter is set, AllOf may not be used
AllOf"AllOf" : "TRUE"Optional boolean. If set to "TRUE", all resources will be required. If this parameter is set, nOf may not be used

Examples

Updates a resource constraint group called "ThreeOptions" to be a 1Of resource constraint group including SatelliteA, SatelliteB, and SatelliteC.

PATCH api/ResourceConstraintGroup/ThreeOptions

Body:

{

"nOf" : "1",

"ResourceList" : ["SatelliteA","SatelliteB","SatelliteC]

}

Return Message

If activated, a standard response for a successful HTTP response shall appear.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

12.3