/mcpWorking with Tenant Partitioning Steps to List the Basic Configuration Settings to Provision a Tenant Procedure Step 1 Create Tenant: A new API has been introduced for tenant provisioning. All its associated objects are created by executing a single API request. If the operation fails at any point in time, the entire process is rolled back. To create a tenant, an HTTP POST request should be sent to the URI: https://<connection-server>/vmrest/tenants For the optional parameters, if no value is specified then system default values be used. Step 2 Create Port Group: To create a port group, an HTTP POST request should be sent to the URI: https://<connection-server>/vmrest/portgroups Tenant partitioning supports SIP integration only. Step 3 Create Ports: To create a port, an HTTP POST request should be sent to the URI: https://<connection-server>/vmrest/ports Step 4 Integrate with Call Manager: To integrate with Call Manager, do the following: • Create SIP Security Profile • Create SIP Profile • Create Trunk to Publisher and Subscriber • Create Route Group • Create Route List • Create Route Pattern • Create Voicemail Pilot and Voicemail Profile Step 5 Create User for the Tenant: To create a user, an HTTP POST request should be sent to the URI: https://<connection-server>/vmrest/users?templateAlias=<TenantUserTemplate> User template specified in the URI should belong to the tenant for which you are creating the user. Step 6 Record Greetings: To record the greetings, do the following: • Create a temporary place-holder WAV file on Unity Connection via POST operation on the URI: https://<connection-server>/vmrest/voicefiles • Use the temporary file name created before to upload the new audio. The HTTP content type is "audio/wav" and the payload content is the audio data. PUT https://<connection-server>/vmrest/voicefiles/<TemporaryFileName> • Assign temporary audio WAV file to the target resource. Perform a POST operation on the following URI: https://<connection-server>/vmrest/handlers/callhandlers/<TenantCallHandlerObjectId>/greetings/Standard/greetingstreamfiles/1033 Step 7 Call Pilot Number: Dial the pilot number. You hear the recorded opening greeting. System Administration Guide 336 Tenant Partitioning Working with Tenant Partitioning