McDewey

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

Page 153

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

Create a Private list The mandatory field for creation is DisplayName. POST https://<connection-server>/vmrest/users/<user-objectid>/privatelists <PrivateList> <DisplayName>Test1</DisplayName> </PrivateList> 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/9375d893-c8eb-437b-90bf-7de4b1d0c3e8/privatelists/2375d893-c8eb-437b-90bf-7de4b1d0c3e5 JSON Example POST https://<connection-server>vmrest/users/<user-objectid>/privatelists/<objectid> Accept: application/json Content-type: application/json Connection: keep-alive { "DisplayName":"Test1" } 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/9375d893-c8eb-437b-90bf-7de4b1d0c3e8/privatelists/2375d893-c8eb-437b-90bf-7de4b1d0c3e5 Update Private List PUT https://<connection-server>vmrest/users/<user-objectid>/privatelists/<objectid> <PrivateList> <DisplayName>Test11</DisplayName> </PrivateList> The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 JSON Example PUT https://<connection-server>vmrest/users/<user-objectid>/privatelists/<objectid> Accept: application/json Content-type: application/json Connection: keep-alive Cisco Unity Connection Provisioning Interface (CUPI) API 121 Cisco Unity Connection Provisioning Interface (CUPI) API -- User Private List API Create a Private list