Web service for creating task through API not supporting Enable Account

aibasu
New Contributor III
New Contributor III

Hi All , 

I want to create an enable account task for an user for whom the corresponding endpoint is in Manually Suspended state . But I am getting the following error message .

 

<error> invalid tasktype. supported values are UPDATEACCOUNT and DELETEACCOUNT </error>

Can anyone please help me resolve the issue ?

Thanks and Regards ,

Aishani Basu

9 REPLIES 9

smitg
Regular Contributor III
Regular Contributor III

Hi @aibasu 

Can you share the screenshots and request payload

Thanks,
Smitha

Manu269
All-Star
All-Star

Share the Payload URL, API invoked and error code

Manish Kumar

aibasu
New Contributor III
New Contributor III

Please find the screenshot below :-

URL used : {Organization specific saviynt url}/ECM/api/createtaskaibasu_0-1692359767793.png

Thanks and Regards ,

Aishani Basu

 

What is the API that you are calling? Can you provide the entire screenshot?

 

Thanks,
Devang Gandhi
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

aibasu
New Contributor III
New Contributor III

Hi Devang , 

I have already posted the screenshot and URL I am hitting in the previous comment . Kindly check . 

Thanks !

pmahalle
Valued Contributor II
Valued Contributor II

Hi @aibasu ,

Can you try ENABLE ACCOUNT or 6  as value for tasktype field and check.


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

aibasu
New Contributor III
New Contributor III

Hi @pmahalle  , 

I have checked with both but it does not work .

Thanks and Regards ,

Aishani Basu

armaanzahir
Regular Contributor III
Regular Contributor III

Hi @aibasu 

 

The URL you're using is incorrect. The path variable is api/v5 for saviynt versions above 5.5 sp2.

armaanzahir_2-1692622062667.png

 

Your URL would be {Organization specific saviynt url}/ECM/api/v5/createtask

armaanzahir_1-1692622005708.png

 

 

Ref: Saviynt Security Manager API Reference v5.5-SP3 (getpostman.com)

Regards,
Md Armaan Zahir

aibasu
New Contributor III
New Contributor III

Hi Armaan ,

Thanks a lot . The solution worked .

Regards ,

Aishani Basu