function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vinod kumar 164vinod kumar 164 

sample code for getting reports using HttpWebRequest(Rest Api)


We are new to the salesforce and we are trying to integrate our App to salesforce.
Right now we are trying to fetch the particular reports data from salesforce using HttpWebrequest(Rest Api) using c# code.
we are implementing asynchronous report call with post request body to get the data but we are unable to get and it is throwing exception that is
[{"message":"The request body is either invalid or incomplete.","errorCode":"JSON_PARSER_ERROR"}]

So please provide us with sample code for fetching the reports with asynchronous call and also tell us how to send post request body for asynchronous report call  for fetching reports data.