McDewey

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

Page 707

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

Response Code: 201 Example 2: The following is the example of the create request with specific restriction table Object ID Request Body: <RestrictionPattern> <NumberPattern>*#??</NumberPattern> <RestrictionTableObjectId>38de2a1f-ca74-4be3-bb7c-d315df4c0fc5</RestrictionTableObjectId> </RestrictionPattern> Response Code: 201 Updating a Restriction Pattern The following is an example of the PUT request that allows you to update the restriction pattern: Example 1: Change number pattern of restriction pattern PUT https://<connection- server>/vmrest/restrictiontables/<restrictiontableobjectid>/restrictionpatterns/<restrictionpatterno bjectid> Request Body: <RestrictionPattern> <NumberPattern>??999#</NumberPattern> </RestrictionPattern> Response Code: 204 JSON Example To change number pattern of restriction pattern, do the following: Request URI: PUT https://<connection- server>/vmrest/restrictiontables/<restrictiontableobjectid>/restrictionpatterns/<restrictionpatternobject id> Accept: application/json Content-Type: application/json Connection: keep-alive { "NumberPattern": "99??" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Request URI: 204 Example 2: Change sequence of restriction pattern Cisco Unity Connection Provisioning Interface (CUPI) API 675 Cisco Unity Connection Provisioning Interface (CUPI) API for System Settings Updating a Restriction Pattern