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": "5fb81b6d-2793-4424-997d-83d03ae9a9f2", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-13T21:46:47Z", "CreatedByID": "345ff479-17b8-4aea-9f79-30b31455da0c", "CreatedBy": "sample string 6", "ID": "685723fe-0bd2-4c2a-810a-ffd460dbba9c", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "5fb81b6d-2793-4424-997d-83d03ae9a9f2", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-13T21:46:47Z", "CreatedByID": "345ff479-17b8-4aea-9f79-30b31455da0c", "CreatedBy": "sample string 6", "ID": "685723fe-0bd2-4c2a-810a-ffd460dbba9c", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"5fb81b6d-2793-4424-997d-83d03ae9a9f2","ItemTitle":"sample string 3","CreatedOn":"2024-05-13T21:46:47Z","CreatedByID":"345ff479-17b8-4aea-9f79-30b31455da0c","CreatedBy":"sample string 6","ID":"685723fe-0bd2-4c2a-810a-ffd460dbba9c","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"5fb81b6d-2793-4424-997d-83d03ae9a9f2","ItemTitle":"sample string 3","CreatedOn":"2024-05-13T21:46:47Z","CreatedByID":"345ff479-17b8-4aea-9f79-30b31455da0c","CreatedBy":"sample string 6","ID":"685723fe-0bd2-4c2a-810a-ffd460dbba9c","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">685723fe-0bd2-4c2a-810a-ffd460dbba9c</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>345ff479-17b8-4aea-9f79-30b31455da0c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T01:46:47.8794741Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>5fb81b6d-2793-4424-997d-83d03ae9a9f2</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">685723fe-0bd2-4c2a-810a-ffd460dbba9c</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>345ff479-17b8-4aea-9f79-30b31455da0c</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T01:46:47.8794741Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>5fb81b6d-2793-4424-997d-83d03ae9a9f2</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": "d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-13T21:46:47Z", "CreatedByID": "dd03af60-7123-44a6-a3e9-0f98daf5bddf", "CreatedBy": "sample string 6", "ID": "cc67e10a-26a4-4296-a809-a22d39a696eb", "Timestamp": "QEA=" }, { "Comment": "sample string 1", "ItemID": "d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216", "ItemTitle": "sample string 3", "CreatedOn": "2024-05-13T21:46:47Z", "CreatedByID": "dd03af60-7123-44a6-a3e9-0f98daf5bddf", "CreatedBy": "sample string 6", "ID": "cc67e10a-26a4-4296-a809-a22d39a696eb", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"Comment":"sample string 1","ItemID":"d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216","ItemTitle":"sample string 3","CreatedOn":"2024-05-13T21:46:47Z","CreatedByID":"dd03af60-7123-44a6-a3e9-0f98daf5bddf","CreatedBy":"sample string 6","ID":"cc67e10a-26a4-4296-a809-a22d39a696eb","Timestamp":"QEA="},{"Comment":"sample string 1","ItemID":"d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216","ItemTitle":"sample string 3","CreatedOn":"2024-05-13T21:46:47Z","CreatedByID":"dd03af60-7123-44a6-a3e9-0f98daf5bddf","CreatedBy":"sample string 6","ID":"cc67e10a-26a4-4296-a809-a22d39a696eb","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">cc67e10a-26a4-4296-a809-a22d39a696eb</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>dd03af60-7123-44a6-a3e9-0f98daf5bddf</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T01:46:47.8844785Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> <CommentDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">cc67e10a-26a4-4296-a809-a22d39a696eb</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Comment>sample string 1</Comment> <CreatedBy>sample string 6</CreatedBy> <CreatedByID>dd03af60-7123-44a6-a3e9-0f98daf5bddf</CreatedByID> <CreatedOn xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-05-14T01:46:47.8844785Z</d3p1:DateTime> <d3p1:OffsetMinutes>-240</d3p1:OffsetMinutes> </CreatedOn> <ItemID>d8f44bda-eda6-4d95-a1e8-c1fb5cfa1216</ItemID> <ItemTitle>sample string 3</ItemTitle> </CommentDTO> </ArrayOfCommentDTO>