McDewey

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

Page 121

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

Response code: 200 JSON Example GET https://<connection-server>/vmrest/user/notificationdevices/smtpdevices 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: { "URI": "/vmrest/user/notificationdevices/smtpdevices/eb4dbeae-ec87-417c-8cc0-d4ac3ab04942", "SendCount": "true", "SmtpAddress": "John@cisco.com", "StaticText": [], "ObjectId": "eb4dbeae-ec87-417c-8cc0-d4ac3ab04942", "Active": "false", "DeviceName": "SMTP", "DisplayName": "SMTP", "MaxBody": "512", "MaxSubject": "64", "SubscriberObjectId": "104b8800-554e-47cd-9fe7-ee16c79ce4d2", "SendCallerId": "true", "SendPcaLink": "false", "Undeletable": "true", "HeaderText": "Texoma_Header", "FooterText": "Texoma_Footer" } Response Code: 200 Update SMTP Device GET:https://<Connection-server>/vmrest/user/notificationdevices/smtpdevices/<smtpDeviceObjectId> The following is the response from the above GET request and the actual response will depend upon the information given by you: Response code: 204 <SmtpDevice> <SmtpAddress>John@cisco.com</SmtpAddress> <HeaderText>Texoma_Header</HeaderText> <FooterText>Texoma_Footer</FooterText> </SmtpDevice> JSON Example PUT https://<connection-server>/vmrest/user/notificationdevices/smtpdevices/<smtpDeviceObjectId> Accept: application/json Content-type: application/json Connection: keep-alive Cisco Unity Connection Provisioning Interface (CUPI) API 89 Cisco Unity Connection Provisioning Interface (CUPI) API -- User Notification Devices API Update SMTP Device