Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
10/26/2023 05:31 AM
Hi All,
We are passing values under "Params" section to remove the access for group in postman. Please find the below screenshot for your reference.
I have tried the below remove access JSONs. But it's not working.
Can anyone please check this and assist us?
Thanks & Regards,
Lakhitha
Solved! Go to Solution.
10/26/2023 08:38 AM - edited 10/26/2023 08:52 AM
@Lakhitha : Can you share your ReconcileJSON? I am trying understand whether you are storing entitlementID while importing entitlements to id what you are showing in postman screenshot instead of entitlement value.
If you are storing unique id of entitlement in entitlementID column then your first JSON format should work as expected. But if you still get error please share the respective logs
Also is the entitlement type is Role1 ? If not can you change the name of call to match with entitlement type and see?
10/27/2023 08:12 AM
Hi Saathvik,
Yes while reconciling the entitlements we are storing groupid to entitlementID attribute.
And we are collecting two different entitlement types, hence we have mentioned it as "Role1" & "Role2"
And we can see Entitlementid and accountid populated in the logs. Please find the below error message.
Thanks & Regards,
Lakhitha
10/27/2023 08:23 AM - edited 10/27/2023 08:24 AM
@Lakhitha : Looks like mismatch with content type. Try to add "Accept": "application/json" in your first JSON in httpheaders block and see if that works
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
}
10/30/2023 12:44 AM
Hi Saathvik,
I have tried adding "Accept": "application/json" in httpheaders block. But received same error after running WSRetry Job.
Thanks & Regards,
Lakhitha
10/29/2023 08:07 PM
We must use the method "DELETEWITHBODY" when the method is DELETE with parameters to be passed.
10/30/2023 12:54 AM
Hi Rushikesh,
I have tried "DELETEWITHBODY" method, but I'm getting "500:Internal Server" error. Please find the below JSON and error screenshot for your reference.
Thanks & Regards,
Lakhitha
10/30/2023 10:24 PM
Hi @Lakhitha
Please add the below headers in the httpHeaders. It should work
"Accept":"application/json",
"Content-Type":"application/json"
10/31/2023 12:59 AM
Hi Naveen,
Thanks for your response.
I have added the above suggestion in httpHeaders and it's working now.
Thanks for doing the needful.
Thanks & Regards,
Lakhitha