GET Comments/Get/{ID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

CommentDTO
NameDescriptionTypeAdditional 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": "f1cdbec8-cd6b-4f66-9c41-cb32deb8a0f9",
      "ItemTitle": "sample string 3",
      "CreatedOn": "2024-05-13T17:49:17Z",
      "CreatedByID": "c6012449-7293-4b4c-9fb1-a3aaae2ee5bf",
      "CreatedBy": "sample string 6",
      "ID": "f190ce2b-8b49-4d3f-9474-21f38cf62d4b",
      "Timestamp": "QEA="
    }
  ]
}

text/javascript

Sample:
{"results":[{"Comment":"sample string 1","ItemID":"f1cdbec8-cd6b-4f66-9c41-cb32deb8a0f9","ItemTitle":"sample string 3","CreatedOn":"2024-05-13T17:49:17Z","CreatedByID":"c6012449-7293-4b4c-9fb1-a3aaae2ee5bf","CreatedBy":"sample string 6","ID":"f190ce2b-8b49-4d3f-9474-21f38cf62d4b","Timestamp":"QEA="}]}

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

application/xml, text/xml

Sample:
<CommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO">
  <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">f190ce2b-8b49-4d3f-9474-21f38cf62d4b</ID>
  <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp>
  <Comment>sample string 1</Comment>
  <CreatedBy>sample string 6</CreatedBy>
  <CreatedByID>c6012449-7293-4b4c-9fb1-a3aaae2ee5bf</CreatedByID>
  <CreatedOn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-05-13T21:49:17.4451154Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-240</d2p1:OffsetMinutes>
  </CreatedOn>
  <ItemID>f1cdbec8-cd6b-4f66-9c41-cb32deb8a0f9</ItemID>
  <ItemTitle>sample string 3</ItemTitle>
</CommentDTO>