PUT: Modify a Router Input
Modify the attributes of the specified input on the specified router. If, after the initial setup, you ever change the cabling on the input side of your router, you must use PUT Router Input to reflect these changes.
HTTP Request and Response
Request URL
PUT http://<Conductor IP address>/routers/<ID of router>/inputs/<ID of input>
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. For a list of all elements, see POST: Create a Router
Example
This request changes the router input number (the number of the physical input port on the router) to 4. The number 3 at the end of the example URL is the id assigned by Conductor Live when this input was created in the software. This input belongs to the router with the ID of 2.
This change would only be made to fix an error in the original setup or to reflect a change in the cabling (so that the router’s 4th input is now being used).
PUT http://198.51.100.0/routers/2/inputs/3 ------------------------------------------ Content-type:application/vnd.elemental+xml;version=3.3.0 Accept:application/xml------------------------------------------ <?xml version="1.0" encoding="UTF-8"?> <input> <input_id>4</input_id> </input>