POST api/Channel/UpdateSetting

Request Information

URI Parameters

None.

Body Parameters

CustomerChannelDto
NameDescriptionTypeAdditional information
PinTime

date

None.

ChannelID

integer

Required

IsPinned

boolean

Required

Notification

boolean

Required

LastSeenPostId

integer

Required

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pinTime": "2025-08-23T07:53:29.4133166+03:30",
  "channelID": 1,
  "isPinned": true,
  "notification": true,
  "lastSeenPostId": 4,
  "id": 1
}

text/html

Sample:
{"pinTime":"2025-08-23T07:53:29.4133166+03:30","channelID":1,"isPinned":true,"notification":true,"lastSeenPostId":4,"id":1}

application/xml, text/xml

Sample:
<CustomerChannelDto 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>1</ChannelID>
  <IsPinned>true</IsPinned>
  <LastSeenPostId>4</LastSeenPostId>
  <Notification>true</Notification>
  <PinTime>2025-08-23T07:53:29.4133166+03:30</PinTime>
</CustomerChannelDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerChannelDto
NameDescriptionTypeAdditional information
PinTime

date

None.

ChannelID

integer

Required

IsPinned

boolean

Required

Notification

boolean

Required

LastSeenPostId

integer

Required

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "pinTime": "2025-08-23T07:53:29.4914394+03:30",
  "channelID": 1,
  "isPinned": true,
  "notification": true,
  "lastSeenPostId": 4,
  "id": 1
}

text/html

Sample:
{"pinTime":"2025-08-23T07:53:29.4914394+03:30","channelID":1,"isPinned":true,"notification":true,"lastSeenPostId":4,"id":1}

application/xml, text/xml

Sample:
<CustomerChannelDto 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>1</ChannelID>
  <IsPinned>true</IsPinned>
  <LastSeenPostId>4</LastSeenPostId>
  <Notification>true</Notification>
  <PinTime>2025-08-23T07:53:29.4914394+03:30</PinTime>
</CustomerChannelDto>