Fixed – Executing Action with Complex Output Parameters through Web API in Dynamics 365 v9.0

By | January 4, 2018

Introduction:       

While working on Dynamics 365, we get a chance to work on lot many things.

At times you work on C# or JavaScript or SSRS or SSIS. Having knowledge of so many languages, frameworks, or technologies could be taxing.

Sometimes we face errors while developing something and don’t have control over how it could be fixed.

One such thing was executing Action using Web API.

Prior to v9.0 update, if we tried executing Actions, having combination of complex and simple output parameters would result in errors like, Resource not found for the segment ‘ActionName’ or Request message has unresolved parameters.

In order to understand what complex and simple parameters are, please check a very well explained blog written by Andrew Butenko.

Now, in v9.0 we don’t have to worry about the combinations of the output parameters.

Irrespective of the combination of the output parameters, we are able to execute the Action.

Code Snippet:

Conclusion:

We can combine simple and complex output parameters and still execute the Action through Web API in Dynamics 365 v9.0

Export Dynamics CRM Reports

Leave a Reply

Your email address will not be published. Required fields are marked *