GET api/ChannelPost/Find?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChannelPostDto
NameDescriptionTypeAdditional information
Text

string

None.

Title

string

None.

CommentCount

integer

None.

FileInfo

ChannelFileInfoDto

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",
  "title": "sample string 2",
  "commentCount": 3,
  "fileInfo": {
    "fileType": "sample string 1",
    "fileName": "sample string 2",
    "fileSize": 1,
    "channelMessageID": 3,
    "channelFileTypeID": 4,
    "accessHash": 1,
    "fileId": "e15335f3-a495-49d6-b431-42e0517f4d18",
    "id": 1
  },
  "channelID": 4,
  "channelMessageRefID": 1,
  "channelMessageTypeID": 5,
  "creationTime": "2025-08-23T07:46:46.4432788+03:30",
  "isDeleted": true,
  "lastModificationTime": "2025-08-23T07:46:46.4432788+03:30",
  "likeCount": 8,
  "dislikeCount": 9,
  "viewCount": 1,
  "deleteDateTime": "2025-08-23T07:46:46.4432788+03:30",
  "isLiked": true,
  "rowVersion": "QEA=",
  "id": 1
}

text/html

Sample:
{"text":"sample string 1","title":"sample string 2","commentCount":3,"fileInfo":{"fileType":"sample string 1","fileName":"sample string 2","fileSize":1,"channelMessageID":3,"channelFileTypeID":4,"accessHash":1,"fileId":"e15335f3-a495-49d6-b431-42e0517f4d18","id":1},"channelID":4,"channelMessageRefID":1,"channelMessageTypeID":5,"creationTime":"2025-08-23T07:46:46.4432788+03:30","isDeleted":true,"lastModificationTime":"2025-08-23T07:46:46.4432788+03:30","likeCount":8,"dislikeCount":9,"viewCount":1,"deleteDateTime":"2025-08-23T07:46:46.4432788+03:30","isLiked":true,"rowVersion":"QEA=","id":1}

application/xml, text/xml

Sample:
<ChannelPostDto 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>4</ChannelID>
  <ChannelMessageRefID>1</ChannelMessageRefID>
  <ChannelMessageTypeID>5</ChannelMessageTypeID>
  <CreationTime>2025-08-23T07:46:46.4432788+03:30</CreationTime>
  <DeleteDateTime>2025-08-23T07:46:46.4432788+03:30</DeleteDateTime>
  <DislikeCount>9</DislikeCount>
  <IsDeleted>true</IsDeleted>
  <IsLiked>true</IsLiked>
  <LastModificationTime>2025-08-23T07:46:46.4432788+03:30</LastModificationTime>
  <LikeCount>8</LikeCount>
  <RowVersion>QEA=</RowVersion>
  <ViewCount>1</ViewCount>
  <CommentCount>3</CommentCount>
  <FileInfo>
    <ID xmlns="http://schemas.datacontract.org/2004/07/Saba.Infrastructure">1</ID>
    <AccessHash>1</AccessHash>
    <ChannelFileTypeID>4</ChannelFileTypeID>
    <ChannelMessageID>3</ChannelMessageID>
    <FileId>e15335f3-a495-49d6-b431-42e0517f4d18</FileId>
    <FileName>sample string 2</FileName>
    <FileSize>1</FileSize>
    <FileType>sample string 1</FileType>
  </FileInfo>
  <Text>sample string 1</Text>
  <Title>sample string 2</Title>
</ChannelPostDto>