Multiple Ticket Details using Custom fields

2 Kommentare

  • Dan Ross
    Community Moderator

    Hey Sameer,

    You can't search a specific custom field ID via the API but if they're fields that have a value backed by a tag, you can do an API search for the selected value by the tag.  Something like:

    https://DOMAIN.zendesk.com/api/v2/search.json?query=tags:training

    that will return all the tickets (including their ID) with the tag 'training' included on the ticket, as well as the values of all custom fields on those tickets. You can of course replaced 'training' with the tag value for any custom field you want to search for

    API search docs are found here

    0
  • Sameer

    Thanks for reply.

    Even if I use tags , I'll get only 100 records per call. But that is not my requirement.

    I should get list of tickets based on array of custom field values.  

    Something like "api/v2/tickets/show_many.json?Custom_field_id=1,2,3,4,5"

    But I guess that is not possible or limitation of Zendesk API.

    Kindly guide me.

    Thanks

    Sameer

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk