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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChannelDto
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

TotalMember

integer

None.

TotalPosts

integer

None.

IsPinned

boolean

None.

Notification

boolean

None.

PinTime

date

None.

LastPostTime

date

None.

NewPostCount

integer

None.

RowVersion

Collection of byte

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "description": "sample string 2",
  "totalMember": 3,
  "totalPosts": 4,
  "isPinned": true,
  "notification": true,
  "pinTime": "2025-08-23T07:47:45.1270044+03:30",
  "lastPostTime": "2025-08-23T07:47:45.1270044+03:30",
  "newPostCount": 7,
  "rowVersion": "QEA=",
  "id": 1
}

text/html

Sample:
{"name":"sample string 1","description":"sample string 2","totalMember":3,"totalPosts":4,"isPinned":true,"notification":true,"pinTime":"2025-08-23T07:47:45.1270044+03:30","lastPostTime":"2025-08-23T07:47:45.1270044+03:30","newPostCount":7,"rowVersion":"QEA=","id":1}

application/xml, text/xml

Sample:
<ChannelDto 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>
  <Description>sample string 2</Description>
  <IsPinned>true</IsPinned>
  <LastPostTime>2025-08-23T07:47:45.1270044+03:30</LastPostTime>
  <Name>sample string 1</Name>
  <NewPostCount>7</NewPostCount>
  <Notification>true</Notification>
  <PinTime>2025-08-23T07:47:45.1270044+03:30</PinTime>
  <RowVersion>QEA=</RowVersion>
  <TotalMember>3</TotalMember>
  <TotalPosts>4</TotalPosts>
</ChannelDto>