Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Getting task details from API

NPY
New Contributor III
New Contributor III

How can I get the task details by passing the task ID in API?

I am using the following API but cannot limit the result to specific task details. It seems to be giving multiple results not considering specific taskID I passed. I tried passing the taskID in params which also did not seem to work.

NPY_0-1727392111939.png

Thank you

1 REPLY 1

rushikeshvartak
All-Star
All-Star
  • API need form data and not JSON input body
  • use below CURL command

 

curl --location 'https://xxxx-partner.saviyntcloud.com/ECM/api/v5/fetchTasks' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9' \
--header 'Cookie: CCSRF-TOKEN=f0e41f27-a70c-4f2a-9711-25bbd61ec1a6; INGRESSCOOKIE=1727405257.362.1049.767868|0f4091fceac04271d9e9e5a60a3d3e8f; access_token=exx; token_type=Bearer; user_name="rushikesh.vartak@xx.com"' \
--form 'taskid="23287"'

 

  • rushikeshvartak_0-1727405425641.png

     


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.