POST Comments/InsertOrUpdate
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": "ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T09:21:21Z", "CreatedByID": "ae52507e-c3e5-4c76-a909-07ac7475b6ac", "CreatedBy": "sample string 6", "ID": "fe13b3a2-f7b8-42b8-a45f-f530c540b72b", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T09:21:21Z", "CreatedByID": "ae52507e-c3e5-4c76-a909-07ac7475b6ac", "CreatedBy": "sample string 6", "ID": "fe13b3a2-f7b8-42b8-a45f-f530c540b72b", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T09:21:21Z","CreatedByID":"ae52507e-c3e5-4c76-a909-07ac7475b6ac","CreatedBy":"sample string 6","ID":"fe13b3a2-f7b8-42b8-a45f-f530c540b72b","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T09:21:21Z","CreatedByID":"ae52507e-c3e5-4c76-a909-07ac7475b6ac","CreatedBy":"sample string 6","ID":"fe13b3a2-f7b8-42b8-a45f-f530c540b72b","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">fe13b3a2-f7b8-42b8-a45f-f530c540b72b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>ae52507e-c3e5-4c76-a909-07ac7475b6ac</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T13:21:21.6741083Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">fe13b3a2-f7b8-42b8-a45f-f530c540b72b</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>ae52507e-c3e5-4c76-a909-07ac7475b6ac</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T13:21:21.6741083Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>ec439e6b-2e0e-4ef7-9c9e-8e0c020d996e</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": "624018e6-5fdb-4810-9c77-fd9027c249e6", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T09:21:21Z", "CreatedByID": "dacb87be-1774-4f35-97b0-26d3c72861e4", "CreatedBy": "sample string 6", "ID": "c1a758dd-b32f-4d68-8011-27d405671183", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "624018e6-5fdb-4810-9c77-fd9027c249e6", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T09:21:21Z", "CreatedByID": "dacb87be-1774-4f35-97b0-26d3c72861e4", "CreatedBy": "sample string 6", "ID": "c1a758dd-b32f-4d68-8011-27d405671183", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"624018e6-5fdb-4810-9c77-fd9027c249e6","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T09:21:21Z","CreatedByID":"dacb87be-1774-4f35-97b0-26d3c72861e4","CreatedBy":"sample string 6","ID":"c1a758dd-b32f-4d68-8011-27d405671183","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"624018e6-5fdb-4810-9c77-fd9027c249e6","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T09:21:21Z","CreatedByID":"dacb87be-1774-4f35-97b0-26d3c72861e4","CreatedBy":"sample string 6","ID":"c1a758dd-b32f-4d68-8011-27d405671183","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">c1a758dd-b32f-4d68-8011-27d405671183</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>dacb87be-1774-4f35-97b0-26d3c72861e4</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T13:21:21.6792443Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>624018e6-5fdb-4810-9c77-fd9027c249e6</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">c1a758dd-b32f-4d68-8011-27d405671183</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>dacb87be-1774-4f35-97b0-26d3c72861e4</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T13:21:21.6792443Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>624018e6-5fdb-4810-9c77-fd9027c249e6</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>