Update a time rule policy
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCodeEnforcementTimeRules/{publicSectorCodeEnforcementTimeRulesUniqID}/child/TimeRulePolicy/{TimeRulePolicyUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
TimeRulePolicyUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId, TimeRuleId and PolicyKey ---for the Time Rule Policies resource and used to uniquely identify an instance of Time Rule Policies. The client should not generate the hash key value. Instead, the client should query on the Time Rule Policies collection resource with a filter on the primary key values in order to navigate to a specific instance of Time Rule Policies.
For example: TimeRulePolicy?q=AgencyId=<value1>;TimeRuleId=<value2>;PolicyKey=<value3> -
publicSectorCodeEnforcementTimeRulesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and TimeRuleId ---for the Time Rules resource and used to uniquely identify an instance of Time Rules. The client should not generate the hash key value. Instead, the client should query on the Time Rules collection resource with a filter on the primary key values in order to navigate to a specific instance of Time Rules.
For example: publicSectorCodeEnforcementTimeRules?q=AgencyId=<value1>;TimeRuleId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCodeEnforcementTimeRules-TimeRulePolicy-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64
The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
PolicyCount(optional):
integer(int32)
Title:
Policy Occurrence Count
Indicates the occurrence count to which the time rule priority and unit of measure apply. -
PolicyKey(optional):
integer(int64)
The unique identifier of the time rule policy.
-
TimeRuleId(optional):
string
Title:
Time Rule
Maximum Length:50
The unique identifier of the time rule definition. -
TimeRulePriority(optional):
string
Title:
Priority
Maximum Length:30
Indicates the priority of the time rule policy. -
TimeRuleUom(optional):
string
Title:
Unit of Measure
Maximum Length:30
Indicates the unit of measure of the time rule policy. -
TimeRuleUomValue(optional):
integer(int32)
Title:
Unit of Measure Value
Indicates the value of the unit of measure time rule policy.
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 : publicSectorCodeEnforcementTimeRules-TimeRulePolicy-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64
The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
PolicyCount(optional):
integer(int32)
Title:
Policy Occurrence Count
Indicates the occurrence count to which the time rule priority and unit of measure apply. -
PolicyKey(optional):
integer(int64)
The unique identifier of the time rule policy.
-
TimeRuleId(optional):
string
Title:
Time Rule
Maximum Length:50
The unique identifier of the time rule definition. -
TimeRulePriority(optional):
string
Title:
Priority
Maximum Length:30
Indicates the priority of the time rule policy. -
TimeRuleUom(optional):
string
Title:
Unit of Measure
Maximum Length:30
Indicates the unit of measure of the time rule policy. -
TimeRuleUomValue(optional):
integer(int32)
Title:
Unit of Measure Value
Indicates the value of the unit of measure time rule policy.
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.