/mcp{ "@total":"1" "DistributionListMember": { "URI":"/vmrest/distributionlists/dd043e9a-3f34-47eb-a72a- 1b4b41e5f9d7/distributionlistmembers/dadd5c1c-1666-486a-94fa-bc681d99bfdb" "DistributionListObjectId":"dd043e9a-3f34-47eb-a72a- 1b4b41e5f9d7" "DistributionListURI":"/vmrest/distributionlists/dd043e9a-3f34-47eb-a72a- 1b4b41e5f9d7" "MemberUserObjectId":"216c1a3e-7c0e-4527-aa9c-32b2683f04be" "MemberUserURI":"/vmrest/users/216c1a3e-7c0e-4527-aa9c- 32b2683f04be" "ObjectId":"dadd5c1c-1666-486a-94fa-bc681d99bfdb" "Alias":"kapil1_Operator_1" "DisplayName":"kapil1_Operator_1" "AllowForeignMessage":"false" "MemberGlobalUserObjectId":"216c1a3e-7c0e-4527-aa9c-32b2683f04be" "MemberGlobalUserURI":"/vmrest/globalusers/216c1a3e-7c0e-4527-aa9c-32b2683f04be" "MemberLocationObjectId":"830e1a2d-8e90-459f-88f7-700497ba975c" "MemberLocationURI":"/vmrest/locations/connectionlocations/830e1a2d-8e90-459f- 88f7-700497ba975c" "MemberGlobalUserDignetObjectId":"216c1a3e-7c0e-4527-aa9c-32b2683f04be" "IsUserTemplate":"false" "LocationObjectId":"830e1a2d-8e90-459f-88f7-700497ba975c" "LocationURI":"/vmrest/locations/connectionlocations/830e1a2d-8e90-459f-88f7- 700497ba975c" } } Response Code: 200 Creating a Distribution List Member You can create a new distribution list member by adding a user or user template or can add another distribution list as a member. Example 1: Adding a user or user template to a distribution list To get user or user template object ID, you can use the following URIs: GET https://<connection-server>/vmrest/users GET https://<connection-server>/vmrest/usertemplates The following is an example of the POST request that creates a new distribution list member by adding a user or user template: POST https://<connection-server>/vmrest/distributionlists/ef4aa84e-97c3-456e-848e- b162a04c9631/distributionlistmembers Request Body: <DistributionListMember> <MemberUserObjectId>6202095f-606b-40d8-889d-f32e2d822f54</MemberUserObjectId> </DistributionListMember> Response Code: 201 Example 2: Adding another distribution list as a member The following is an example of the POST request that creates a new distribution list member by adding another distribution list as a member: Cisco Unity Connection Provisioning Interface (CUPI) API 455 Cisco Unity Connection Provisioning Interface (CUPI) API for Distribution List Creating a Distribution List Member