POST api/AgoraIO/JoinChannel

Request Information

URI Parameters

None.

Body Parameters

AgoraJoinChannelReq
NameDescriptionTypeAdditional information
AccountId

integer

None.

CompanyId

string

None.

FromUserType

string

None.

FromUserId

string

None.

ChannelName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CompanyId": "sample string 2",
  "FromUserType": "sample string 3",
  "FromUserId": "sample string 4",
  "ChannelName": "sample string 5"
}

application/xml, text/xml

Sample:
<AgoraIOChatController.AgoraJoinChannelReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.WebAPI.Controllers">
  <AccountId>1</AccountId>
  <ChannelName>sample string 5</ChannelName>
  <CompanyId>sample string 2</CompanyId>
  <FromUserId>sample string 4</FromUserId>
  <FromUserType>sample string 3</FromUserType>
</AgoraIOChatController.AgoraJoinChannelReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />