McDewey

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

Page 118

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

POST https://<connection-server>/vmrest/users/<user-objectid>/notificationdevices/pagerdevices Accept: application/json Content-type: application/json Connection: keep-alive { "DisplayName":"New Pager", "PhoneNumber":"1234", "MediaSwitchObjectId":"ae63574f-2aaf-4c28-8973-bfa8e3b1dd1c" } 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/<user-objectid>/notificationdevices/pagerdevices/84e72420-615e-4d94-b1df-f1317906cce3 The phone system ID is mandatory to create pager device. URI to get ID for phone system: https://<connection-server>/vmrest/phonesystems Phone Devices GET https://<connection-server>/vmrest/users/<user-objectid> From above URI get notification devices URI: https://<connection-server>/vmrest/users/<user-objectid>/usernotificationdevices Listing Phone Device GET:https://<connection-server>/vmrest/users/<user-objectid>/notificationdevices/phonedevices/<phone_objectid> The following is the response from the above GET request and the actual response will depend upon the information given by you: Response code: 200 JSON Example GET https://<connection-server>/vmrest/users/<user-objectid>/notificationdevices/phonedevices/<phone_objectid> Accept: application/json Content-type: 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: Response Code: 200 Cisco Unity Connection Provisioning Interface (CUPI) API 86 Cisco Unity Connection Provisioning Interface (CUPI) API -- User Notification Devices API Phone Devices