PUT: Modify the Attributes of a
Channel
Modify the attributes of the specified channel. The channel must be in a state that allows modifications. To check the status, use GET Channel. For information on the status, see Channel Status Elements.
HTTP
Request and Response
Request URL
PUT http://<Conductor IP address>/channels/<ID of channel>
Call Header
-
Accept: Set to application/xml
-
Content-Type: Set to application/xml
If you are implementing user authentication, you must also include three authorization headers; see Header Content for User Authentication.
Request Body
The body contains only the elements to change; see POST above.
Example
This request changes the name of the channel with the ID 3. It modifies it to use the node that has the ID 1.
PUT http://198.51.100.0/channels/3
------------------------------------------
Content-type:application/xml
Accept:application/xml
------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<channel>
<node_id>1</node_id>
</channel>