Skip to main content
Solved

Get Answers to Service items through API

  • December 11, 2024
  • 2 replies
  • 38 views

Forum|alt.badge.img+10

I have a service item that has questions asked when placed.  I want to get the answers of those questions via API to then parse it and add a note on another ticket with the answers.  I cannot find out how to get the answers to the questions via API though.  The API dictionary guide doesn’t help.  Anyone know how to get that info?

 

Thanks!

Best answer by David Pietrs

Hi ​@shannon.mejia 

The API call is listed under View Requested Items of a Service Request In the API documentation https://api.freshservice.com/#view_req_items_of_sr

 

The call would be GET {{your freshservice url}}/api/v2/tickets/{{ticket ID}}/requested_items

View original
Did this topic help you find an answer to your question?

2 replies

David Pietrs
Skilled Expert
Forum|alt.badge.img+5
  • Skilled Expert
  • 20 replies
  • Answer
  • December 11, 2024

Hi ​@shannon.mejia 

The API call is listed under View Requested Items of a Service Request In the API documentation https://api.freshservice.com/#view_req_items_of_sr

 

The call would be GET {{your freshservice url}}/api/v2/tickets/{{ticket ID}}/requested_items


Forum|alt.badge.img+10
  • Author
  • Skilled Expert
  • 86 replies
  • December 11, 2024

Thanks ​@David Pietrs .  I should have tried the View Requested Items API call, but since it wasn’t listed in the documentation, I thought I would need a different API Call.  

This worked.


Reply