Skip to main content
Solved

Retrieving approval status via FreshService v2 api?


rc-donalhunt
Apprentice
Forum|alt.badge.img+1

As part of some automation we are intending to implement for account provisioning, I would like to be able to see the approvals that have been requested and granted? In the UI I can see the requests being sent to approvers but I don’t see a way to retrieve the approvals via the API. I believe the approvals are being gathered through the use of Workflow Automator.

 

Am I missing something? Is it possible to retrieve these approvals and their status?

If not, any suggestions on the best way to track approvals so we can pull them programmatically? Our intent is to follow the “trust but verify” philosophy. It helps with auditing in the sense we can capture a list of requests and who provided approvals.

 

Thanks!

Best answer by rc-donalhunt

Answering my own question:

 

Looks like our configuration is using the activities feature to track approvals.

So I’m able to use the /api/v2/tickets/[id]/activities endpoint to see the requests for approval and the actual approvals too. 👍

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

2 replies

rc-donalhunt
Apprentice
Forum|alt.badge.img+1
  • Author
  • Apprentice
  • 2 replies
  • Answer
  • May 20, 2022

Answering my own question:

 

Looks like our configuration is using the activities feature to track approvals.

So I’m able to use the /api/v2/tickets/[id]/activities endpoint to see the requests for approval and the actual approvals too. 👍


rc-donalhunt
Apprentice
Forum|alt.badge.img+1
  • Author
  • Apprentice
  • 2 replies
  • July 25, 2022

Followup on this. It appears the v2 API is still missing some functionality unfortunately. I cannot find a way to programmatically access the approval remarks (submitted by approvers) through the API.

 

Is this possible?


Reply