최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물