Update a corrective action
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCorrectiveActions/{publicSectorCorrectiveActionsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorCorrectiveActionsUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and CorrectiveActionCode ---for the Corrective Actions resource and used to uniquely identify an instance of Corrective Actions. The client should not generate the hash key value. Instead, the client should query on the Corrective Actions collection resource with a filter on the primary key values in order to navigate to a specific instance of Corrective Actions.
For example: publicSectorCorrectiveActions?q=AgencyId=<value1>;CorrectiveActionCode=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCorrectiveActions-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the agency record. -
CorrectiveActionCode(optional):
string
Title:
Corrective Action IDMaximum Length:100The corrective action code of the record. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The name of the user who created the row. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the row was created. -
Description(optional):
string
Title:
DescriptionThe description of the corrective action. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the corrective action is available for use. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the row was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
Name(optional):
string
Title:
SummaryMaximum Length:200The name of the corrective action.
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.
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 : publicSectorCorrectiveActions-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the agency record. -
CorrectiveActionCode(optional):
string
Title:
Corrective Action IDMaximum Length:100The corrective action code of the record. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The name of the user who created the row. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time when the row was created. -
Description(optional):
string
Title:
DescriptionThe description of the corrective action. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the corrective action is available for use. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time when the row was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The name of the user who last updated the row. -
links(optional):
array Items
Title:
ItemsLink Relations -
Name(optional):
string
Title:
SummaryMaximum Length:200The name of the corrective action.
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.