SOAP API get contacts matching given phone number
I want to query the zimbra contacts database.
I want to get the contacts from all zimbra users which have the phone number matching the number i provide in the query say something similiar to query like this
Select name,email,phoneno,mobileno from users where phoneno like '77686%' or mobileno like '768768%'
I am new to zimbra, although i went through the posts and found that zimbra is not storing the user contacts in LDAP however has a SOAP api to access the same.
Could some one help me how i can acheive what i want using the API.