Create an associated comment
post
/fscmRestApi/resources/11.13.18.05/hedComments
Request
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
Content: string
(byte)
Title:
ContentContent of the comment. -
ObjectId: integer
(int64)
Title:
Object IDThe unique identifier of the object the comment has a relationship to. -
ObjectTypeCode: string
Title:
Object Type CodeMaximum Length:32The object the comment has a relationship to. -
ParentCommentId: integer
(int64)
Title:
Parent Comment IDThe unique identifier of the comment's parent comment. When a comment has a parent it's displayed as a reply. -
PrivateFlag: boolean
Title:
PrivateIndicates whether the comment is private. If true a comment is only visible to the user who created it. If false, it displays to all users with access to view comments for the record.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : hedComments-item-response
Type:
Show Source
object-
CommenterFirstName: string
Title:
Commenter First NameRead Only:trueMaximum Length:150The first name of the commenter. -
CommenterFullName: string
Title:
Commenter Full NameRead Only:trueMaximum Length:360The full name of the commenter. -
CommenterLastName: string
Title:
Commenter Last NameRead Only:trueMaximum Length:150The last name of the commenter. -
CommenterPartyId: integer
(int64)
Title:
Commenter Party IDRead Only:trueThe unique party identifier of the commenter. -
CommentId: integer
(int64)
Title:
Comment IDRead Only:trueThe unique identifier of a comment. -
Content: string
(byte)
Title:
ContentContent of the comment. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe creation date of the comment. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe last updated date of the comment. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ObjectId: integer
(int64)
Title:
Object IDThe unique identifier of the object the comment has a relationship to. -
ObjectTypeCode: string
Title:
Object Type CodeMaximum Length:32The object the comment has a relationship to. -
ObjectUpdateTime: string
(date-time)
Title:
Object Update DateRead Only:trueThe date and time of the object update that the comment is relating to. -
ParentCommentId: integer
(int64)
Title:
Parent Comment IDThe unique identifier of the comment's parent comment. When a comment has a parent it's displayed as a reply. -
PrivateFlag: boolean
Title:
PrivateIndicates whether the comment is private. If true a comment is only visible to the user who created it. If false, it displays to all users with access to view comments for the record. -
SystemGeneratedFlag: boolean
Title:
System GeneratedRead Only:trueMaximum Length:1Default Value:falseIndicates whether the comment was created by the Student Management application. If true, an automated process generated the comment. If false, the comment was created by a person.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.