POST api/ChatAPI/channel/subscribe

SubscribeChannel

Request Information

Parameters

NameDescriptionAdditional information
ccrequest

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "channelid": "sample string 1",
  "members": [
    {
      "email": "sample string 1"
    },
    {
      "email": "sample string 1"
    },
    {
      "email": "sample string 1"
    }
  ]
}

text/javascript

Sample:
{"channelid":"sample string 1","members":[{"email":"sample string 1"},{"email":"sample string 1"},{"email":"sample string 1"}]}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChatChannelSubscribeUnsubscribeRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ids": "sample string 1",
  "added_at": "2024-12-02T18:14:19.7765291+00:00"
}

text/javascript

Sample:
{"ids":"sample string 1","added_at":"2024-12-02T18:14:19.7765291+00:00"}