Skip to main content
Question

Service Request and Requested Items API

  • July 2, 2021
  • 2 replies
  • 276 views

renjith
Apprentice

Hi ,


Is there an API to get all the service requests ticket details  with below condition:

agent_id=<agent_name> AND status=2 AND (service_item_id=<id1> OR service_item_id=<id2> OR service_item_id=<id3>)

Thanks, Renjith.

2 replies

zachary.king
Top Contributor ⭐
Forum|alt.badge.img+16
  • Top Contributor ⭐
  • July 29, 2021

Hello @renjith

You can access Service Request payload information using the freshservice API here:

https://api.freshservice.com/v2/

Take care,

Zach


kehsoon.yong
Community Debut
  • Community Debut
  • October 21, 2022

Based on my reading on the v2 api, there is no single curl query that will provide the original request.

My understanding is that the API is limited in this way: you have to query the tickets that fulfill the agent/status criteria first, then loop through each ticket to query the requested item.

I have a question, is there a single API call to retrieve ALL requested items of ALL TICKETS