[Solved] What is the API's expected behavior of "position" as a Ticket Field Option?



投稿日時:2023年4月18日

Looking at https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_fields/, there are a couple references to the `position` attribute but I can't find anything that elaborates on its behavior.

I had thought that doing a POST to /api/v2/ticket_fields/{ticket_field_id}/options with different `position` values would change the sorted order of the options within the field, but it seems to have no impact.

My question:

  • Should sending the `position` attribute to /api/v2/ticket_fields/{ticket_field_id}/options change the sorting order?
  • Is the expectation that `position` is sequential starting from zero, or does Zendesk just do a lazy sort and any number is acceptable?
  • Does the functionality to change the position of an existing option not exist, and I should expect to recreate ALL the options each time a sort needs to be adjusted?

0

2

0件のコメント

サインインしてコメントを残します。

お探しのものが見つかりませんか?

新規投稿