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
This field is reserved for future use. -
DeletedFlag(optional):
string
Maximum Length:
1
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. 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 -
ModuleId(optional):
string
Maximum Length:
32
The module that owns the row. A module is an entry in the application taxonomy, such as a logical business area. When no module is identified, then the seed data framework does not extract the row as seed data. -
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. -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
-
SourceRuleId(optional):
integer(int64)
The unique identifier of the source rule for this cloned rule.
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
This field is reserved for future use. -
DeletedFlag(optional):
string
Maximum Length:
1
Indicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. 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 -
ModuleId(optional):
string
Maximum Length:
32
The module that owns the row. A module is an entry in the application taxonomy, such as a logical business area. When no module is identified, then the seed data framework does not extract the row as seed data. -
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. -
SeedDataLock(optional):
integer(int32)
Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
-
SourceRuleId(optional):
integer(int64)
The unique identifier of the source rule for this cloned rule.
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.