Create a user comment
post
/fscmRestApi/resources/11.13.18.05/publicSectorUserComments
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
ActivityLogKey: integer
(int64)
The activity log key for the application for which user comments are accepted.
-
AgencyId: integer
(int32)
Default Value:
1The unique ID of the public sector agency. -
CommentKey: integer
(int64)
The unique ID of the user comment.
-
CommentPlain: string
(byte)
Rich-text comments saved as plain text.
-
CommentText: string
(byte)
The comment content.
-
LnpRecordId: string
Maximum Length:
50The application record???s logical ID, generated based on the auto-number rule configured for the record type. -
LnpRecordKey: integer
(int64)
The record???s unique ID.
-
PartyId: integer
(int64)
The unique ID of the public user registered in the system.
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 : publicSectorUserComments-item-response
Type:
Show Source
object-
ActivityGroupId: string
Read Only:
trueMaximum Length:30The activity group ID for the application for which public comments are accepted. -
ActivityId: string
Read Only:
trueMaximum Length:50The activity ID for the application for which public comments are accepted. -
ActivityLogKey: integer
(int64)
The activity log key for the application for which user comments are accepted.
-
AgencyId: integer
(int32)
Default Value:
1The unique ID of the public sector agency. -
BaseDate: string
(date)
Read Only:
trueThe activity start (base) date from which public comments are accepted for the specified application. -
CommentKey: integer
(int64)
The unique ID of the user comment.
-
CommentPlain: string
(byte)
Rich-text comments saved as plain text.
-
CommentPreview: string
Read Only:
trueA preview of the comment. -
CommentText: string
(byte)
The comment content.
-
CreatedByName: string
Read Only:
trueThe name of the user who created the comment. -
CreationDate: string
(date-time)
Read Only:
trueThe date the comment was created. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
LnpRecordId: string
Maximum Length:
50The application record???s logical ID, generated based on the auto-number rule configured for the record type. -
LnpRecordKey: integer
(int64)
The record???s unique ID.
-
PartyId: integer
(int64)
The unique ID of the public user registered in the system.
-
PlannedDueDate: string
(date)
Read Only:
trueThe planned activity due date through which public comments are accepted for the specified application.
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.