McDewey

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

Page 423

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

{ "TemplateVideoService": { "ConnectorFactoryObjectId": "dbd26014-fe57-4d00-bd5a- a1df1bdae6a2", "ConnectorFactoryName": "myservice" } } The following is the response from the above POST request: /vmrest/usertemplates/<TemplateObjectId>/ usertemplatevideoserviceaccounts /<TemplateObjectid>/ Updating the User Template Video Service Account The following is an example of the PUT request to update the user template video service account: PUT: https://<server-ip>/vmrest/usertemplates/<templateobjectid>/usertemplatevideoserviceaccounts/<objectid> Request Body: <UserTemplateVideoServiceAccount> <ConnectorFactoryObjectId>bf9e3b86-4306-4da3-a958-40f9197c99bd</ConnectorFactoryObjectId> <IsConnectorMapped>true</IsConnectorMapped> <ConnectorFactoryName>test</ConnectorFactoryName> <MediaServerType>0</MediaServerType> </UserTemplateVideoServiceAccount> Response Code: 204 OK JSON Example The following is an example to update a video service template: Request URI: PUT: https://<connection-ip-address>/vmrest/usertemplates/<TemplateObjectid>/usertemplatevideoserviceaccounts/<ObjectId> Accept: application/json Content-type: application/json The following is an example of the PUT request: { "TemplateVideoService": { "IsConnectorMapped": "false ", "ConnectorFactoryName": "myservice", "MediaServerType": "0" } } The following is the response from the above PUT request: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 391 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Settings Updating the User Template Video Service Account