The CommentsCollection domain object is used to transport collections of Object Record Comments in and out of the API. The CommentsCollection domain object is represented as a flat structure containing a collection of Comment domain objects. Here is a list of the fields on the CommentsCollection domain object:

Name Data Type Value Required Description
objectRecordId Integer 64-bit signed two’s complement YES Unique identifier for the Object Record on which the Comments were posted
allowCommenting Boolean true/false NO A flag to indicate whether this commenting by non-logged in users is allowed for the given Object Record
comments Array of Comment domain objects YES A collection of Comment domain objects