POST api/Channel/GetAllChannels
Request Information
URI Parameters
None.
Body Parameters
Collection of LastChannelUpdateName | Description | Type | Additional information |
---|---|---|---|
ChannelID | integer |
None. |
|
LastSeenPostID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "channelID": 1, "lastSeenPostID": 2 }, { "channelID": 1, "lastSeenPostID": 2 } ]
text/html
Sample:
[{"channelID":1,"lastSeenPostID":2},{"channelID":1,"lastSeenPostID":2}]
application/xml, text/xml
Sample:
<ArrayOfLastChannelUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Dapper.Entity"> <LastChannelUpdate> <ChannelID>1</ChannelID> <LastSeenPostID>2</LastSeenPostID> </LastChannelUpdate> <LastChannelUpdate> <ChannelID>1</ChannelID> <LastSeenPostID>2</LastSeenPostID> </LastChannelUpdate> </ArrayOfLastChannelUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ChannelEntityModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
TotalMember | integer |
None. |
|
IsPinned | boolean |
None. |
|
Notification | boolean |
None. |
|
PinTime | date |
None. |
|
LastPostTime | date |
None. |
|
NewPosts | integer |
None. |
|
RowVersion | Collection of byte |
None. |
|
FileName | string |
None. |
|
FileType | string |
None. |
|
LastSeenPostId | integer |
None. |
|
LastPostId | integer |
None. |
|
CustomerChannelID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "name": "sample string 2", "description": "sample string 3", "totalMember": 4, "isPinned": true, "notification": true, "pinTime": "2025-08-23T07:45:04.8431758+03:30", "lastPostTime": "2025-08-23T07:45:04.8431758+03:30", "newPosts": 7, "rowVersion": "QEA=", "fileName": "sample string 8", "fileType": "sample string 9", "lastSeenPostId": 10, "lastPostId": 11, "customerChannelID": 12 }, { "id": 1, "name": "sample string 2", "description": "sample string 3", "totalMember": 4, "isPinned": true, "notification": true, "pinTime": "2025-08-23T07:45:04.8431758+03:30", "lastPostTime": "2025-08-23T07:45:04.8431758+03:30", "newPosts": 7, "rowVersion": "QEA=", "fileName": "sample string 8", "fileType": "sample string 9", "lastSeenPostId": 10, "lastPostId": 11, "customerChannelID": 12 } ]
text/html
Sample:
[{"id":1,"name":"sample string 2","description":"sample string 3","totalMember":4,"isPinned":true,"notification":true,"pinTime":"2025-08-23T07:45:04.8431758+03:30","lastPostTime":"2025-08-23T07:45:04.8431758+03:30","newPosts":7,"rowVersion":"QEA=","fileName":"sample string 8","fileType":"sample string 9","lastSeenPostId":10,"lastPostId":11,"customerChannelID":12},{"id":1,"name":"sample string 2","description":"sample string 3","totalMember":4,"isPinned":true,"notification":true,"pinTime":"2025-08-23T07:45:04.8431758+03:30","lastPostTime":"2025-08-23T07:45:04.8431758+03:30","newPosts":7,"rowVersion":"QEA=","fileName":"sample string 8","fileType":"sample string 9","lastSeenPostId":10,"lastPostId":11,"customerChannelID":12}]
application/xml, text/xml
Sample:
<ArrayOfChannelEntityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.Dapper.Entity"> <ChannelEntityModel> <CustomerChannelID>12</CustomerChannelID> <Description>sample string 3</Description> <FileName>sample string 8</FileName> <FileType>sample string 9</FileType> <ID>1</ID> <IsPinned>true</IsPinned> <LastPostId>11</LastPostId> <LastPostTime>2025-08-23T07:45:04.8431758+03:30</LastPostTime> <LastSeenPostId>10</LastSeenPostId> <Name>sample string 2</Name> <NewPosts>7</NewPosts> <Notification>true</Notification> <PinTime>2025-08-23T07:45:04.8431758+03:30</PinTime> <RowVersion>QEA=</RowVersion> <TotalMember>4</TotalMember> </ChannelEntityModel> <ChannelEntityModel> <CustomerChannelID>12</CustomerChannelID> <Description>sample string 3</Description> <FileName>sample string 8</FileName> <FileType>sample string 9</FileType> <ID>1</ID> <IsPinned>true</IsPinned> <LastPostId>11</LastPostId> <LastPostTime>2025-08-23T07:45:04.8431758+03:30</LastPostTime> <LastSeenPostId>10</LastSeenPostId> <Name>sample string 2</Name> <NewPosts>7</NewPosts> <Notification>true</Notification> <PinTime>2025-08-23T07:45:04.8431758+03:30</PinTime> <RowVersion>QEA=</RowVersion> <TotalMember>4</TotalMember> </ChannelEntityModel> </ArrayOfChannelEntityModel>