Update one rule

patch

/fscmRestApi/resources/11.13.18.05/assetGroupRules/{RuleId}

Request

Path Parameters
  • 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
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • 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.
  • Grouping Attributes
    Title: Grouping Attributes
    The Grouping Attributes resource manages the grouping attribute list defined for the rule.
  • Title: Inactive On
    Date and time when the rule becomes inactive. When the rule is inactive you cannot add groups to it anymore.
  • Title: Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the asset group rule.
  • Title: Description
    Maximum Length: 240
    Description of the asset group rule.
  • Value that uniquely identifies the asset group rule. The application generates this value when it creates the rule. This attribute is read-only.
  • Title: Name
    Maximum Length: 120
    Name of the asset group rule.
  • 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: object
Show Source
  • Maximum Length: 30
    Abbreviation that uniquely identifies the grouping attribute. You can provide either the attribute code or the attribute name.
  • Name of the grouping attribute. You can provide either the attribute code or the attribute name.
  • 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: object
Show Source
  • Value that uniquely identifies the rule usage. The application generates this value when it creates the rule. This attribute is read-only.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the usage. You can provide either the usage code or the usage name.
  • Name of the usage. You can provide either the usage code or the usage name.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : assetGroupRules-item-response
Type: object
Show Source
  • 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.
  • Grouping Attributes
    Title: Grouping Attributes
    The Grouping Attributes resource manages the grouping attribute list defined for the rule.
  • Title: Inactive On
    Date and time when the rule becomes inactive. When the rule is inactive you cannot add groups to it anymore.
  • Links
  • Title: Code
    Maximum Length: 30
    Abbreviation that uniquely identifies the asset group rule.
  • Title: Description
    Maximum Length: 240
    Description of the asset group rule.
  • Value that uniquely identifies the asset group rule. The application generates this value when it creates the rule. This attribute is read-only.
  • Title: Name
    Maximum Length: 120
    Name of the asset group rule.
  • 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-response
Type: object
Show Source
  • Maximum Length: 30
    Abbreviation that uniquely identifies the grouping attribute. You can provide either the attribute code or the attribute name.
  • Name of the grouping attribute. You can provide either the attribute code or the attribute name.
  • Links
  • 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-response
Type: object
Show Source
  • Links
  • Value that uniquely identifies the rule usage. The application generates this value when it creates the rule. This attribute is read-only.
  • Maximum Length: 30
    Abbreviation that uniquely identifies the usage. You can provide either the usage code or the usage name.
  • Name of the usage. You can provide either the usage code or the usage name.
Back to Top