Update an inspection comment
patch
/fscmRestApi/resources/11.13.18.05/publicSectorInspectionComments/{publicSectorInspectionCommentsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorInspectionCommentsUniqID: integer
This is the hash key of the attributes which make up the composite key--- InspectionAgencyId and InspectionCommentKey ---for the Inspection Comments resource and used to uniquely identify an instance of Inspection Comments. The client should not generate the hash key value. Instead, the client should query on the Inspection Comments collection resource with a filter on the primary key values in order to navigate to a specific instance of Inspection Comments.
For example: publicSectorInspectionComments?q=InspectionAgencyId=<value1>;InspectionCommentKey=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorInspectionComments-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier for the public sector agency associated with the inspection comment. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The identifier of an inspection checklist associated with the comment. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The identifier of an inspection checklist item associated with the comment. -
CommentId(optional):
integer(int64)
The unique identifier of a comment in the PSC_COM_COMMENT table.
-
CommentPreview(optional):
string
Title:
Comment PreviewThe flag for the comments summary section to enable preview of comments. The value is Y or N. -
CommentText(optional):
string
Title:
CommentsThe comments in HTML or plain text. -
CreatedByName(optional):
string
Title:
Created ByThe name of the user who created the comments. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the comments were created. -
InspectionAgencyId(optional):
integer(int64)
Title:
Agency IDThe unique identifier for the public sector agency associated with the inspection comment. -
InspectionCommentId(optional):
integer(int64)
Title:
CommentThe unique identifier of a comment in the PSC_COM_COMMENT table. -
InspectionCommentKey(optional):
integer(int64)
Title:
CommentThe unique identifier of an inspection comment in the PSC_INS_COMMENT table. -
InspectionCommentType(optional):
string
Title:
Comment TypeMaximum Length:15The comment type, such as CL for Checklist, INSP for Inspection, and CLITEM for Checklist item comments. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The identifier of an inspection associated with the comment. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the comments were last updated. -
LastUpdatedByName(optional):
string
Title:
Last Updated ByThe name of the user who last updated the comments. -
links(optional):
array Items
Title:
ItemsLink Relations -
Visibility(optional):
string
Title:
Hide from PublicMaximum Length:1The flag for indicating that the comment will not be visible to public users. The value is Y or N.
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 : publicSectorInspectionComments-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier for the public sector agency associated with the inspection comment. -
ChecklistId(optional):
string
Title:
ChecklistMaximum Length:15The identifier of an inspection checklist associated with the comment. -
ChecklistItemId(optional):
string
Title:
Checklist ItemMaximum Length:15The identifier of an inspection checklist item associated with the comment. -
CommentId(optional):
integer(int64)
The unique identifier of a comment in the PSC_COM_COMMENT table.
-
CommentPreview(optional):
string
Title:
Comment PreviewThe flag for the comments summary section to enable preview of comments. The value is Y or N. -
CommentText(optional):
string
Title:
CommentsThe comments in HTML or plain text. -
CreatedByName(optional):
string
Title:
Created ByThe name of the user who created the comments. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date when the comments were created. -
InspectionAgencyId(optional):
integer(int64)
Title:
Agency IDThe unique identifier for the public sector agency associated with the inspection comment. -
InspectionCommentId(optional):
integer(int64)
Title:
CommentThe unique identifier of a comment in the PSC_COM_COMMENT table. -
InspectionCommentKey(optional):
integer(int64)
Title:
CommentThe unique identifier of an inspection comment in the PSC_INS_COMMENT table. -
InspectionCommentType(optional):
string
Title:
Comment TypeMaximum Length:15The comment type, such as CL for Checklist, INSP for Inspection, and CLITEM for Checklist item comments. -
InspectionId(optional):
string
Title:
InspectionMaximum Length:50The identifier of an inspection associated with the comment. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date when the comments were last updated. -
LastUpdatedByName(optional):
string
Title:
Last Updated ByThe name of the user who last updated the comments. -
links(optional):
array Items
Title:
ItemsLink Relations -
Visibility(optional):
string
Title:
Hide from PublicMaximum Length:1The flag for indicating that the comment will not be visible to public users. The value is Y or N.
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.