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
VasilShVasilSh 

How to load Sales Force Reports ?

Hi All
I've got the following problem:
I am using the following url for load SF reports via HTTP request:
http://na1.salesforce.com/servlet/servlet.ReportList?sessionId=XXX
Problem is SF got a different servers for different country and this requests have to be different for example for europe I found that it has to be:
http://emea.salesforce.com/servlet/servlet.ReportList?sessionId=XXX

Does somebody know all list of SF servers and relations between server name and location ?
Is any realtions between session login url and server responsible for reports ?
For example for the following login url: https://na3-api.salesforce.com/services/Soap/c/6.0
the following HTTP request http://na3.salesforce.com/servlet/servlet.ReportList?sessionId=XXX are working fine but not for all login urls it is try.

Is somebody know any legal way to load SF reports? We are using currently API 6.0 Does API 7.0 have any methods for load reports?
Best Reagrds
Vasil






Gareth DaviesGareth Davies
YOu can work out your server by looking at the DescribeObject output from an object like Account if you go throught the API. FYI looking for information on reports have a look at the following
 

http://sfdc-heretic.warped-minds.com/2006/04/10/progmatic-access-to-salesforcecom-reports/

http://www.salesforcewatch.com/2006/08/report_scraping.html

http://foda.typepad.com/upside/2006/11/reporting_solut.html

Cheers

Gareth.