Update a favorite comment
patch
/fscmRestApi/resources/11.13.18.05/publicSectorFavoriteComments/{publicSectorFavoriteCommentsUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorFavoriteCommentsUniqID: integer
This is the hash key of the attributes which make up the composite key--- UserName, AgencyId and StandardCommentId ---for the Favorite Comments resource and used to uniquely identify an instance of Favorite Comments. The client should not generate the hash key value. Instead, the client should query on the Favorite Comments collection resource with a filter on the primary key values in order to navigate to a specific instance of Favorite Comments.
For example: publicSectorFavoriteComments?q=UserName=<value1>;AgencyId=<value2>;StandardCommentId=<value3>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorFavoriteComments-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe agency ID of the record. -
CommentPreview(optional):
string
Title:
Comment PreviewThe preview text of the standard comment. -
Comments(optional):
string
Title:
CommentsThe text of the standard comment. -
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. -
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 -
StandardCommentId(optional):
string
Title:
Comment CodeMaximum Length:200The standard comment ID of the record. -
UserName(optional):
string
Maximum Length:
100The name of the user who created the row.
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 : publicSectorFavoriteComments-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe agency ID of the record. -
CommentPreview(optional):
string
Title:
Comment PreviewThe preview text of the standard comment. -
Comments(optional):
string
Title:
CommentsThe text of the standard comment. -
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. -
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 -
StandardCommentId(optional):
string
Title:
Comment CodeMaximum Length:200The standard comment ID of the record. -
UserName(optional):
string
Maximum Length:
100The name of the user who created the row.
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.