Results 1 to 2 of 2

Thread: REST api filter

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    20
    Rep Power
    5

    Default REST api filter

    Hi gurus,
    i'm looking for a way to get account details from a shared contact folder to make it available to a third party application.
    In the REST API documentation i found:
    https://zimbraserver:7071/home/usern...&query=MYQUERY

    that returns any contacts that has MYQUERY in any field.
    So, if MYQUERY is "First Name" in one contact and "Address" in a second contact, i get 2 results.

    I need to know if there is a way to insert "First Name" in the query to get only contacts that have MYQUERY in "Firts Name" field.

    Any idea?

    bye

  2. #2
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    6

    Default

    Hi bizza,

    For SOAP API, you can use search query like this;
    #firstname:[someone's firstname]
    And it search only for firstname of contacts.

    You better give it a try to use this also for REST API.

Similar Threads

  1. Location of REST API Documentation?
    By ryan_at_evri.com in forum Developers
    Replies: 17
    Last Post: 04-10-2010, 06:04 AM
  2. Bad Filter Stops Incoming Email
    By soxfan in forum Administrators
    Replies: 0
    Last Post: 03-08-2007, 09:02 AM
  3. Replies: 3
    Last Post: 11-03-2006, 12:11 PM
  4. Replies: 2
    Last Post: 07-20-2006, 11:23 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •