Update a passing rule
patch
/fscmRestApi/resources/11.13.18.05/publicSectorPassingRules/{publicSectorPassingRulesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorPassingRulesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and PassingRule ---for the Passing Rules resource and used to uniquely identify an instance of Passing Rules. The client should not generate the hash key value. Instead, the client should query on the Passing Rules collection resource with a filter on the primary key values in order to navigate to a specific instance of Passing Rules.
For example: publicSectorPassingRules?q=AgencyId=<value1>;PassingRule=<value2>
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 ID
The agency identifier for the public sector entity to which this passing rule applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the passing rule. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date the passing rule was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the passing rule. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the passing rule was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the passing rule. -
links(optional):
array Items
Title:
Items
Link Relations -
PassingRule(optional):
string
Title:
Passing Rule
Maximum Length:15
The unique identifier for a passing rule. -
PassingRuleDetail(optional):
array Passing Rule Details
Title:
Passing Rule Details
The passing rules resource is used to view, create, delete, or modify a passing rule. A passing rule provides pass and fail criteria to determine the result of an inspection.
Nested Schema : Passing Rule Details
Type:
array
Title:
Passing Rule Details
The passing rules resource is used to view, create, delete, or modify a passing rule. A passing rule provides pass and fail criteria to determine the result of an inspection.
Show Source
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.
Nested Schema : publicSectorPassingRules-PassingRuleDetail-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The agency identifier of the public sector entity to which this scoring range applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the passing rule details. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the passing rule details were created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the passing rule details. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the passing rule details were last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the passing rule details. -
links(optional):
array Items
Title:
Items
Link Relations -
MaximumScore(optional):
integer(int32)
Title:
Maximum Score
The maxiumum inspection score in a range that results in a specified rating. -
MinimumScore(optional):
integer(int32)
Title:
Minimum Score
The minimum inspection score in a range that results in a specified rating. -
NumberMajorViolations(optional):
integer(int32)
Title:
Number of Major Violations
The number of major violations identified in a passing rule, used to determine the inspection result. -
PassingFlag(optional):
boolean
Title:
Pass
Indicates whether the combined scoring range and number of violations constitute a passing inspection result. The default value is false. -
PassingRule(optional):
string
Title:
Passing Rule
Maximum Length:15
The unique code for a passing rule. -
SequenceKey(optional):
integer(int32)
Title:
Sequence Key
The 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 ID
The agency identifier for the public sector entity to which this passing rule applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the passing rule. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date the passing rule was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the passing rule. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the passing rule was last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the passing rule. -
links(optional):
array Items
Title:
Items
Link Relations -
PassingRule(optional):
string
Title:
Passing Rule
Maximum Length:15
The unique identifier for a passing rule. -
PassingRuleDetail(optional):
array Passing Rule Details
Title:
Passing Rule Details
The passing rules resource is used to view, create, delete, or modify a passing rule. A passing rule provides pass and fail criteria to determine the result of an inspection.
Nested Schema : Passing Rule Details
Type:
array
Title:
Passing Rule Details
The passing rules resource is used to view, create, delete, or modify a passing rule. A passing rule provides pass and fail criteria to determine the result of an inspection.
Show Source
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.
Nested Schema : publicSectorPassingRules-PassingRuleDetail-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int64)
Title:
Agency ID
The agency identifier of the public sector entity to which this scoring range applies. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the passing rule details. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the passing rule details were created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the passing rule details. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the passing rule details were last modified. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last modified the passing rule details. -
links(optional):
array Items
Title:
Items
Link Relations -
MaximumScore(optional):
integer(int32)
Title:
Maximum Score
The maxiumum inspection score in a range that results in a specified rating. -
MinimumScore(optional):
integer(int32)
Title:
Minimum Score
The minimum inspection score in a range that results in a specified rating. -
NumberMajorViolations(optional):
integer(int32)
Title:
Number of Major Violations
The number of major violations identified in a passing rule, used to determine the inspection result. -
PassingFlag(optional):
boolean
Title:
Pass
Indicates whether the combined scoring range and number of violations constitute a passing inspection result. The default value is false. -
PassingRule(optional):
string
Title:
Passing Rule
Maximum Length:15
The unique code for a passing rule. -
SequenceKey(optional):
integer(int32)
Title:
Sequence Key
The secondary key used to make the data for the inspection passing rule details unique.