The REST API allows you to add a comment to a Word Document. The API return added comment data in XML/JSON format. The resource properties are given below:
|RangeStart||link||Link to comment range start.|
|RangeEnd||link||Link to comment range end.|
|Author||string||Specifies the author's name for comment. It cannot be null.|
|Initial||string||Specifies the initials of the user associated with a specific comment. It cannot be null.|
|DateTime||DateTime||Gets the date and time that the comment was made.|
|Text||string||This is a convenience property that allows you to easily get or set the text of the comment.|
|Content||list of child nodes||List of child nodes.|
Swagger UI lets you call this REST API directly from the browser. The description of the API and its parameters are also given there.
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Words Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.