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": "32c05b49-03d1-48b6-b7db-8477ab56f042", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T06:49:37Z", "CreatedByID": "8e14bbc2-f330-4b0e-815f-a0dab834a400", "CreatedBy": "sample string 6", "ID": "c7782ecc-596b-4335-b232-4940908afbf1", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "32c05b49-03d1-48b6-b7db-8477ab56f042", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T06:49:37Z", "CreatedByID": "8e14bbc2-f330-4b0e-815f-a0dab834a400", "CreatedBy": "sample string 6", "ID": "c7782ecc-596b-4335-b232-4940908afbf1", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"32c05b49-03d1-48b6-b7db-8477ab56f042","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T06:49:37Z","CreatedByID":"8e14bbc2-f330-4b0e-815f-a0dab834a400","CreatedBy":"sample string 6","ID":"c7782ecc-596b-4335-b232-4940908afbf1","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"32c05b49-03d1-48b6-b7db-8477ab56f042","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T06:49:37Z","CreatedByID":"8e14bbc2-f330-4b0e-815f-a0dab834a400","CreatedBy":"sample string 6","ID":"c7782ecc-596b-4335-b232-4940908afbf1","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">c7782ecc-596b-4335-b232-4940908afbf1</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>8e14bbc2-f330-4b0e-815f-a0dab834a400</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T10:49:37.2549604Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>32c05b49-03d1-48b6-b7db-8477ab56f042</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">c7782ecc-596b-4335-b232-4940908afbf1</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>8e14bbc2-f330-4b0e-815f-a0dab834a400</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T10:49:37.2549604Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>32c05b49-03d1-48b6-b7db-8477ab56f042</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": "2364cc02-c5d5-4795-9e30-c864dc8de2a8", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T06:49:37Z", "CreatedByID": "bf541d77-b3c3-4953-97e7-ded5ee26eb9d", "CreatedBy": "sample string 6", "ID": "df165888-8d9d-4527-9a0b-ff1e2757ee44", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "2364cc02-c5d5-4795-9e30-c864dc8de2a8", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T06:49:37Z", "CreatedByID": "bf541d77-b3c3-4953-97e7-ded5ee26eb9d", "CreatedBy": "sample string 6", "ID": "df165888-8d9d-4527-9a0b-ff1e2757ee44", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"2364cc02-c5d5-4795-9e30-c864dc8de2a8","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T06:49:37Z","CreatedByID":"bf541d77-b3c3-4953-97e7-ded5ee26eb9d","CreatedBy":"sample string 6","ID":"df165888-8d9d-4527-9a0b-ff1e2757ee44","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"2364cc02-c5d5-4795-9e30-c864dc8de2a8","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T06:49:37Z","CreatedByID":"bf541d77-b3c3-4953-97e7-ded5ee26eb9d","CreatedBy":"sample string 6","ID":"df165888-8d9d-4527-9a0b-ff1e2757ee44","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">df165888-8d9d-4527-9a0b-ff1e2757ee44</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>bf541d77-b3c3-4953-97e7-ded5ee26eb9d</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T10:49:37.2649304Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>2364cc02-c5d5-4795-9e30-c864dc8de2a8</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">df165888-8d9d-4527-9a0b-ff1e2757ee44</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>bf541d77-b3c3-4953-97e7-ded5ee26eb9d</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T10:49:37.2649304Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>2364cc02-c5d5-4795-9e30-c864dc8de2a8</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>