最近搜索


没有最近搜索

How to use Zendesk API sort_order : desc



已于 2022年2月17日 发布

Hi i'm stuck in a problem. Can't use API for sort. By the way, the examples I've tried are 
"https://{domain}.zendesk.com/api/v2/tickets?sort_order=desc"

I'm not sure if I used it properly and please introduce me.

Reference
Ticket


 


0

2

2 条评论

image avatar

Sebastiaan (Sparkly ⭐)

Community Moderator

Hey Jeddirok,

You should also include a 'sort_by'. Did you try something like:

https://{domain}.zendesk.com/api/v2/tickets?sort_by=id&sort_order=desc

Not all endpoints support sorting, but this one does (as the documentation that you're referring to mentions).

 

1


Hi Sebastiaan

Based on your advice, I can now follow suit.

Thank you very much for your advice.

Have a nice day.

0


请先登录再写评论。

找不到所需的内容?

新建帖子