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": "36727a59-7a2b-45d2-9533-88ab7b3dddaf", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T09:46:22Z", "CreatedByID": "6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c", "CreatedBy": "sample string 6", "ID": "fbe85eac-7a10-4b2e-b988-549b33cfa457", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "36727a59-7a2b-45d2-9533-88ab7b3dddaf", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T09:46:22Z", "CreatedByID": "6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c", "CreatedBy": "sample string 6", "ID": "fbe85eac-7a10-4b2e-b988-549b33cfa457", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"36727a59-7a2b-45d2-9533-88ab7b3dddaf","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T09:46:22Z","CreatedByID":"6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c","CreatedBy":"sample string 6","ID":"fbe85eac-7a10-4b2e-b988-549b33cfa457","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"36727a59-7a2b-45d2-9533-88ab7b3dddaf","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T09:46:22Z","CreatedByID":"6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c","CreatedBy":"sample string 6","ID":"fbe85eac-7a10-4b2e-b988-549b33cfa457","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">fbe85eac-7a10-4b2e-b988-549b33cfa457</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T13:46:22.2772226Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>36727a59-7a2b-45d2-9533-88ab7b3dddaf</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">fbe85eac-7a10-4b2e-b988-549b33cfa457</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>6aefc42a-5f3b-4eee-9a25-145b6bc1cb6c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T13:46:22.2772226Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>36727a59-7a2b-45d2-9533-88ab7b3dddaf</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": "597c7d0a-d544-4a26-a19e-2f331a4b699b", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T09:46:22Z", "CreatedByID": "023aff41-cb25-4899-b6c5-5747ff34107c", "CreatedBy": "sample string 6", "ID": "48dc99be-baff-405d-97be-bf12ed8b9880", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "597c7d0a-d544-4a26-a19e-2f331a4b699b", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-14T09:46:22Z", "CreatedByID": "023aff41-cb25-4899-b6c5-5747ff34107c", "CreatedBy": "sample string 6", "ID": "48dc99be-baff-405d-97be-bf12ed8b9880", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"597c7d0a-d544-4a26-a19e-2f331a4b699b","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T09:46:22Z","CreatedByID":"023aff41-cb25-4899-b6c5-5747ff34107c","CreatedBy":"sample string 6","ID":"48dc99be-baff-405d-97be-bf12ed8b9880","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"597c7d0a-d544-4a26-a19e-2f331a4b699b","ItemTitle":"sample string 3","CreatedOn":"2024-05-14T09:46:22Z","CreatedByID":"023aff41-cb25-4899-b6c5-5747ff34107c","CreatedBy":"sample string 6","ID":"48dc99be-baff-405d-97be-bf12ed8b9880","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">48dc99be-baff-405d-97be-bf12ed8b9880</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>023aff41-cb25-4899-b6c5-5747ff34107c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T13:46:22.2872037Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>597c7d0a-d544-4a26-a19e-2f331a4b699b</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">48dc99be-baff-405d-97be-bf12ed8b9880</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>023aff41-cb25-4899-b6c5-5747ff34107c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T13:46:22.2872037Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>597c7d0a-d544-4a26-a19e-2f331a4b699b</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>