<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Update_Room</id>
		<title>API Update Room - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Update_Room"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Room&amp;action=history"/>
		<updated>2026-04-08T18:39:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Update_Room&amp;diff=4549&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will update an existing new room.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3/admin/rooms/{roomid}/edit&lt;/pre&gt; ''Replace {roomid} with the actual id n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Room&amp;diff=4549&amp;oldid=prev"/>
				<updated>2020-04-14T19:51:49Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will update an existing new room.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/rooms/{roomid}/edit&amp;lt;/pre&amp;gt; &amp;#039;&amp;#039;Replace {roomid} with the actual id n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This API call will update an existing new room.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/rooms/{roomid}/edit&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Replace {roomid} with the actual id number of the room. Rooms are numbered sequentially when added to VALT.''&lt;br /&gt;
&lt;br /&gt;
===Resource Information===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Method'''&lt;br /&gt;
|POST&lt;br /&gt;
|-&lt;br /&gt;
|'''Headers'''&lt;br /&gt;
|Content-Type:application/json&lt;br /&gt;
|-&lt;br /&gt;
|'''Response Type'''&lt;br /&gt;
|JSON&lt;br /&gt;
|-&lt;br /&gt;
|'''Authentication Required'''&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
The JSON body must be properly formatted. All fields and values should be enclosed in double quotes and separated by a colon.&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Field Name&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|'''name'''&lt;br /&gt;
|Room Name&lt;br /&gt;
|yes&lt;br /&gt;
|Room 174&lt;br /&gt;
|-&lt;br /&gt;
|'''is_io'''&lt;br /&gt;
|Enable IO control of room (true = enabled, false = disabled)&lt;br /&gt;
|no&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|'''io_camera_id'''&lt;br /&gt;
|Camera ID number for IO control.&lt;br /&gt;
|no&lt;br /&gt;
|63&lt;br /&gt;
|-&lt;br /&gt;
|'''io_user_id'''&lt;br /&gt;
|User ID number that IO recordings should be assigned to.&lt;br /&gt;
|no&lt;br /&gt;
|47&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Response===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Reason&lt;br /&gt;
|-&lt;br /&gt;
|200&lt;br /&gt;
|Room Created Successfully&lt;br /&gt;
|-&lt;br /&gt;
|400&lt;br /&gt;
|Invalid Request (See Response for Specific Error)&lt;br /&gt;
|-&lt;br /&gt;
|401&lt;br /&gt;
|Unauthorized&lt;br /&gt;
|-&lt;br /&gt;
|500&lt;br /&gt;
|JSON Body Formatted Incorrectly&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+JSON Response&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|data&lt;br /&gt;
|-&lt;br /&gt;
|'''id'''&lt;br /&gt;
|ID number for the updated room.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Request===&lt;br /&gt;
The sample JSON body below is formatted with line breaks and indentation to make it easier to read. This is '''not''' required.&lt;br /&gt;
&amp;lt;pre&amp;gt;https://ivstest1.ad.ipivs.com/api/v3/admin/rooms/69/edit?access_token=e82632d19c523678fea3d1016c6df9e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;name&amp;quot;:&amp;quot;API Test 4&amp;quot;,&lt;br /&gt;
  &amp;quot;is_io&amp;quot;:true,&lt;br /&gt;
  &amp;quot;io_camera_id&amp;quot;:63,&lt;br /&gt;
  &amp;quot;io_user_id&amp;quot;:47&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Successful Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;id&amp;quot;: 68&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Failure Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;Validation Error&amp;quot;,&lt;br /&gt;
&amp;quot;fields&amp;quot;:[&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;name&amp;quot;: &amp;quot;name&amp;quot;,&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;This value should not be blank.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
]&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;code&amp;quot;: 400&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>