Create a passing rule
post
/fscmRestApi/resources/11.13.18.05/publicSectorPassingRules
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 : publicSectorPassingRules-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe agency identifier for the public sector entity to which this passing rule applies. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the passing rule. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the passing rule was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the passing rule. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the passing rule was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last modified the passing rule. -
links(optional):
array Items
Title:
ItemsLink Relations -
PassingRule(optional):
string
Title:
Passing RuleMaximum Length:15The unique identifier for a passing rule. -
PassingRuleDetail(optional):
array Passing Rule Details
Title:
Passing Rule DetailsThe passing rule details resource is used to view, create, delete, or modify a passing rule scoring range. There can be one or more scoring ranges for a given passing rule.
Nested Schema : Passing Rule Details
Type:
arrayTitle:
Passing Rule DetailsThe passing rule details resource is used to view, create, delete, or modify a passing rule scoring range. There can be one or more scoring ranges for a given passing rule.
Show Source
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Nested Schema : publicSectorPassingRules-PassingRuleDetail-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe agency identifier of the public sector entity to which this scoring range applies. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the passing rule details. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the passing rule details were created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the passing rule details. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the passing rule details were last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last modified the passing rule details. -
links(optional):
array Items
Title:
ItemsLink Relations -
MaximumScore(optional):
integer(int32)
Title:
Maximum ScoreThe maxiumum inspection score in a range that results in a specified rating. -
MinimumScore(optional):
integer(int32)
Title:
Minimum ScoreThe minimum inspection score in a range that results in a specified rating. -
NumberMajorViolations(optional):
integer(int32)
Title:
Number of Major ViolationsThe number of major violations identified in a passing rule, used to determine the inspection result. -
PassingFlag(optional):
boolean
Title:
PassIndicates whether the combined scoring range and number of violations constitute a passing inspection result. The default value is false. -
PassingRule(optional):
string
Title:
Passing RuleMaximum Length:15The unique code for a passing rule. -
SequenceKey(optional):
integer(int32)
Title:
Sequence KeyThe secondary key used to make the data for the inspection passing rule details unique.
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 : publicSectorPassingRules-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe agency identifier for the public sector entity to which this passing rule applies. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the passing rule. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the passing rule was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the passing rule. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the passing rule was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last modified the passing rule. -
links(optional):
array Items
Title:
ItemsLink Relations -
PassingRule(optional):
string
Title:
Passing RuleMaximum Length:15The unique identifier for a passing rule. -
PassingRuleDetail(optional):
array Passing Rule Details
Title:
Passing Rule DetailsThe passing rule details resource is used to view, create, delete, or modify a passing rule scoring range. There can be one or more scoring ranges for a given passing rule.
Nested Schema : Passing Rule Details
Type:
arrayTitle:
Passing Rule DetailsThe passing rule details resource is used to view, create, delete, or modify a passing rule scoring range. There can be one or more scoring ranges for a given passing rule.
Show Source
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Nested Schema : publicSectorPassingRules-PassingRuleDetail-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe agency identifier of the public sector entity to which this scoring range applies. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the passing rule details. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the passing rule details were created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the passing rule details. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the passing rule details were last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last modified the passing rule details. -
links(optional):
array Items
Title:
ItemsLink Relations -
MaximumScore(optional):
integer(int32)
Title:
Maximum ScoreThe maxiumum inspection score in a range that results in a specified rating. -
MinimumScore(optional):
integer(int32)
Title:
Minimum ScoreThe minimum inspection score in a range that results in a specified rating. -
NumberMajorViolations(optional):
integer(int32)
Title:
Number of Major ViolationsThe number of major violations identified in a passing rule, used to determine the inspection result. -
PassingFlag(optional):
boolean
Title:
PassIndicates whether the combined scoring range and number of violations constitute a passing inspection result. The default value is false. -
PassingRule(optional):
string
Title:
Passing RuleMaximum Length:15The unique code for a passing rule. -
SequenceKey(optional):
integer(int32)
Title:
Sequence KeyThe secondary key used to make the data for the inspection passing rule details unique.