Create a set of time rule definitions
post
/fscmRestApi/resources/11.13.18.05/publicSectorCodeEnforcementTimeRules
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 : 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 rules resource is used to configure the time rule definitions for use in Code Enforcement.
Nested Schema : Time Rule Policies
Type:
arrayTitle:
Time Rule PoliciesThe time rules resource is used to configure the time rule definitions for use in Code Enforcement.
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 rules resource is used to configure the time rule definitions for use in Code Enforcement.
Nested Schema : Time Rule Policies
Type:
arrayTitle:
Time Rule PoliciesThe time rules resource is used to configure the time rule definitions for use in Code Enforcement.
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.