McDewey

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

Page 478

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

Response Code: 200 Creating a Distribution List The following is an example of the POST request that creates a new distribution list where the mandatory field is alias: POST https://<connection-server>/vmrest/distributionlists The following is the response from the above POST request and the actual response will depend upon the information given by you: Request Body: <DistributionList> <Alias>Texoma_allvoicemailusersDL_1 </Alias> <DisplayName>Texoma_allvoicemailusersDL_1</DisplayName> </DistributionList> 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/distributionlists/3049a03c-108d-40aa-a989-0b008f07656c JSON Example To create distribution list, do the following: Request URI: POST https://<connection-server>/vmrest/distributionlists Accept: application/json Content-Type: application/json Connection: keep-alive Request Body: { "Alias":"Texoma1" "DisplayName": "Texoma 1" } 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/distributionlists/dd043e9a-3f34-47eb-a72a-1b4b41e5f9d7 Delete the Distribution List This request can be used to delete a distribution list. DELETE: https://<connection-server>/vmrest/distributionlists/<distributionlistObjectId> The following is the response from the above DELETE request and the actual response will depend upon the information given by you: Response Code: 204 JSON Example Cisco Unity Connection Provisioning Interface (CUPI) API 446 Cisco Unity Connection Provisioning Interface (CUPI) API for Distribution List Creating a Distribution List