Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Saviynt API for create task 24.1

nitishdas
New Contributor
New Contributor

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]}}]}

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Please share logs


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

stalluri
Regular Contributor II
Regular Contributor II
${userAccount.get('endpointname').name}

Try this syntax.

Can you also share the logs.


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.