POST Comments/Insert
Request Information
URI Parameters
None.
Body Parameters
Collection of CommentDTOName | Description | Type | Additional information |
---|---|---|---|
Comment |
The Comment content |
string |
None. |
ItemID |
ID of item |
globally unique identifier |
None. |
ItemTitle |
Title of Item |
string |
None. |
CreatedOn |
The date the comment was Created On |
date |
None. |
CreatedByID |
The ID of the user that created the comment |
globally unique identifier |
None. |
CreatedBy |
The username of the person that created the comment |
string |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "results": [ { "Comment": "sample string 1", "ItemID": "5dd69ce5-87cc-45b3-9d1c-5709dfd281ba", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T01:45:58Z", "CreatedByID": "2db3c9e7-d740-4678-bb61-49ab8f611716", "CreatedBy": "sample string 6", "ID": "8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "5dd69ce5-87cc-45b3-9d1c-5709dfd281ba", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T01:45:58Z", "CreatedByID": "2db3c9e7-d740-4678-bb61-49ab8f611716", "CreatedBy": "sample string 6", "ID": "8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"5dd69ce5-87cc-45b3-9d1c-5709dfd281ba","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T01:45:58Z","CreatedByID":"2db3c9e7-d740-4678-bb61-49ab8f611716","CreatedBy":"sample string 6","ID":"8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"5dd69ce5-87cc-45b3-9d1c-5709dfd281ba","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T01:45:58Z","CreatedByID":"2db3c9e7-d740-4678-bb61-49ab8f611716","CreatedBy":"sample string 6","ID":"8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfCommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>2db3c9e7-d740-4678-bb61-49ab8f611716</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T05:45:58.8732508Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>5dd69ce5-87cc-45b3-9d1c-5709dfd281ba</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">8cd02a34-ceda-4bc0-aa02-4fb5426cfd1e</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>2db3c9e7-d740-4678-bb61-49ab8f611716</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T05:45:58.8732508Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>5dd69ce5-87cc-45b3-9d1c-5709dfd281ba</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CommentDTOName | Description | Type | Additional information |
---|---|---|---|
Comment |
The Comment content |
string |
None. |
ItemID |
ID of item |
globally unique identifier |
None. |
ItemTitle |
Title of Item |
string |
None. |
CreatedOn |
The date the comment was Created On |
date |
None. |
CreatedByID |
The ID of the user that created the comment |
globally unique identifier |
None. |
CreatedBy |
The username of the person that created the comment |
string |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "Comment": "sample string 1", "ItemID": "0eea3073-1200-48ee-981f-feac2ade09a5", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T01:45:58Z", "CreatedByID": "bc1934d9-984f-4dc8-a13e-5bb59f86126d", "CreatedBy": "sample string 6", "ID": "a90b68da-e6ab-4bee-a431-326682c66b1b", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "0eea3073-1200-48ee-981f-feac2ade09a5", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T01:45:58Z", "CreatedByID": "bc1934d9-984f-4dc8-a13e-5bb59f86126d", "CreatedBy": "sample string 6", "ID": "a90b68da-e6ab-4bee-a431-326682c66b1b", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"0eea3073-1200-48ee-981f-feac2ade09a5","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T01:45:58Z","CreatedByID":"bc1934d9-984f-4dc8-a13e-5bb59f86126d","CreatedBy":"sample string 6","ID":"a90b68da-e6ab-4bee-a431-326682c66b1b","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"0eea3073-1200-48ee-981f-feac2ade09a5","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T01:45:58Z","CreatedByID":"bc1934d9-984f-4dc8-a13e-5bb59f86126d","CreatedBy":"sample string 6","ID":"a90b68da-e6ab-4bee-a431-326682c66b1b","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfCommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a90b68da-e6ab-4bee-a431-326682c66b1b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>bc1934d9-984f-4dc8-a13e-5bb59f86126d</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T05:45:58.8832536Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>0eea3073-1200-48ee-981f-feac2ade09a5</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">a90b68da-e6ab-4bee-a431-326682c66b1b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>bc1934d9-984f-4dc8-a13e-5bb59f86126d</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T05:45:58.8832536Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>0eea3073-1200-48ee-981f-feac2ade09a5</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>