Update a time rule definition
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCodeEnforcementTimeRules/{publicSectorCodeEnforcementTimeRulesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
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-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
DeletedFlag(optional):
string
Maximum Length:
1Indicates that the row of data has been deleted. -
Description(optional):
string
Title:
DescriptionMaximum Length:256The description of the time rule. -
DueDtTypeId(optional):
string
Title:
Due Date TypeMaximum Length:50The unique identifier of the due date type definition. -
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates if the time rule definition is available for use. -
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
SeedDataLock(optional):
integer(int32)
Indicates that the row of data has been disabled for editing.
-
TimeRuleId(optional):
string
Title:
Time RuleMaximum Length:50The unique identifier of the time rule definition. -
TimeRulePolicy(optional):
array Time Rule Policies
Title:
Time Rule PoliciesThe time rule policies resource is used to configure the time rule policies for use in the time rule definitions.
Nested Schema : Time Rule Policies
Type:
arrayTitle:
Time Rule PoliciesThe time rule policies resource is used to configure the time rule policies for use in the time rule definitions.
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 : publicSectorCodeEnforcementTimeRules-TimeRulePolicy-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64The 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:
64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
PolicyCount(optional):
integer(int32)
Title:
Policy Occurrence CountIndicates 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 RuleMaximum Length:50The unique identifier of the time rule definition. -
TimeRulePriority(optional):
string
Title:
PriorityMaximum Length:30Indicates the priority of the time rule policy. -
TimeRuleUom(optional):
string
Title:
Unit of MeasureMaximum Length:30Indicates the unit of measure of the time rule policy. -
TimeRuleUomValue(optional):
integer(int32)
Title:
Unit of Measure ValueIndicates the value of the unit of measure time rule policy.
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-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64The name of the user who created the row. -
CreationDate(optional):
string(date-time)
The date and time when the row was created.
-
DeletedFlag(optional):
string
Maximum Length:
1Indicates that the row of data has been deleted. -
Description(optional):
string
Title:
DescriptionMaximum Length:256The description of the time rule. -
DueDtTypeId(optional):
string
Title:
Due Date TypeMaximum Length:50The unique identifier of the due date type definition. -
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates if the time rule definition is available for use. -
LastUpdateDate(optional):
string(date-time)
The date and time when the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
SeedDataLock(optional):
integer(int32)
Indicates that the row of data has been disabled for editing.
-
TimeRuleId(optional):
string
Title:
Time RuleMaximum Length:50The unique identifier of the time rule definition. -
TimeRulePolicy(optional):
array Time Rule Policies
Title:
Time Rule PoliciesThe time rule policies resource is used to configure the time rule policies for use in the time rule definitions.
Nested Schema : Time Rule Policies
Type:
arrayTitle:
Time Rule PoliciesThe time rule policies resource is used to configure the time rule policies for use in the time rule definitions.
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 : publicSectorCodeEnforcementTimeRules-TimeRulePolicy-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the public sector agency. -
CreatedBy(optional):
string
Maximum Length:
64The 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:
64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
PolicyCount(optional):
integer(int32)
Title:
Policy Occurrence CountIndicates 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 RuleMaximum Length:50The unique identifier of the time rule definition. -
TimeRulePriority(optional):
string
Title:
PriorityMaximum Length:30Indicates the priority of the time rule policy. -
TimeRuleUom(optional):
string
Title:
Unit of MeasureMaximum Length:30Indicates the unit of measure of the time rule policy. -
TimeRuleUomValue(optional):
integer(int32)
Title:
Unit of Measure ValueIndicates the value of the unit of measure time rule policy.