


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;feed=atom&amp;action=history</id>
		<title>Cisco Unity Connection Provisioning Interface (CUPI) API -- SRSV APIs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;action=history"/>
		<updated>2013-05-25T05:31:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;diff=49710&amp;oldid=prev</id>
		<title>Deeptija: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;diff=49710&amp;oldid=prev"/>
				<updated>2012-11-27T10:27:28Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:27, 27 November 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Deeptija</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;diff=49709&amp;oldid=prev</id>
		<title>Suniaror: /* Listing All Users Those Are Part of a Particular Branch */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Cisco_Unity_Connection_Provisioning_Interface_(CUPI)_API_--_SRSV_APIs&amp;diff=49709&amp;oldid=prev"/>
				<updated>2012-11-23T06:56:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Listing All Users Those Are Part of a Particular Branch&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Links to Other API pages:''' [[Cisco_Unity_Connection_APIs]]&lt;br /&gt;
{| align=&amp;quot;right&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|align=&amp;quot;center&amp;quot;|'''CUPI Guide Contents'''&lt;br /&gt;
|-&lt;br /&gt;
|[[Cisco Unity Connection Provisioning Interface (CUPI) API|API Overview ]]&amp;lt;br&amp;gt;[[Cisco Unity Connection Provisioning Interface (CUPI) API -- Index of All CUPI Documentation|Index of All CUPI Documentation]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== About Cisco Unity Connection Survivable Remote Site Voicemail (SRSV) ==&lt;br /&gt;
&lt;br /&gt;
Cisco Unity Connection Survivable Remote Site Voicemail (SRSV) is a survivable voicemail solution that works in conjunction with Cisco Unity Connection Survivable Remote Site Telephony (SRST) in order to provide voicemail service to a branch site when connectivity to a central voicemail service is lost.&lt;br /&gt;
&lt;br /&gt;
== Listing the Branches ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the *GET* request that lists the branches present in the Connection server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;   &lt;br /&gt;
GET https://&amp;lt;connection-server&amp;gt;/vmrest/branches    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is an example of response from the above *GET* request and the actual result will depend upon the information that has been provided by you:&lt;br /&gt;
&lt;br /&gt;
Response Code: 200&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;Branches total=&amp;quot;2&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;Branch&amp;gt;&lt;br /&gt;
  &amp;lt;URI&amp;gt;/vmrest/branches/1e0ed69d-028d-4156-9d68-f14a90438448&amp;lt;/URI&amp;gt; &lt;br /&gt;
  &amp;lt;ObjectId&amp;gt;1e0ed69d-028d-4156-9d68-f14a90438448&amp;lt;/ObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;IsAlive&amp;gt;true&amp;lt;/IsAlive&amp;gt; &lt;br /&gt;
  &amp;lt;IsDisabled&amp;gt;false&amp;lt;/IsDisabled&amp;gt; &lt;br /&gt;
  &amp;lt;OperatorObjectId&amp;gt;159bb671-cbba-4964-b06b-871f990e1de8&amp;lt;/OperatorObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;Port&amp;gt;443&amp;lt;/Port&amp;gt; &lt;br /&gt;
  &amp;lt;ProvisionState&amp;gt;0&amp;lt;/ProvisionState&amp;gt; &lt;br /&gt;
  &amp;lt;ServerAddress&amp;gt;mysrsv.cisco.com&amp;lt;/ServerAddress&amp;gt; &lt;br /&gt;
  &amp;lt;SyncGreetings&amp;gt;false&amp;lt;/SyncGreetings&amp;gt; &lt;br /&gt;
  &amp;lt;SyncVoiceName&amp;gt;false&amp;lt;/SyncVoiceName&amp;gt; &lt;br /&gt;
  &amp;lt;UserName&amp;gt;admin&amp;lt;/UserName&amp;gt; &lt;br /&gt;
  &amp;lt;VmUploadState&amp;gt;0&amp;lt;/VmUploadState&amp;gt; &lt;br /&gt;
  &amp;lt;DisplayName&amp;gt;Branch1&amp;lt;/DisplayName&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionObjectId&amp;gt;d6ac04c5-fb36-4e21-9e60-d15e0f9c6971&amp;lt;/PartitionObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionURI&amp;gt;/vmrest/partitions/d6ac04c5-fb36-4e21-9e60-d15e0f9c6971&amp;lt;/PartitionURI&amp;gt; &lt;br /&gt;
  &amp;lt;SmtpDomain&amp;gt;mysrsv.cisco.com&amp;lt;/SmtpDomain&amp;gt; &lt;br /&gt;
  &amp;lt;/Branch&amp;gt;&lt;br /&gt;
  &amp;lt;Branch&amp;gt;&lt;br /&gt;
  &amp;lt;URI&amp;gt;/vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&amp;lt;/URI&amp;gt; &lt;br /&gt;
  &amp;lt;ObjectId&amp;gt;c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&amp;lt;/ObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;IsAlive&amp;gt;true&amp;lt;/IsAlive&amp;gt; &lt;br /&gt;
  &amp;lt;IsDisabled&amp;gt;false&amp;lt;/IsDisabled&amp;gt; &lt;br /&gt;
  &amp;lt;OperatorObjectId&amp;gt;159bb671-cbba-4964-b06b-871f990e1de8&amp;lt;/OperatorObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;Port&amp;gt;443&amp;lt;/Port&amp;gt; &lt;br /&gt;
  &amp;lt;ProvisionState&amp;gt;0&amp;lt;/ProvisionState&amp;gt; &lt;br /&gt;
  &amp;lt;ServerAddress&amp;gt;mysrsv1.cisco.com&amp;lt;/ServerAddress&amp;gt; &lt;br /&gt;
  &amp;lt;SyncGreetings&amp;gt;false&amp;lt;/SyncGreetings&amp;gt; &lt;br /&gt;
  &amp;lt;SyncVoiceName&amp;gt;false&amp;lt;/SyncVoiceName&amp;gt; &lt;br /&gt;
  &amp;lt;UserName&amp;gt;admin&amp;lt;/UserName&amp;gt; &lt;br /&gt;
  &amp;lt;VmUploadState&amp;gt;0&amp;lt;/VmUploadState&amp;gt; &lt;br /&gt;
  &amp;lt;DisplayName&amp;gt;Branch2&amp;lt;/DisplayName&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionObjectId&amp;gt;765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionURI&amp;gt;/vmrest/partitions/765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionURI&amp;gt; &lt;br /&gt;
  &amp;lt;SmtpDomain&amp;gt;mysrsv1.cisco.com&amp;lt;/SmtpDomain&amp;gt; &lt;br /&gt;
  &amp;lt;/Branch&amp;gt;  &lt;br /&gt;
 &amp;lt;/Branches&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Explanation of Data Fields'''&lt;br /&gt;
&amp;lt;br&amp;gt;The following chart lists the data fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Field Name&lt;br /&gt;
! Read/Write&lt;br /&gt;
! Possible Values&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| ObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| objectid&lt;br /&gt;
| The object id of the branch at central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| IsAlive&lt;br /&gt;
| Read&lt;br /&gt;
| true/false&lt;br /&gt;
| Connectivity status between central Connection and branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| IsDisabled&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Disabled status of branch on central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| OperatorObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| objectid&lt;br /&gt;
| The object id of the user which is assigned as the operator user for the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| Port&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Port number&lt;br /&gt;
| PAT port number for the branch server.&lt;br /&gt;
|-&lt;br /&gt;
| ProvisionState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current provisioning status of branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| ServerAddress&lt;br /&gt;
| Read/Write&lt;br /&gt;
| FQDN, IP Address&lt;br /&gt;
| The address of the branch server.&lt;br /&gt;
|-&lt;br /&gt;
| SyncGreetings&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Option to enable/disable syncing of greetings for users.&lt;br /&gt;
|-&lt;br /&gt;
| SyncVoiceName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Option to enable/disable syncing of voice names for users.&lt;br /&gt;
|-&lt;br /&gt;
| UserName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| User name to be used for REST communication between central Connection and branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| VmUploadState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current voicemail upload status of branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| DisplayName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| Display name of the branch Connection SRSV server on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| PartitionObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Partition object ID associated with the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SmtpDomain&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Domain name&lt;br /&gt;
| Smtp domain of the branch Connection SRSV server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Viewing Data for an Individual Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the *GET* request that lists the properties for an individual branch present in the central Connection server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;   &lt;br /&gt;
GET https://&amp;lt;connection-server&amp;gt;/vmrest/branches/&amp;lt;objectid&amp;gt;    &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is an example of response from the above *GET* request and the actual result will depend upon the information that has been provided by you:&lt;br /&gt;
&lt;br /&gt;
Response Code: 200&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;Branch&amp;gt;&lt;br /&gt;
 &amp;lt;URI&amp;gt;/vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&amp;lt;/URI&amp;gt; &lt;br /&gt;
 &amp;lt;ObjectId&amp;gt;c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&amp;lt;/ObjectId&amp;gt; &lt;br /&gt;
 &amp;lt;IsAlive&amp;gt;true&amp;lt;/IsAlive&amp;gt; &lt;br /&gt;
 &amp;lt;IsDisabled&amp;gt;false&amp;lt;/IsDisabled&amp;gt; &lt;br /&gt;
 &amp;lt;OperatorObjectId&amp;gt;159bb671-cbba-4964-b06b-871f990e1de8&amp;lt;/OperatorObjectId&amp;gt; &lt;br /&gt;
 &amp;lt;Port&amp;gt;443&amp;lt;/Port&amp;gt; &lt;br /&gt;
 &amp;lt;ProvisionState&amp;gt;0&amp;lt;/ProvisionState&amp;gt; &lt;br /&gt;
 &amp;lt;ServerAddress&amp;gt;mysrsv.cisco.com&amp;lt;/ServerAddress&amp;gt; &lt;br /&gt;
 &amp;lt;SyncGreetings&amp;gt;false&amp;lt;/SyncGreetings&amp;gt; &lt;br /&gt;
 &amp;lt;SyncVoiceName&amp;gt;false&amp;lt;/SyncVoiceName&amp;gt; &lt;br /&gt;
 &amp;lt;UserName&amp;gt;admin&amp;lt;/UserName&amp;gt; &lt;br /&gt;
 &amp;lt;VmUploadState&amp;gt;0&amp;lt;/VmUploadState&amp;gt; &lt;br /&gt;
 &amp;lt;DisplayName&amp;gt;branch16&amp;lt;/DisplayName&amp;gt; &lt;br /&gt;
 &amp;lt;PartitionObjectId&amp;gt;765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionObjectId&amp;gt; &lt;br /&gt;
 &amp;lt;PartitionURI&amp;gt;/vmrest/partitions/765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionURI&amp;gt; &lt;br /&gt;
 &amp;lt;SmtpDomain&amp;gt;mysrsv.cisco.com&amp;lt;/SmtpDomain&amp;gt; &lt;br /&gt;
&amp;lt;/Branch&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Explanation of Data Fields'''&lt;br /&gt;
&amp;lt;br&amp;gt;The following chart lists the data fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Field Name&lt;br /&gt;
! Read/Write&lt;br /&gt;
! Possible Values&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| URI&lt;br /&gt;
| Read&lt;br /&gt;
| URL to access the branch.&lt;br /&gt;
| Server address of a particular branch.&lt;br /&gt;
|-&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| object ID&lt;br /&gt;
| The object id of the branch at central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| IsAlive&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Connectivity status between central and branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| IsDisabled&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Disabled status of branch on central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| OperatorObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Objectid&lt;br /&gt;
| The object id of the user which is assigned as the operator user for the branch on central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| Port&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Port number&lt;br /&gt;
| PAT port number for the branch server.&lt;br /&gt;
|-&lt;br /&gt;
| ProvisionState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current provisioning status of branch on central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| ServerAddress&lt;br /&gt;
| Read/Write&lt;br /&gt;
| FQDN, IP Address&lt;br /&gt;
| The address of the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SyncGreetings&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Option to enable/disable syncing of greetings for users.&lt;br /&gt;
|-&lt;br /&gt;
| SyncVoiceName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Option to enable/disable syncing of voice names for users.&lt;br /&gt;
|-&lt;br /&gt;
| UserName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| User name of the administrator of a particular branch.&lt;br /&gt;
|-&lt;br /&gt;
| VmUploadState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current voicemail upload status of branch on central server.&lt;br /&gt;
|-&lt;br /&gt;
| DisplayName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| Display name of the branch server on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| PartitionObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Partition object ID associated with the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| PartitionURI&lt;br /&gt;
| Read/Write&lt;br /&gt;
| URL&lt;br /&gt;
| Partition URL associated with the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SmtpDomain&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Domain name&lt;br /&gt;
| Smtp domain of the branch server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Creating a Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the *POST* request that is used for creating a branch on the central Connection server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;   &lt;br /&gt;
POST https://&amp;lt;connection-server&amp;gt;/vmrest/branches&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Branch&amp;gt;  &lt;br /&gt;
  &amp;lt;IsDisabled&amp;gt;false&amp;lt;/IsDisabled&amp;gt; &lt;br /&gt;
  &amp;lt;OperatorObjectId&amp;gt;159bb671-cbba-4964-b06b-871f990e1de8&amp;lt;/OperatorObjectId&amp;gt;&lt;br /&gt;
  &amp;lt;Port&amp;gt;443&amp;lt;/Port&amp;gt; &lt;br /&gt;
  &amp;lt;ServerAddress&amp;gt;mysrsv.cisco.com&amp;lt;/ServerAddress&amp;gt; &lt;br /&gt;
  &amp;lt;SyncGreetings&amp;gt;false&amp;lt;/SyncGreetings&amp;gt; &lt;br /&gt;
  &amp;lt;SyncVoiceName&amp;gt;false&amp;lt;/SyncVoiceName&amp;gt; &lt;br /&gt;
  &amp;lt;UserName&amp;gt;admin&amp;lt;/UserName&amp;gt; &lt;br /&gt;
  &amp;lt;Password&amp;gt;test&amp;lt;/Password&amp;gt;  &lt;br /&gt;
  &amp;lt;DisplayName&amp;gt;branch16&amp;lt;/DisplayName&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionObjectId&amp;gt;765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;SmtpDomain&amp;gt;mysrsv.cisco.com&amp;lt;/SmtpDomain&amp;gt; &lt;br /&gt;
&amp;lt;/Branch&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The mandatory properties are ServerAddress, UserName, Password, DisplayName, PartitionObjectId, and SmtpDomain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The successful response code returned for this API is 201. The error response code and data will depend upon the information provided by you:&lt;br /&gt;
&lt;br /&gt;
Response Code: 201&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Explanation of Data Fields'''&lt;br /&gt;
&amp;lt;br&amp;gt;The following chart lists the data fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Field Name&lt;br /&gt;
! Read/Write&lt;br /&gt;
! Possible Values&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| IsDisabled&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Enables or activates the branch.&lt;br /&gt;
|-&lt;br /&gt;
| OperatorObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Object ID of the operator.&lt;br /&gt;
| The operator or the user that must be used to synchronize the messages received by the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| Port&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Port number&lt;br /&gt;
| A port number that the branch uses to communicate with Cisco Unity Connection.&lt;br /&gt;
|-&lt;br /&gt;
| ServerAddress&lt;br /&gt;
| Read/Write&lt;br /&gt;
| FQDN, IP Address&lt;br /&gt;
| The IP address or the Fully Qualified Domain Name (FQDN) of the branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| SyncGreetings&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Synchronize the greetings for the users on the branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| SyncVoiceName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Synchronize the recorded voice name of the user on the branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| UserName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| The user name of the administrator of the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| Password&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| The password of the administrator of the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| DisplayName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| Display name of the branch server on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| PartitionObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Partition object ID associated with the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SmtpDomain&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Domain name&lt;br /&gt;
| Smtp domain of the branch server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Updating a Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the *PUT* request that is used for updating a branch on the central Connection server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;   &lt;br /&gt;
PUT https://&amp;lt;connection-server&amp;gt;/vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;Branch&amp;gt;  &lt;br /&gt;
  &amp;lt;IsDisabled&amp;gt;false&amp;lt;/IsDisabled&amp;gt; &lt;br /&gt;
  &amp;lt;OperatorObjectId&amp;gt;159bb671-cbba-4964-b06b-871f990e1de8&amp;lt;/OperatorObjectId&amp;gt;&lt;br /&gt;
  &amp;lt;Port&amp;gt;443&amp;lt;/Port&amp;gt; &lt;br /&gt;
  &amp;lt;ServerAddress&amp;gt;mysrsv.cisco.com&amp;lt;/ServerAddress&amp;gt; &lt;br /&gt;
  &amp;lt;SyncGreetings&amp;gt;false&amp;lt;/SyncGreetings&amp;gt; &lt;br /&gt;
  &amp;lt;SyncVoiceName&amp;gt;false&amp;lt;/SyncVoiceName&amp;gt; &lt;br /&gt;
  &amp;lt;UserName&amp;gt;admin&amp;lt;/UserName&amp;gt; &lt;br /&gt;
  &amp;lt;Password&amp;gt;test&amp;lt;/Password&amp;gt;  &lt;br /&gt;
  &amp;lt;DisplayName&amp;gt;branch16&amp;lt;/DisplayName&amp;gt; &lt;br /&gt;
  &amp;lt;PartitionObjectId&amp;gt;765cd618-0cff-43a4-b781-efdba282dba4&amp;lt;/PartitionObjectId&amp;gt; &lt;br /&gt;
  &amp;lt;SmtpDomain&amp;gt;mysrsv.cisco.com&amp;lt;/SmtpDomain&amp;gt; &lt;br /&gt;
  &amp;lt;ProvisionState&amp;gt;1&amp;lt;/ProvisionState&amp;gt;&lt;br /&gt;
  &amp;lt;VmUploadState&amp;gt;0&amp;lt;/VmUploadState&amp;gt;&lt;br /&gt;
&amp;lt;/Branch&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This *PUT* request is also used for scheduling a branch for provisioning and voicemail upload.&lt;br /&gt;
Only the properties mentioned in above XML are writable at the time of modifying a branch. The properties, ProvisionState and VmUploadState, can not be put in the request XML at the same time as a branch can be scheduled either for provisioning or voicemail upload, at a given point of time. The value of those fields can only be 1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The successful response code returned for this API is 201. The error response code and data will depend upon the information provided by you:&lt;br /&gt;
&lt;br /&gt;
Response Code: 201&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Explanation of Data Fields'''&lt;br /&gt;
&amp;lt;br&amp;gt;The following chart lists the data fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Field Name&lt;br /&gt;
! Read/Write&lt;br /&gt;
! Possible Values&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| IsDisabled&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Enables or activates the branch.&lt;br /&gt;
|-&lt;br /&gt;
| OperatorObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Object ID of the operator.&lt;br /&gt;
| The operator or the user that must be used to synchronize the messages received by the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| Port&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Port number&lt;br /&gt;
| A port number that the branch uses to communicate with Cisco Unity Connection.&lt;br /&gt;
|-&lt;br /&gt;
| ServerAddress&lt;br /&gt;
| Read/Write&lt;br /&gt;
| FQDN, IP Address&lt;br /&gt;
| The IP address or the Fully Qualified Domain Name (FQDN) of the branch Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SyncGreetings&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Synchronize the greetings for the users on the branch.&lt;br /&gt;
|-&lt;br /&gt;
| SyncVoiceName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| true/false&lt;br /&gt;
| Synchronize the recorded voice name of the user on the branch.&lt;br /&gt;
|-&lt;br /&gt;
| UserName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| The user name of the administrator of the branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| Password&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| The password of the administrator of the branch Connection SRSV server.&lt;br /&gt;
|-&lt;br /&gt;
| DisplayName&lt;br /&gt;
| Read/Write&lt;br /&gt;
| String&lt;br /&gt;
| Display name of the branch server on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| PartitionObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Partition object ID associated with the branch on the central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| SmtpDomain&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Domain name&lt;br /&gt;
| Smtp domain of the branch server.&lt;br /&gt;
|-&lt;br /&gt;
| ProvisionState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current provisioning status of branch on central Connection server.&lt;br /&gt;
|-&lt;br /&gt;
| VmUploadState&lt;br /&gt;
| Read/Write&lt;br /&gt;
| 0 – Idle, 1 – Scheduled, 2 – In-progress&lt;br /&gt;
| Current voicemail upload status of branch on central Connection server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Deleting a Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the Delete request that is used for deleting a branch on the central Connection server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;   &lt;br /&gt;
DELETE  /vmrest/branches/c3816faf-8dc6-48f3-9c6a-b8e93bba1c42&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A branch using this API can only be deleted, if the branch is not in the '''in-progress''' state neither for provisioning nor voicemail upload.&lt;br /&gt;
&lt;br /&gt;
The successful response code returned for this API is 201. The error response code and data will depend upon the information provided by you:&lt;br /&gt;
  &lt;br /&gt;
Response Code:   201&lt;br /&gt;
Data:  NA&lt;br /&gt;
&lt;br /&gt;
== Assigning a User to Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the Put request that is used for assigning a branch to a user by allocating the branch partition to it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PUT /vmrest/users/&amp;lt;userObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;User&amp;gt;&lt;br /&gt;
&amp;lt;PartitionObjectId&amp;gt;partitionObjectIdMappedToBranch&amp;lt;/PartitionObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/User&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;      &lt;br /&gt;
&lt;br /&gt;
To fetch the partition information of a branch, you can use the API to view the details of a branch. Refer to the Viewing Data for an Individual Branch section for more information. The PartitionObjectId element given in the response XML of this section denotes the partition mapped with the branch.&lt;br /&gt;
&lt;br /&gt;
Response Code: 204&lt;br /&gt;
&lt;br /&gt;
== Removing a User from a Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the Put request that is used for removing a user from a branch by modifying its partition to some other partition that is not mapped to that branch:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PUT /vmrest/users/&amp;lt;userObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;User&amp;gt;&lt;br /&gt;
&amp;lt;PartitionObjectId&amp;gt;partitionObjectIdNotMappedToBranch&amp;lt;/PartitionObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/User&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To fetch the partition information of a branch, you can use the API to view the details of a branch. Refer to the Viewing Data for an Individual Branch, page 21-3 section for more information. The PartitionObjectId element given in the response XML of this section denotes the partition mapped with the branch.&lt;br /&gt;
&lt;br /&gt;
Response Code: 204&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Listing All Users Those Are Part of a Particular Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the Get request that is used to list the users those are part of a particular branch by searching with the partition object ID of the branch:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GET  /vmrest/users?query=(PartitionObjectId is partitionObjectIdMappedToBranch)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;Users total=&amp;quot;10&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;User&amp;gt;&lt;br /&gt;
&amp;lt;URI&amp;gt;/vmrest/users/cb13e6a9-7322-45fa-91cd-7a0b1e21b754&amp;lt;/URI&amp;gt; &amp;lt;ObjectId&amp;gt;cb13e6a9-7322-45fa-91cd-7a0b1e21b754&amp;lt;/ObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/User&amp;gt;&lt;br /&gt;
&amp;lt;/Users&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response Code: 200&lt;br /&gt;
&lt;br /&gt;
'''Explanation of Data Fields'''&lt;br /&gt;
&amp;lt;br&amp;gt;The following chart lists the data fields:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Field Name&lt;br /&gt;
! Read/Write&lt;br /&gt;
! Possible Values&lt;br /&gt;
! Description&lt;br /&gt;
|- &lt;br /&gt;
| URI&lt;br /&gt;
| Read&lt;br /&gt;
| URL to access the branch.&lt;br /&gt;
| Server address of a particular branch.&lt;br /&gt;
|-&lt;br /&gt;
| ObjectId&lt;br /&gt;
| Read/Write&lt;br /&gt;
| Object ID&lt;br /&gt;
| The object id of the branch at the central Connection server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Creating a Call Handler for a Branch ==&lt;br /&gt;
&lt;br /&gt;
The following is an example of the Put request that is used to create a call handler:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
POST  /vmrest/handlers/callhandlers?templateObjectId=&amp;lt;callhandlerTemplateObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;Callhandler&amp;gt;&lt;br /&gt;
&amp;lt;DisplayName&amp;gt;Test&amp;lt;/DisplayName&amp;gt;&lt;br /&gt;
&amp;lt;/Callhandler&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is an existing API for creating a call handler that can be used at the branch as well.&lt;br /&gt;
&lt;br /&gt;
Response Code: 201&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/vmrest/handlers/callhandlers/&amp;lt;callhandlerObjectId&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Cisco Unity Connection Provisioning Interface (CUPI) API]]&lt;/div&gt;</summary>
		<author><name>Suniaror</name></author>	</entry>

	</feed>