/mcpCreating a New Alternate Extension The following is an example of a POST that creates an alternate extension of 2000 for a user. The IdIndex field is explained in further detail below. POST /vmrest/users/<userobjectid>/alternateextensions <?xml version="1.0" encoding="UTF-8"?> <AlternateExtension> <IdIndex>1</IdIndex> <DtmfAccessId>2000</DtmfAccessId> </AlternateExtension> Updating an Existing Alternate Extension The following is an example of a PUT that modifies the DTMFAccessID of an alternate extension on a user to 2000. The IdIndex field is explained in further detail below. PUT /vmrest/users/<userobjectid>/alternateextensions/<alternateextensionobjectid> <?xml version="1.0" encoding="UTF-8"?> <AlternateExtension> <DtmfAccessId>2000</DtmfAccessId> </AlternateExtension> Explaining the IdIndex Field The IdIndex field indicates what type of phone this extension represents. It does not affect the behavior of the alternate extension, it simply is a way to categorize and order the alternate extensions. Cisco Unity Connection allows a user to have 9 administrator-defined alternate extensions and 10 user-defined alternate extensions (if allowed by COS). Only one alternate extension is associated with each IdIndex, and every extension must have an IdIndex. Non-alternate extensions (primary, distribution list, location, etc.) have an IdIndex containing a value of 0. Administrator-defined alternate extensions use the range of 1-9. User-defined alternate extensions use the range of 11-20. User-defined alternate extensions cannot be created by administrators, only by users (if allowed by their COS). In Cisco Unity Connection Administration, administrator-defined alternate extensions have their IdIndex translated into a Phone Type, which is simply a text tag to help you categorize your alternate extensions. The table below shows the translations. 1 = Work Phone 2 = Work Phone 2 3 = Home Phone 4 = Home Phone 2 5 = Mobile Phone 6 = Mobile Phone 2 7 = Work Fax Cisco Unity Connection Provisioning Interface (CUPI) API 194 Cisco Unity Connection Provisioning Interface (CUPI) API for User Account Settings Creating a New Alternate Extension