McDewey

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

Page 482

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

Response Code: 201 /vmrest/alternatenames/e091a0f6-031e-440d-abd2-783e5f62511b Example 2: Listing the alternate names of a distribution list GET https://<connection-server>/vmrest/ alternatenames?query=(DistributionListObjectId%20is%20ef4aa84e-97c3-456e-848e-b162a04c9631) The following is the response from the above GET request and the actual response will depend upon the information given by you: <AlternateNames total="2"> <AlternateName> <URI>/vmrest/alternatenames/865615e9-1c00-4121-acf4-36ee00adb09c</URI> <FirstName>Texoma_Alternane Name 1</FirstName> <ObjectId>865615e9-1c00-4121-acf4-36ee00adb09c</ObjectId> <DistributionListObjectId>e703511f-fa9b-41f2-8662- 23de75fffc96</DistributionListObjectId> <DistributionListURI>/vmrest/distributionlists/e703511f-fa9b-41f2-8662- 23de75fffc96</DistributionListURI> </AlternateName> <AlternateName> <URI>/vmrest/alternatenames/af735ef8-b3f3-4c97-a8ec-667e416cfde2</URI> <FirstName>Texoma_Alternate Name 2</FirstName> <ObjectId>af735ef8-b3f3-4c97-a8ec-667e416cfde2</ObjectId> <DistributionListObjectId>e703511f-fa9b-41f2-8662- 23de75fffc96</DistributionListObjectId> <DistributionListURI>/vmrest/distributionlists/e703511f-fa9b-41f2-8662- 23de75fffc96</DistributionListURI> </AlternateName> </AlternateNames> Response Code: 200 JSON Example: GET https://<connection-server>/vmrest/alternatenames?query=(DistributionListObjectId%20is%20c238c2bf-4037-494d-951b-090468c95dc4) 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: { "@total":"1","AlternateName": { "URI":"/vmrest/alternatenames/e091a0f6-031e-440d-abd2-783e5f62511b", "FirstName":"Taxoma_list1", "ObjectId":"e091a0f6-031e-440d-abd2-783e5f62511b", "DistributionListObjectId":"c238c2bf-4037-494d-951b-090468c95dc4", "DistributionListURI":"/vmrest/distributionlists/c238c2bf-4037-494d-951b- 090468c95dc4" } } Response Code: 200 Example 3: Deleting an alternate name Cisco Unity Connection Provisioning Interface (CUPI) API 450 Cisco Unity Connection Provisioning Interface (CUPI) API for Distribution List Updating the Alternate Names of Distribution Lists