Update one rule
patch
/fscmRestApi/resources/11.13.18.05/assetGroupRules/{RuleId}
Request
Path Parameters
-
RuleId(required): integer(int64)
Value that uniquely identifies the asset group rule. The application generates this value when it creates the rule. This attribute is read-only.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
EnforceUniqueAssignmentFlag: boolean
Maximum Length:
1
Default Value:false
Contains one of the following values: true or false. If true, then unique assignments of assets in the groups referring to the rule is enforced. If false then unique assignments of assets in the groups referring to the rules is not enforced. The default value is false. -
groupingAttributes: array
Grouping Attributes
Title:
Grouping Attributes
The Grouping Attributes resource manages the grouping attribute list defined for the rule. -
InactiveOn: string
(date)
Title:
Inactive On
Date and time when the rule becomes inactive. When the rule is inactive you cannot add groups to it anymore. -
RuleCode: string
Title:
Code
Maximum Length:30
Abbreviation that uniquely identifies the asset group rule. -
RuleDescription: string
Title:
Description
Maximum Length:240
Description of the asset group rule. -
RuleId: integer
(int64)
Value that uniquely identifies the asset group rule. The application generates this value when it creates the rule. This attribute is read-only.
-
RuleName: string
Title:
Name
Maximum Length:120
Name of the asset group rule. -
usages: array
Usages
Title:
Usages
The Usages resource manages the usage defined for the group rule.
Nested Schema : Grouping Attributes
Type:
array
Title:
Grouping Attributes
The Grouping Attributes resource manages the grouping attribute list defined for the rule.
Show Source
Nested Schema : Usages
Type:
array
Title:
Usages
The Usages resource manages the usage defined for the group rule.
Show Source
Nested Schema : assetGroupRules-groupingAttributes-item-patch-request
Type:
Show Source
object
-
AttributeCode: string
Maximum Length:
30
Abbreviation that uniquely identifies the grouping attribute. You can provide either the attribute code or the attribute name. -
AttributeName: string
Name of the grouping attribute. You can provide either the attribute code or the attribute name.
-
RuleGroupingAttributeId: integer
(int64)
Value that uniquely identifies the rule grouping attribute. The application generates this value when it creates the rule. This attribute is read-only.
Nested Schema : assetGroupRules-usages-item-patch-request
Type:
Show Source
object
-
RuleUsageId: integer
(int64)
Value that uniquely identifies the rule usage. The application generates this value when it creates the rule. This attribute is read-only.
-
UsageCode: string
Maximum Length:
30
Abbreviation that uniquely identifies the usage. You can provide either the usage code or the usage name. -
UsageName: string
Name of the usage. You can provide either the usage code or the usage name.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : assetGroupRules-item-response
Type:
Show Source
object
-
EnforceUniqueAssignmentFlag: boolean
Maximum Length:
1
Default Value:false
Contains one of the following values: true or false. If true, then unique assignments of assets in the groups referring to the rule is enforced. If false then unique assignments of assets in the groups referring to the rules is not enforced. The default value is false. -
groupingAttributes: array
Grouping Attributes
Title:
Grouping Attributes
The Grouping Attributes resource manages the grouping attribute list defined for the rule. -
InactiveOn: string
(date)
Title:
Inactive On
Date and time when the rule becomes inactive. When the rule is inactive you cannot add groups to it anymore. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RuleCode: string
Title:
Code
Maximum Length:30
Abbreviation that uniquely identifies the asset group rule. -
RuleDescription: string
Title:
Description
Maximum Length:240
Description of the asset group rule. -
RuleId: integer
(int64)
Value that uniquely identifies the asset group rule. The application generates this value when it creates the rule. This attribute is read-only.
-
RuleName: string
Title:
Name
Maximum Length:120
Name of the asset group rule. -
usages: array
Usages
Title:
Usages
The Usages resource manages the usage defined for the group rule.
Nested Schema : Grouping Attributes
Type:
array
Title:
Grouping Attributes
The Grouping Attributes resource manages the grouping attribute list defined for the rule.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : Usages
Type:
array
Title:
Usages
The Usages resource manages the usage defined for the group rule.
Show Source
Nested Schema : assetGroupRules-groupingAttributes-item-response
Type:
Show Source
object
-
AttributeCode: string
Maximum Length:
30
Abbreviation that uniquely identifies the grouping attribute. You can provide either the attribute code or the attribute name. -
AttributeName: string
Name of the grouping attribute. You can provide either the attribute code or the attribute name.
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RuleGroupingAttributeId: integer
(int64)
Value that uniquely identifies the rule grouping attribute. The application generates this value when it creates the rule. This attribute is read-only.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]
The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object
-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : assetGroupRules-usages-item-response
Type:
Show Source
object
-
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
RuleUsageId: integer
(int64)
Value that uniquely identifies the rule usage. The application generates this value when it creates the rule. This attribute is read-only.
-
UsageCode: string
Maximum Length:
30
Abbreviation that uniquely identifies the usage. You can provide either the usage code or the usage name. -
UsageName: string
Name of the usage. You can provide either the usage code or the usage name.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Links
- groupingAttributes
-
Parameters:
- RuleId:
$request.path.RuleId
The Grouping Attributes resource manages the grouping attribute list defined for the rule. - RuleId:
- usages
-
Parameters:
- RuleId:
$request.path.RuleId
The Usages resource manages the usage defined for the group rule. - RuleId: