and more in a single search tool across platforms. Read the announcement here. |
03/28/2024 08:46 AM - last edited on 03/28/2024 09:22 AM by Dave
Hello Team,
Can anyone help me with the Saviynt API for EIC 24.1. I am currently using the below but it is not picking up the remove account task.
"call":[{"name":"Call1","connection":"acctAuth","url":"https://company-test-migrate.saviyntcloud.com/ECM/api/createtask","httpMethod":"POST","httpContentType":"application/x-www-form-urlencoded","httpParams":"{\"username\":\"${user.username}\",\"accountname\":\"${userAccount['BT Active Directory'].name}\",\"endpointname\":\"Legacy BT ${user.customproperty8 in ['AG','AR','BB','BM','BO','BS','BZ','CL','CR','CU','DM','DO','EC','GD','GT','GY','HN','HT','JM','KN','LC','NI','PA','PE','PR','PY','SR','SV','TT','UM','UY','VC','VE','VI','AI','AN','AW','FK','GL','GS','KY','MS','VG','BR','CA','MX','US']?'AMER':user.customproperty8 in ['AQ','AS','BD','BN','BT','CC','CK','CX','FJ','FM','GU','HK','HM','JP','KH','KI','KP','KR','LA','LK','MH','MN','MO','MP','MU','MV','NF','NP','NR','NU','NZ','PG','PN','PW','SB','TC','TK','TL','TO','TV','TW','VN','VU','WF','WS','IO','AE','AU','CN','EG','ID','IL','IN','MM','MY','PH','SA','SG','TH','AF','AM','AZ','BH','CY','GE','IQ','IR','JO','KG','KW','LB','OM','PK','QA','SY','TJ','TM','UZ']?'APAC':user.customproperty8 in ['BG','CO','KZ','TR','GF','GP','MC','MQ','NC','PF','PM','RE','TF','YT','BV','GI','SH','BE','ES','ET','FR','GB','IT','MA','NL','ZA','AO','BF','BI','BJ','BW','CD','CF','CG','CI','CM','CV','DJ','DZ','EH','ER','GA','GH','GM','GN','GQ','GW','KE','KM','LR','LS','LY','MG','ML','MR','MW','MZ','NA','NE','NG','RW','SC','SD','SL','SN','SO','SS','ST','SZ','TD','TG','TN','TZ','UG','YE','ZM','ZW','AD','IE','JE','MT','PT','SM','VA']?'ATLE':user.customproperty8 in ['LU','LI','LT','MD','ME','XK','AL','BA','BY','EE','GR','HR','MK','RS','SI','SK','AT','CH','CZ','DE','HU','PL','RO','RU','UA']?'CONE':user.customproperty8 in ['DK','LV','FO','FI','NO','SE','IS','SJ']?'SCAN':'CONE'}\",\"tasktype\":\"REMOVEACCOUNT\",\"assignmenttype\":\"ACCOUNTS\",\"comments\":\"Requested by Legacy BT Automation for Remove Account\"}","httpHeaders":{"Authorization":"${access_token}"},"successResponses":{"statusCode":"200"},"unsuccessResponses":{"statusCode":[400,401,404,405]}}]}
03/28/2024 09:21 AM
Please share logs
04/01/2024 11:24 PM
${userAccount.get('endpointname').name}
Try this syntax.
Can you also share the logs.