McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 63

↗ View in doc context
page
63
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::29

GET https://<connection-server>/vmrest/users/ <user-objectid>/alternateextensions/<alternateextension_objectid> • Step 3: Set following as a Request URI: GET https://<connection-server>/vmrest/alternateextensionadvanceds/<objectid> Accept: application/json Connection: keep-alive The following is the response from the above GET request and the actual response will depend upon the information given by you: { "URI": "/vmrest/alternateextensionadvanceds/42266e69-5e5e-42fe-924e-e94b2c9e06b3", "DeviceDtmfAccessIdObjectId": "7c26381e-ee0f-4abf-9083-94a5017abc76", "MessageSpeed": "100", "MessageVolume": "50", "ObjectId": "42266e69-5e5e-42fe-924e-e94b2c9e06b3", "PromptSpeed": "100", "PromptVolume": "50", "SaveMessageOnHangup": "true", "SendMessageOnHangup": "1", "SkipPasswordForKnownDevice": "true", "SubscriberObjectId": "bf0e9ca3-db47-472d-aa0c-609a3265ada1", "UserURI": "/vmrest/users/bf0e9ca3-db47-472d-aa0c-609a3265ada1" } Response Code: 200 Create a new Alternate Extension The mandatory fields for creation of alternate extension are IdIndex, DtmfAccessId, and PartitionObjectId. The URI for getting partition object ID use: GET https://<connection-server>/vmrest/partitions The following URI is fetched from the response body of URI: GET https://<connection-server>/vmrest/users/<user-objectid> To create a new alternate extension for a user POST https://<connection-server>/vmrest/users/<user-objectid>/alternateextensions <AlternateExtension> <IdIndex>2</IdIndex> <DtmfAccessId>999341</DtmfAccessId> <PartitionObjectId>da2114bf-cde7-43d8-9709-cd3895a9d41b</PartitionObjectId> </AlternateExtension> The following is the response from the above POST request and the actual response will depend upon the information given by you: Response Code: 201 /vmrest/users/fa2114bf-cde7-43d8-9709-cd3895a9d41b/alternateextensions/ea2114bf-cde7-43d8-9709-cd3895a9d41b JSON Example POST https://<connection-server>/vmrest/users/<user-objectid>/alternateextensions Accept: application/json Content-type: application/json Connection: keep-alive { "IdIndex":"2", Cisco Unity Connection Provisioning Interface (CUPI) API 31 Cisco Unity Connection Provisioning Interface (CUPI) API -- Alternate Extension Create a new Alternate Extension