McDewey

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

Page 712

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

<RestrictionTable> <URI>/vmrest/restrictiontables/71be3f47-fcf4-463d-8e8a-1710a2180de6</URI> <ObjectId>71be3f47-fcf4-463d-8e8a-1710a2180de6</ObjectId> <CreationTime>2013-01-29T09:46:52Z</CreationTime> <DefaultBlocked>false</DefaultBlocked> <LocationObjectId>9f59d35f-104b-4875-9995-39925dd024c0</LocationObjectId> <LocationURI>/vmrest/locations/connectionlocations/9f59d35f-104b-4875-9995- 39925dd024c0</LocationURI> <MaxDigits>40</MaxDigits> <MinDigits>1</MinDigits> <DisplayName>Default Transfer</DisplayName> <Undeletable>true</Undeletable> <RestrictionPatternsURI>/vmrest/restrictiontables/71be3f47-fcf4-463d-8e8a- 1710a2180de6/restrictionpatterns</RestrictionPatternsURI> </RestrictionTable> Response Code: 200 JSON Example To view specific restriction table, do the following: Request URI: GET https://<connection-server>/vmrest/restrictiontables/<restrictiontableobjectid> Accept: 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/restrictiontables/d66b1140-986a-40f1-a7d0-09714652d53f", "ObjectId": "d66b1140-986a-40f1-a7d0-09714652d53f", "CreationTime": "2013-02-14T05:05:09Z", "DefaultBlocked": "false", "LocationObjectId": "bbf3e6ed-0278-479c-9a6e-2da8756eeb6f", "LocationURI": "/vmrest/locations/connectionlocations/bbf3e6ed-0278-479c-9a6e- 2da8756eeb6f", "MaxDigits": "40", "MinDigits": "1", "DisplayName": "Default Outdial", "Undeletable": "true", "RestrictionPatternsURI": "/vmrest/restrictiontables/d66b1140-986a-40f1-a7d0- 09714652d53f/restrictionpatterns" } Response Code: 200 Creating a Restriction Table The following is an example of the POST request that creates a restriction table: POST https://<connection-server>/vmrest/restrictiontables Example 1: The following is the example of the create request from the above POST request. Cisco Unity Connection Provisioning Interface (CUPI) API 680 Cisco Unity Connection Provisioning Interface (CUPI) API for System Settings Creating a Restriction Table