GET api/ChannelComment/GetByID?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChannelCommentDto
NameDescriptionTypeAdditional information
Text

string

None.

CustomerID

integer

None.

CustomerFirstName

string

None.

CustomerLastName

string

None.

CustomerUsername

string

None.

CanEdit

boolean

None.

IsVerified

boolean

None.

ChannelID

integer

None.

ChannelMessageRefID

integer

None.

ChannelMessageTypeID

integer

None.

CreationTime

date

None.

IsDeleted

boolean

None.

LastModificationTime

date

None.

LikeCount

integer

None.

DislikeCount

integer

None.

ViewCount

integer

None.

DeleteDateTime

date

None.

IsLiked

boolean

None.

RowVersion

Collection of byte

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "text": "sample string 1",
  "customerID": 2,
  "customerFirstName": "sample string 3",
  "customerLastName": "sample string 4",
  "customerUsername": "sample string 5",
  "canEdit": true,
  "isVerified": true,
  "channelID": 7,
  "channelMessageRefID": 1,
  "channelMessageTypeID": 8,
  "creationTime": "2025-08-23T07:45:05.266434+03:30",
  "isDeleted": true,
  "lastModificationTime": "2025-08-23T07:45:05.266434+03:30",
  "likeCount": 11,
  "dislikeCount": 12,
  "viewCount": 1,
  "deleteDateTime": "2025-08-23T07:45:05.2820645+03:30",
  "isLiked": true,
  "rowVersion": "QEA=",
  "id": 1
}

text/html

Sample:
{"text":"sample string 1","customerID":2,"customerFirstName":"sample string 3","customerLastName":"sample string 4","customerUsername":"sample string 5","canEdit":true,"isVerified":true,"channelID":7,"channelMessageRefID":1,"channelMessageTypeID":8,"creationTime":"2025-08-23T07:45:05.266434+03:30","isDeleted":true,"lastModificationTime":"2025-08-23T07:45:05.266434+03:30","likeCount":11,"dislikeCount":12,"viewCount":1,"deleteDateTime":"2025-08-23T07:45:05.2820645+03:30","isLiked":true,"rowVersion":"QEA=","id":1}

application/xml, text/xml

Sample:
<ChannelCommentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Ef">
  <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID>
  <ChannelID>7</ChannelID>
  <ChannelMessageRefID>1</ChannelMessageRefID>
  <ChannelMessageTypeID>8</ChannelMessageTypeID>
  <CreationTime>2025-08-23T07:45:05.266434+03:30</CreationTime>
  <DeleteDateTime>2025-08-23T07:45:05.2820645+03:30</DeleteDateTime>
  <DislikeCount>12</DislikeCount>
  <IsDeleted>true</IsDeleted>
  <IsLiked>true</IsLiked>
  <LastModificationTime>2025-08-23T07:45:05.266434+03:30</LastModificationTime>
  <LikeCount>11</LikeCount>
  <RowVersion>QEA=</RowVersion>
  <ViewCount>1</ViewCount>
  <CanEdit>true</CanEdit>
  <CustomerFirstName>sample string 3</CustomerFirstName>
  <CustomerID>2</CustomerID>
  <CustomerLastName>sample string 4</CustomerLastName>
  <CustomerUsername>sample string 5</CustomerUsername>
  <IsVerified>true</IsVerified>
  <Text>sample string 1</Text>
</ChannelCommentDto>