최근 검색


최근 검색 없음

Jon I Sanchez Martinez's Avatar

Jon I Sanchez Martinez

가입한 날짜: 2021년 4월 15일

·

마지막 활동: 2025년 2월 12일

팔로잉

0

팔로워

0

총 활동 수

24

투표

1

플랜 수

18

활동 개요

님의 최근 활동 Jon I Sanchez Martinez

Jon I Sanchez Martinez님이 에 댓글을 입력함

댓글Extending Zendesk

I want to create a webhook to create Posts on X. How can I accomplish that? I'm trying to figure out what to do. AFAIK, I must use X's API + OAuth 1a or OAuth 2 authentication methods, but I can't see those options on Zendesk. Before deprecating Destinations, that worked correctly. Can anybody help me out?

댓글 보기 · 2025년 2월 12일에 게시됨 · Jon I Sanchez Martinez

0

팔로워

0

투표 수

0

댓글


Jon I Sanchez Martinez님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Thanks for your reply Christopher Kennedy

So, what's the difference between the classic Search and Export Search Results?

댓글 보기 · 2022년 3월 21일에 게시됨 · Jon I Sanchez Martinez

0

팔로워

0

투표 수

0

댓글


Jon I Sanchez Martinez님이 에 게시물을 만듦

게시물 Developer - Zendesk APIs

I'm currently building a java client for Zendesk's Rest API and something doesn't work as expected.

Recently I've learned that when getting large datasets, Zendesk has introduced pagination. Among the two methods available, offset and cursor-based, it's recommended to use the latter and I'm doing so. For instance, when iterating over tickets or users, I make use of cursor based pagination.

However, cursor based pagination doesn't work with Search API. As long as official documentation says (https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/), within Result Limits, 'The Search API returns up to 1,000 results per query, with a maximum of 100 results per page. See Pagination.'. But when using my code, I get the following error:

"error": {
"title": "Invalid attribute",
"message": "You passed an invalid value for the page attribute. Invalid parameter: page must be an integer from api/v2/users/search"
}
 
When writing this post, I've realised that Offset pagination only works here. 
 
So what I'm asking for is that please, Zendesk, implement cursor based pagination to Search API.
 
Thank you so much.

2022년 3월 16일에 게시됨 · Jon I Sanchez Martinez

0

팔로워

2

투표 수

3

댓글


Jon I Sanchez Martinez님이 에 댓글을 입력함

댓글Ticket basics

I'm writing a java client library. In search API, I've realised that pagination is not working, thus limitation of time and data crops up. 

댓글 보기 · 2022년 3월 02일에 게시됨 · Jon I Sanchez Martinez

0

팔로워

0

투표 수

0

댓글


Jon I Sanchez Martinez님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk APIs

Hi!

I'm facing an issue with Ticket Imports.

Cors policy states that when a resource is protected by any kind of authentication mechanism (http basic, token...) Access-Control-Allow-Credentials cannot be '*' (everywhere).

I'm trying to implement an application which makes use of Ticket Imports and I cannot use it.

Is there something I can do? I believe the AJAX call is being performed correctly, but the answer isn't well (the ticket gets created but I receive that error).

My code snipet:

var request = new XMLHttpRequest();
request.withCredentials = true;
var url = "https://***.zendesk.com/api/v2/imports/tickets.json";
request.open('POST', url, true);

request.setRequestHeader("Authorization", "Basic *****");

request.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// do something
}else{
// do something else
}
};
request.send(jsonObjStr);

댓글 보기 · 2021년 3월 26일에 게시됨 · Jon I Sanchez Martinez

0

팔로워

0

투표 수

0

댓글