Update a violation code reference
patch
/fscmRestApi/resources/11.13.18.05/publicSectorViolationCodeReferences/{publicSectorViolationCodeReferencesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorViolationCodeReferencesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and CodeReferenceCode ---for the Violation Code References resource and used to uniquely identify an instance of Violation Code References. The client should not generate the hash key value. Instead, the client should query on the Violation Code References collection resource with a filter on the primary key values in order to navigate to a specific instance of Violation Code References.
For example: publicSectorViolationCodeReferences?q=AgencyId=<value1>;CodeReferenceCode=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorViolationCodeReferences-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the agency. -
CodeReferenceCode(optional):
string
Title:
Code Reference IDMaximum Length:100The violation code reference code of the record. -
CorrectiveActionCode(optional):
string
Title:
Corrective ActionMaximum 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 violation code reference. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the violation code reference 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 violation code reference.
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 : publicSectorViolationCodeReferences-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier of the agency. -
CodeReferenceCode(optional):
string
Title:
Code Reference IDMaximum Length:100The violation code reference code of the record. -
CorrectiveActionCode(optional):
string
Title:
Corrective ActionMaximum 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 violation code reference. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the violation code reference 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 violation code reference.
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.