Update an agency time rule
patch
/fscmRestApi/resources/11.13.18.05/publicSectorAgencyTimeRules/{publicSectorAgencyTimeRulesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorAgencyTimeRulesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and DuedateTypeId ---for the Agency Time Rule Definitions resource and used to uniquely identify an instance of Agency Time Rule Definitions. The client should not generate the hash key value. Instead, the client should query on the Agency Time Rule Definitions collection resource with a filter on the primary key values in order to navigate to a specific instance of Agency Time Rule Definitions.
For example: publicSectorAgencyTimeRules?q=AgencyId=<value1>;DuedateTypeId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorAgencyTimeRules-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an 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.
-
DueDateDescription(optional):
string
Title:
Description
Maximum Length:256
Description of the due date type. -
DuedateTypeId(optional):
string
Maximum Length:
50
The unique identifier for a due date type. -
LastUpdateDate(optional):
string(date-time)
The date and time that the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
LastUpdateLogin(optional):
string
Maximum Length:
32
The session login associated with the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
TimeRuleId(optional):
string
Maximum Length:
50
The unique identifier for a time rule. -
TriggerDescription(optional):
string
Title:
Description
Maximum Length:256
The description of the trigger for the time rule. -
TriggerId(optional):
string
Title:
Trigger ID
Maximum Length:50
The unique identifier of the trigger for the time rule.
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 : publicSectorAgencyTimeRules-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an 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.
-
DueDateDescription(optional):
string
Title:
Description
Maximum Length:256
Description of the due date type. -
DuedateTypeId(optional):
string
Maximum Length:
50
The unique identifier for a due date type. -
LastUpdateDate(optional):
string(date-time)
The date and time that the row was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The name of the user who last updated the row. -
LastUpdateLogin(optional):
string
Maximum Length:
32
The session login associated with the user who last updated the row. -
links(optional):
array Items
Title:
Items
Link Relations -
ObjectVersionNumber(optional):
integer(int32)
Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
-
TimeRuleId(optional):
string
Maximum Length:
50
The unique identifier for a time rule. -
TriggerDescription(optional):
string
Title:
Description
Maximum Length:256
The description of the trigger for the time rule. -
TriggerId(optional):
string
Title:
Trigger ID
Maximum Length:50
The unique identifier of the trigger for the time rule.
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.