There will not be a direct replacement for this endpoint. Unlike GET /api/task/list, which returns all tasks for the identity that called the endpoint, this endpoint will list all tasks for any identity that has at least one. If you need to get tasks for other users, you can use list-work-items | SailPoint Developer Community with the ownerId query parameter.
GET https://{tenant}.api.identitynow.com/v3/work-items?ownerId={identityId}
Hi @colin_mckibben
Can we still use this API GET /api/task/list to get all the tasks and then we can modify accordingly.
Reason for asking is using the work item API we are not getting the id of the identity to whom the request has made and this is making our script more complicated.
Thanks in Advance
This is one of the CC endpoints and will be turned off very soon. Can you be more specific about what gap you are seeing? Please share sample responses and what fields you want to see.
Hi @colin_mckibben
Using the CC API we used to get targetexternalID and targetName but using the current API we are not having any information like to above which can help us in find the name or id to whom the request has made.
Thanks
If I am the requestor then it works, but, If I request for others and if it waiting for manual task then the output is not having any value related to the other user.
Can you share an example JSON but replace the actual values with dummy names and IDs? I need to see what you are talking about. Also, please provide the reproduction steps. What actions did you take to result in a work item that has not requesterId. The more specific you are, the better I will be able to assist.
From the work item output below, we know that the work item is waiting for manual task for user Arun Kumar, however, we don’t know the technical id or any other unique information for the user Arun, Kumar. I hope I have answered it.
If I understand correctly, this API will return the ID of the person who requested the access and the ID of the person who owns the manual task to complete the request. The problem occurs If an identity requests access on behalf of someone else. If this happens, then the requester from this API will be the ID of the person who made the request, but there will not be an ID for the target recipient (i.e. the person for whom the request is being made for). Is that correct?