Cisco Unity Connection Provisioning Interface (CUPI) API -- Basic User Template Information
About User Templates
This page contains information on how to use the API to create, list, modify, and delete user templates. When you create user accounts, you base each account on a user template. Creating new user accounts on a template minimizes the number of settings that must be modified on individual user accounts, making the job of creating user accounts easier.
Cisco Unity Connection comes with predefined user templates too, which you can modify but not delete. For more information on default user template, see Default User Template section.
Listing and Viewing User Templates
Generic Examples to List User Templates
Example 1
The following is an example of the GET request that lists all the User Templates:
|
The following is an example of the response from the above *GET* request and the actual response will depend upon the information given by you:
|
|
Example 2
The following is an example of the GET request that lists the User Template as represented by <objectId>:
|
The following is an example of the response from the above *GET* request and the actual response will depend upon the information given by you:
|
|
JSON Examples to List User Templates
Example 1
The following is an example of the GET request that lists all the User Templates:
|
The following is an example of the response from the above *GET* request and the actual response will depend upon the information given by you:
|
|
Example 2
The following is an example of the GET request that lists the User Template as represented by <objectId>:
|
The following is an example of the response from the above *GET* request and the actual response will depend upon the information given by you:
|
|
Adding User Template
Example 1
The following is an example of the POST request that adds the User Templates:
|
The following is an example of the response from the above *POST* request and the actual response will depend upon the information given by you:
|
|
Example 2
The following is a JSON example of the POST request that adds the User Templates:
|
The following is an example of the response from the above *POST* request and the actual response will depend upon the information given by you:
|
|
Modifying a User Template
Example 1
The following is an example of the PUT request that modifies the user template as represented by <objectId>:
|
The following is an example of the response from the above *PUT* request and the actual response will depend upon the information given by you:
|
|
Example 2
The following is a JSON example of the PUT request that modifies the user template as represented by <objectId>:
|
The following is an example of the response from the above *PUT* request and the actual response will depend upon the information given by you:
|
|
You can also modify the following for a user template:
- User Template Voicemail PIN
- User Template Transfer Options
- User Template Caller Input
- User Template Greetings
- User Template Notification Devices
- User Template External Services
- User Template External Service Accounts
Deleting User Templates
The following is an example of the DELETE request that deletes a User Template as represented by <objectId>:
|
The output for this request returns the successful response code.
|