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 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.
-
DeletedFlag(optional):
string
Maximum Length:
1
Indicates that the row of data has been deleted. -
Description(optional):
string
Title:
Description
Maximum Length:256
The description of the time rule. -
DueDtTypeId(optional):
string
Title:
Due Date Type
Maximum Length:50
The unique identifier of the due date type definition. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates 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:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates that the row of data has been disabled for editing.
-
TimeRuleId(optional):
string
Title:
Time Rule
Maximum Length:50
The unique identifier of the time rule definition. -
TimeRulePolicy(optional):
array Time Rule Policies
Title:
Time Rule Policies
The 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:
array
Title:
Time Rule Policies
The 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 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 : 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.
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 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.
-
DeletedFlag(optional):
string
Maximum Length:
1
Indicates that the row of data has been deleted. -
Description(optional):
string
Title:
Description
Maximum Length:256
The description of the time rule. -
DueDtTypeId(optional):
string
Title:
Due Date Type
Maximum Length:50
The unique identifier of the due date type definition. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates 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:
64
The name of the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
SeedDataLock(optional):
integer(int32)
Indicates that the row of data has been disabled for editing.
-
TimeRuleId(optional):
string
Title:
Time Rule
Maximum Length:50
The unique identifier of the time rule definition. -
TimeRulePolicy(optional):
array Time Rule Policies
Title:
Time Rule Policies
The 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:
array
Title:
Time Rule Policies
The 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 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 : 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.