Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/16/2024 07:05 AM
Hi Team
I am Facing an issue while deleting account
Account is removed/deleted from target API but in saviynt task is still in pending state
provisioning comment :{"call1":[{"headers":null,"message":"","statusCode":null,"description":null,"status":"Failed"}
Remove account json :
{
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://..",
"httpMethod": "PUT",
"httpHeaders": {
"accept": "application/json;odata.metadata=minimal;odata.streaming=true",
"X-APIM-FPS": "7462e292-266fd6a3294",
"Ocp-Apim-Subscription-Key": "***",
"Authorization": "${access_token}"
},
"httpParams": "{\"emailAddress\": \"${account.name}\", \"isActive\": \"false\"}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201,
200,
204
]
},
"unsuccessResponses": {
"statusCode": [
400,
403,
401,
404,
409,
501,
500
]
}
}
]
}
Please let me know in case you require any further information.
Regards
Navya
04/16/2024 10:53 AM
try below if not work once use POST Method nd try
"httpParams": "{\"emailAddress\": \"${account.name}\", \"active\": \"false\"}",
04/16/2024 10:06 PM
Hi @Raghu
Post method is not allowed
04/16/2024 07:51 PM
Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
04/16/2024 10:04 PM - last edited on 04/16/2024 11:31 PM by Sunil
Hi @rushikeshvartak
sent you the curl command
[This message has been edited by moderator to mask sensitive information. Please make sure to mask any sensitive information before posting in public forums]
04/16/2024 10:43 PM
{
"call": [{
"name": "call1",
"connection": "acctAuth",
"url": "masked",
"httpMethod": "PUT",
"httpHeaders": {
"accept": "application/json;odata.metadata=minimal;odata.streaming=true",
"UID": "SAM",
"X-APIM-FPS": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Ocp-Apim-Subscription-Key": "9xxxxxxxxxxxxxxx;product=xxxxxxxxxxxxx",
"Authorization":"${access_token}"
},
"httpParams": "{\"emailAddress\": \"${account.name}\", \"isActive\": false}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [201, 200, 204]
},
"unsuccessResponses": {
"statusCode": [400, 403, 401, 404, 409, 501, 500]
}
}]
}
04/17/2024 05:52 AM
@rushikeshvartak
I tried with this json there is no change still getting same response as stated earlier.
Regards,
Navya