cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
1
Replies

Subscriber List Query Contains

JacobMunson
Level 1
Level 1

Hello all,

Is it posible to do a Subscriber list query using contains to match extensions? I am able to use "/vmrest/users" to list all of the users in the systems however I have not been able to successfully run a query using any "?query=". Can someone point me to documentation or provide examples? Thank you in advance.

1 Reply 1

davidn#
Cisco Employee
Cisco Employee

Hi Jacob,

Please check out:

Cisco Unity Connection Provisioning Interface (CUPI) API -- User API - DocWiki

For example, you can query users based on email address, with the following URI:

GET https://<connection-server>/vmrest/users?query=(emailaddress is <emailaddress@domain.com>)

GET https://<connection-server>/vmrest/users?query=(emailaddress startswith <emailaddress@domain.com>)

GET https://<connection-server>/vmrest/users?query=(emailaddress isnull)

GET https://<connection-server>/vmrest/users?query=(emailaddress isnotnull)

HTH.


Regards,

David

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: