Hi,
Apologies for posting it in a non-technical forum.
I'm trying to execute the RenderTemplate API of D365 to get the Excel sheet of the records using a fetch XML.
It takes Template, FetchXml, QueryApi & QueryParameters as input parameters and gives out an excel file. When I tried to use the same using OrganizationRequest in a console app, it does work as expected. Below is the snip of the same -
However, when I execute this using an HTTP web request. for which, I'm building its data like below -
This is giving me a 400 Bad Request error. By adding every parameter separately, I was able to deduce the problem in the last part - QueryParameter. Can anyone help me out figuring out where the problem lies or is there any way to achieve this?