+ Start a Discussion
SurekaSureka 

Get the list of columns/Fields for Reports using Metadata/Tooling API

Hi All,

I want to get the list of columns/Fields for Reports using Metadata/Tooling API. Please let me know how to do it. 

Thanks

Ramu_SFDCRamu_SFDC
You can use describe calls to get the list of fields for a particular object. Below is the documentation for the same 

https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describesobjects.htm

However for reporting purpose why not use Analytics api directly? More information can be found at http://www.salesforce.com/us/developer/docs/api_analytics/index.htm