Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/04/2024 07:09 PM
fetchTasks unable to filter by tasktype
please find the attachment, no matter what tasktype I set in the body, it ignores the tasktype
tasktype = 3 should be "New Account" according to the document but instead, it returns different tasktypes. e.g. Update Account|Remove Access|Disable Account|New Account....
Saviynt Enterprise Identity Cloud API Reference v24.5 (getpostman.com)
Solved! Go to Solution.
09/04/2024 07:24 PM - edited 09/04/2024 07:55 PM
@zzz1qaz
curl --location -g '{{url}}/ECM/{{path}}/fetchTasks' \
--header 'Authorization: Bearer {{token}}' \
--form 'statusint="1"' \
--form 'source="WEBSERVICE"' \
--form 'tasktype="3"'
or
curl --location -g '{{url}}/ECM/{{path}}/fetchTasks' \
--header 'Authorization: Bearer {{token}}' \
--form 'statusint="1"' \
--form 'source="WEBSERVICE"' \
--form 'tasktype="NEWACCOUNT"'
or
curl --location -g '{{url}}/ECM/{{path}}/fetchTasks' \
--header 'Authorization: Bearer {{token}}' \
--form 'statusint="1"' \
--form 'source="WEBSERVICE"' \
--form 'tasktype="NEW ACCOUNT"'
09/04/2024 08:04 PM
3= New Account
ADD | 1 | Task created when the user requests for new access and the request approval is completed. |
REMOVE ACCESS | 2 | Task created when the user requests for removing access and the request approval is completed. |
NEWACCOUNT | 3 | Task created when the user requests for a new account and the request approval is completed. |
ROLE REQUEST | 4 | Task created when the user requests for a new role and the request approval is completed. |
CHANGEPASSWORD | 5 | Tasks created when the user requests for changing the account password, changing the account password for others, and changing the service account password and the request approval is completed. |
ENABLE ACCOUNT | 6 | Tasks created when the user request for enabling the account and the request approval is completed. |
PROPOSED ACCOUNT OWNERS | 7 |
|
DELETE ACCOUNT | 8 | Tasks created when the user request for deleting an account and the request approval is completed. |
UPDATE USER | 9 | Tasks created when the user request for updating the user information and the request approval is completed. |
UPDATE ACCOUNT | 12 | Tasks created when the user request for updating the account information and the request approval is completed. |
PROPOSED Entitlement OWNERS | 13 |
|
DISABLE ACCOUNT | 14 | Tasks created when the user request for disabling the account and the request approval is completed. |
MODIFY PRIVILEGE | 23 | Tasks created when the user request for modifying the existing privileges and the request approval is completed. |
CREATE ENTITLEMENT | 24 | Tasks created when the user request for creating entitlement and the request approval is completed. |
UPDATE ENTITLEMENT ACCESS ADD | 25 |
|
UPDATE ENTITLEMENT ACCESS ADD | 26 |
|
UPDATE ENTITLEMENT | 27 | Tasks created when the user request for updating the entitlement and the request approval is completed. |
DELETE ENTITLEMENT | 28 | Tasks created when the user request for deleting an entitlement and the request approval is completed. |
FIREFIGHTER ID GRANT ACCESS | 29 |
|
FIREFIGHTER ID REVOKE ACCESS | 30 | Tasks created when the user request for revoking the firefighter access and the request approval is completed. |
UPDATE ACCESS END DATE | 31 | Tasks created when the user request for updating the access end date and the request approval is completed. |
LOCK ACCOUNT | 32 | Tasks created when the user request for locking the account and the request approval is completed. |
UNLOCK ACCOUNT | 33 | Tasks created when the user request for unlocking the account and the request approval is completed. |
FIREFIGHTER INSTANCE GRANT ACCESS | 34 |
|
FIREFIGHTER INSTANCE REVOKE ACCESS | 35 |
|
FIREFIGHTER ACCESS ALERT | 36 |
|
CREATE ORGANIZATION | 37 | Tasks created when the user request for creating the organization and the request approval is completed. |
UPDATE ORGANIZATION | 38 | Tasks created when the user requests for updating the organization and the request approval is completed. |
09/08/2024 06:43 PM
Thanks, I was using /api/fetchTasks and ignored this filter. when I use /api/v5/fetchTasks, it worked
09/08/2024 08:29 PM
✅Please click the 'Accept As Solution' button on the reply (or replies) that best answers your original question and hit 'Kudos' button 👍.