Update an inspection checklist item
patch
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionChkListItems/{publicSectorInspectionChkListItemsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorInspectionChkListItemsUniqID: integer
This is the hash key of the attributes which make up the composite key--- InspectionId, ChecklistId, ChecklistItemId and AgencyId ---for the Inspection Checklist Items resource and used to uniquely identify an instance of Inspection Checklist Items. The client should not generate the hash key value. Instead, the client should query on the Inspection Checklist Items collection resource with a filter on the primary key values in order to navigate to a specific instance of Inspection Checklist Items.
For example: publicSectorInspectionChkListItems?q=InspectionId=<value1>;ChecklistId=<value2>;ChecklistItemId=<value3>;AgencyId=<value4>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorInspectionChkListItems-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe identifier for the public sector agency associated with the inspection checklist item. -
CategoryCode(optional):
string
Title:
CategoryMaximum Length:30The category of the inspection checklist item. This is copied from the checklist item setup table. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The unique identifier for the inspection checklist. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The unique identifier for the inspection checklist item. -
ChecklistItemName(optional):
string
Title:
Checklist Item NameMaximum Length:300The description of the inspection checklist item. This is copied from the checklist item setup table. -
ChecklistItemResult(optional):
string
Title:
ResultMaximum Length:15The result for this checklist item, such as Pass, Fail, Yes, No, and so on. -
ChecklistItemScore(optional):
integer(int32)
Title:
ScoreThe calculated score for this checklist item. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The unique identifier for the inspection. -
links(optional):
array Items
Title:
ItemsLink Relations -
MajorViolationFlag(optional):
boolean
Title:
Major ViolationIndicates whether a failing result for the checklist item constitutes a major violation. The value is Y or N. -
PossibleScore(optional):
integer(int32)
Title:
Possible ScoreThe maximum possible score for the checklist item. This is copied from the checklist item setup table. -
RequiredFlag(optional):
boolean
Title:
RequiredIndicates whether this inspection checklist item is required. It is copied from the checklist item setup table. The value is Y or N. -
SubcategoryCode(optional):
string
Title:
SubcategoryMaximum Length:30The subcategory of the inspection checklist item. This is copied from the checklist item setup table.
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 : publicSectorInspectionChkListItems-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
Title:
Agency IDThe identifier for the public sector agency associated with the inspection checklist item. -
CategoryCode(optional):
string
Title:
CategoryMaximum Length:30The category of the inspection checklist item. This is copied from the checklist item setup table. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The unique identifier for the inspection checklist. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The unique identifier for the inspection checklist item. -
ChecklistItemName(optional):
string
Title:
Checklist Item NameMaximum Length:300The description of the inspection checklist item. This is copied from the checklist item setup table. -
ChecklistItemResult(optional):
string
Title:
ResultMaximum Length:15The result for this checklist item, such as Pass, Fail, Yes, No, and so on. -
ChecklistItemScore(optional):
integer(int32)
Title:
ScoreThe calculated score for this checklist item. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The unique identifier for the inspection. -
links(optional):
array Items
Title:
ItemsLink Relations -
MajorViolationFlag(optional):
boolean
Title:
Major ViolationIndicates whether a failing result for the checklist item constitutes a major violation. The value is Y or N. -
PossibleScore(optional):
integer(int32)
Title:
Possible ScoreThe maximum possible score for the checklist item. This is copied from the checklist item setup table. -
RequiredFlag(optional):
boolean
Title:
RequiredIndicates whether this inspection checklist item is required. It is copied from the checklist item setup table. The value is Y or N. -
SubcategoryCode(optional):
string
Title:
SubcategoryMaximum Length:30The subcategory of the inspection checklist item. This is copied from the checklist item setup table.
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.