/api/v2/views/{{view_id}}/tickets.json? Can I select date access? | The place for Zendesk users to come together and share
Skip to main content
Question

/api/v2/views/{{view_id}}/tickets.json? Can I select date access?

  • August 9, 2021
  • 5 replies
  • 0 views

/api/v2/views/{{view_id}}/tickets.json? Can I select date access?

Can the API be accessed using dates?

5 replies

Eric27
  • August 9, 2021

Hey there,

You can use the 'sort_by' parameter to accomplish this.

/api/v2/views?sort_by=created_at

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy


  • Author
  • August 10, 2021

Why aren't these keys and values included in the API


Eric27
  • August 10, 2021

Hey there,

Apologies I can't read some of your columns as I only speak english. I'll break down where all of the ones in english can be found.

Requested = Created_at
Assignee = assignee_id

Requester updated and assignee updated are both available under the ticket metrics endpoint.

Hope this helps,

Eric


  • Author
  • August 11, 2021

Why are these fields not in the requested API? Did I request the wrong API?

Does the API return content that does not include custom fields?


Eric27
  • August 11, 2021

Hey there,

All of the fields you've pointed to exist underneath the custom fields array. You can line them up with the fields you've pointed out based off their field ID's (For example the Shopify field id ends in 0431, you can see that as the first item in the custom field array).

As these questions aren't in relation to the original post, I'm going to mark this as complete. If you have other questions unrelated to the views/tickets endpoint please open up another topic. This helps our community members to be able to find relevant topics when searching. Thanks!

Have a wonderful day!

Eric Nelson | Manager - Developer Advocacy