CVP Dialed Number Identification Service API
Use the CVP DNIS API to retrieve and update the DNIS number in the CVP call server.
URL
https://<server>:<serverport>/unifiedconfig/config/deviceconfig/cvpdnisOperations
- Get:
Retrieves the CVP DNIS list of a single CVP call server. To retrieve the DNIS list, enter the hostname of the CVP call server in the URL https://<server>:<serverport>/unifiedconfig/config/deviceconfig/cvpdnis?hostname=<hostname>
NoteHostname is a mandatory parameter in the Get URL.
- Put:
Updates the CVP DNIS list of a single CVP call server. To update the DNIS list, enter the hostname of the CVP call server in the payload. https://<server>:<serverport>/unifiedconfig/config/deviceconfig/cvpdnis
Parameters
-
hostname: Indicates the CVP hostname as defined in the PCCE inventory
-
dnisList: Indicates the semi-colon separated list of DNIS numbers. Enter a DNIS number or DNIS range.
The length of each DNIS in this list can be up to 32 characters. DNIS must be a positive integer; DNIS can begin with a zero (0).
DNIS range is 1- 32 characters. The upper and lower limit of the DNIS range must be of the same length. For example, a range from 100 - 900 is valid because each number is three characters in length.
Example Get Response
Responses
-
Success: 200 OK. The DNIS number was successfully updated in the CVP call server.
-
Errors: Errors indicate that the validation has failed. Check the error messages to enter the correct hostname or dnisList.