Insert a Channel
To insert a channel, your XML must include the following properties and metadata fields:
| Type | Required | Name | Description |
|---|---|---|---|
| Property | Yes | Type
|
The type of item to insert. To insert a channel, specify Channel. |
| Property | Yes | TEAMID
|
The ID of the team to insert the channel into. |
| Metadata field | Yes | DisplayName
|
The display name to use for the new channel. |
| Metadata field | Optional | Description
|
The description to use for the new channel. |
For example, the value of your insertXML action parameter might look like this:
<insertXML>
<insert>
<property name="Type" value="Channel"/>
<property name="TEAMID" value="1"/>
<xmlmetadata>
<DisplayName>IDOL discussions</DisplayName>
<Description>My new channel</Description>
</xmlmetadata>
</insert>
</insertXML>