{"id":21248,"date":"2022-04-11T13:56:06","date_gmt":"2022-04-11T11:56:06","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/comment\/"},"modified":"2026-05-13T09:36:46","modified_gmt":"2026-05-13T07:36:46","slug":"comment","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/comment\/","title":{"rendered":"Comment"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"Commentaire-Structure\">Structure<\/h1>\n\n<p>The comment is made up of several attributes associated with an Open Bee\u2122 Portal comment:<\/p>\n\n<ul class=\"wp-block-list\"><li><strong>content<\/strong> : Content of the comment<\/li><li><strong>responseTo<\/strong> : Open Bee\u2122 Portal ID of the comment to which this comment replies<\/li><li><strong>isDraft<\/strong> : Indicates if this document is already registered on Open Bee\u2122 Portal, or if it is waiting to be sent.<\/li><li><strong>author<\/strong> : The login of the user who wrote the comment.<\/li><li><strong>date<\/strong> : Date of comment in format dd\/mm\/yyyy HH:MM:SS<\/li><li><strong>id<\/strong>: Open Bee\u2122 Portal ID of the comment<\/li><\/ul>\n\n<h1 class=\"wp-block-heading\" id=\"Commentaire-Exemple\">Example<\/h1>\n\n<pre class=\"wp-block-code json\"><code>{ \n\tcontent: \"Ma r\u00e9ponse\", \n\tresponseTo : \"2\",\n\tisDraft : false,\n\tauthor : \"Pierre\",\n\tdate : \"10\/12\/2019 18:20:35\"\n\tid : \"1\"\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Structure The comment is made up of several attributes associated with an Open Bee\u2122 Portal comment: content : Content of the comment responseTo : Open Bee\u2122 Portal ID of the comment to which this comment replies isDraft : Indicates if this document is already registered on Open Bee\u2122 Portal, or if it is waiting to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21242,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-21248","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=21248"}],"version-history":[{"count":1,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21248\/revisions"}],"predecessor-version":[{"id":21251,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21248\/revisions\/21251"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21242"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=21248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}