Create a rule
post
/fscmRestApi/resources/11.13.18.05/publicSectorBusinessRulesFrameworkRules
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorBusinessRulesFrameworkRules-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency Id
The unique identifier of the agency associated with this rule. -
AlwaysExecute(optional):
string
Title:
Always Execute
Maximum Length:1
A flag on the rule to indicate whether there are no conditions required to execute the action associated with this rule. The default value is N. -
Enabled(optional):
string
Title:
Enabled
Maximum Length:1
A flag on the rule to indicate whether the rule should be processed or not. The default value is N. -
EventId(optional):
integer(int64)
The unique identifier of the event associated with this rule.
-
links(optional):
array Items
Title:
Items
Link Relations -
ResourceId(optional):
integer(int64)
The unique identifier of the resource associated with this rule.
-
RuleDescription(optional):
string
Title:
Rule Description
Maximum Length:512
The description of this rule as it appears in the user interface. -
RuleId(optional):
integer(int64)
The unique identifier of the rule.
-
RuleName(optional):
string
Title:
Rule Name
Maximum Length:100
The name of this rule as it appears in the user interface.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorBusinessRulesFrameworkRules-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency Id
The unique identifier of the agency associated with this rule. -
AlwaysExecute(optional):
string
Title:
Always Execute
Maximum Length:1
A flag on the rule to indicate whether there are no conditions required to execute the action associated with this rule. The default value is N. -
Enabled(optional):
string
Title:
Enabled
Maximum Length:1
A flag on the rule to indicate whether the rule should be processed or not. The default value is N. -
EventId(optional):
integer(int64)
The unique identifier of the event associated with this rule.
-
links(optional):
array Items
Title:
Items
Link Relations -
ResourceId(optional):
integer(int64)
The unique identifier of the resource associated with this rule.
-
RuleDescription(optional):
string
Title:
Rule Description
Maximum Length:512
The description of this rule as it appears in the user interface. -
RuleId(optional):
integer(int64)
The unique identifier of the rule.
-
RuleName(optional):
string
Title:
Rule Name
Maximum Length:100
The name of this rule as it appears in the user interface.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.