Arun Vinoth @ Dynamics

Arun Vinoth @ Dynamics

https://arundynamix.blogspot.com

RetrieveDependenciesForUninstall payload sample to test

Published

We were fumbling with one of the WEB api function on how to use it for executing in browser address bar to get JSON results. MS Docs is not showing the complete code sample or payload to use. In fact we can use CRM REST Builder to compose and test this endpoint.




When we tried with the below snippet -

https://crmdev.crm.dynamics.com/api/data/v9.0/RetrieveDependenciesForUninstall

we got an error -

{"error":{"code":"0x80040203","message":"Required field 'SolutionUniqueName' is missing"}}


But any of the below endpoint works, resulted in JSON we want:

https://crmdev.crm.dynamics.com/api/data/v9.0/RetrieveDependenciesForUninstall(SolutionUniqueName='ResourceSchedulingOptimization')

https://crmdev.crm.dynamics.com/api/data/v9.0/RetrieveDependenciesForUninstall(SolutionUniqueName=@SolutionUniqueName)?@SolutionUniqueName='ResourceSchedulingOptimization'

Continue to website...

More from Arun Vinoth @ Dynamics

Related Posts