Question

Service Request and Requested Items API


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

Userlevel 7
Badge +14

Hello @renjith

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

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

Take care,

Zach

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

 

Reply