PUT Comments/Update
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": "c1441a09-4c79-4692-85ba-05185ef20253", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T03:42:19Z", "CreatedByID": "29121d69-d653-4a6d-b13c-414a5dc0fbf1", "CreatedBy": "sample string 6", "ID": "b5f33063-6b06-4bb3-829b-a1e368e14aa3", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "c1441a09-4c79-4692-85ba-05185ef20253", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T03:42:19Z", "CreatedByID": "29121d69-d653-4a6d-b13c-414a5dc0fbf1", "CreatedBy": "sample string 6", "ID": "b5f33063-6b06-4bb3-829b-a1e368e14aa3", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"c1441a09-4c79-4692-85ba-05185ef20253","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T03:42:19Z","CreatedByID":"29121d69-d653-4a6d-b13c-414a5dc0fbf1","CreatedBy":"sample string 6","ID":"b5f33063-6b06-4bb3-829b-a1e368e14aa3","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"c1441a09-4c79-4692-85ba-05185ef20253","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T03:42:19Z","CreatedByID":"29121d69-d653-4a6d-b13c-414a5dc0fbf1","CreatedBy":"sample string 6","ID":"b5f33063-6b06-4bb3-829b-a1e368e14aa3","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">b5f33063-6b06-4bb3-829b-a1e368e14aa3</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>29121d69-d653-4a6d-b13c-414a5dc0fbf1</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T07:42:19.9137005Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>c1441a09-4c79-4692-85ba-05185ef20253</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">b5f33063-6b06-4bb3-829b-a1e368e14aa3</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>29121d69-d653-4a6d-b13c-414a5dc0fbf1</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T07:42:19.9137005Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>c1441a09-4c79-4692-85ba-05185ef20253</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": "8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T03:42:19Z", "CreatedByID": "76055224-8eb5-4f33-bc15-a22267250a95", "CreatedBy": "sample string 6", "ID": "c1300009-e033-4159-b93f-aeddd948b183", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-15T03:42:19Z", "CreatedByID": "76055224-8eb5-4f33-bc15-a22267250a95", "CreatedBy": "sample string 6", "ID": "c1300009-e033-4159-b93f-aeddd948b183", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T03:42:19Z","CreatedByID":"76055224-8eb5-4f33-bc15-a22267250a95","CreatedBy":"sample string 6","ID":"c1300009-e033-4159-b93f-aeddd948b183","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d","ItemTitle":"sample string 3","CreatedOn":"2024-05-15T03:42:19Z","CreatedByID":"76055224-8eb5-4f33-bc15-a22267250a95","CreatedBy":"sample string 6","ID":"c1300009-e033-4159-b93f-aeddd948b183","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">c1300009-e033-4159-b93f-aeddd948b183</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>76055224-8eb5-4f33-bc15-a22267250a95</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T07:42:19.9236942Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">c1300009-e033-4159-b93f-aeddd948b183</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>76055224-8eb5-4f33-bc15-a22267250a95</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-15T07:42:19.9236942Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>8a2ec2a3-aec7-4511-bfc1-b6a48f0f244d</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>