最近搜索


没有最近搜索

Is there a way to include User Identities in a Search API response?



已于 2023年1月02日 发布

I'm looking for a way to obtain additional User data (primary email, primary phone, etc) when requesting tickets assigned to a particular user id. 

The search API provides a way to include some of the User data in the response, but it looks like only one email and phone number are returned when doing the following type of search query:

search.json?include=tickets(users)&query=type:ticket,status:open,sort:updated,order_by:desc,assignee:(some user id)


Ideally, I'd like to get all of the email addresses and phone numbers for all the users (requester, submitter, etc) in an assigned ticket within one API request. 

The data I'm after appears to be in a User Identities API request, however this would require that I make multiple API requests for a single ticket.

Are there any suggested or simplified ways of obtaining User Identities for an assigned ticket in a single API call?


0

1

1 条评论

Hi Chuck

What you are looking for is side-loading, however, it seems that User Identities so far are not side loadable.

Please refer to this document for details:
https://developer.zendesk.com/documentation/ticketing/using-the-zendesk-api/side_loading/

0


登录以发表评论。

找不到所需的内容?

新建帖子