Where do I get a report id from?

2012-08-02 Thread TheAinz
Apologies if this is covered anywhere, but I can't find anything on it despite searching for ages. I'm trying to use DownloadDefinedReport.php from v201206. If I understand right, you can only download reports now not define them. Line 40 and 41 of DownloadDefinedReport.php requests the id of

Re: Where do I get a report id from?

2012-08-03 Thread TheAinz
it. The solution is really just to use the Ad Hoc reporting service, I can't think of any functionality that is covered by the ReportDefinitionService but not possible with Ad Hoc reports. Hope this helps, cheers Dorian On Thursday, August 2, 2012 3:02:47 PM UTC+2, TheAinz wrote: Apologies

Cant get API to do anything

2017-09-20 Thread TheAinz
Hi, I've been trying to set the API up on a new server with no success. I've watched the videos, read the help, readme etc. I've downloaded the php client library. I've downloaded the examples. I've got the client ID, secret etc. refresh token all sorted. I've set up and rung the API once

Re: Cant get API to do anything

2017-09-21 Thread TheAinz
Hi Shwetha, The browser post refers to what I used previously with the old library (pre 25.0.0). The query is about whether same can be done with the new library? I can't locate in the code where the browser is prevented at the moment. I've been running the GetCampaigns.php file from the

Re: Cant get API to do anything

2017-09-21 Thread TheAinz
Thanks Shwetha, I know you have set them up for command line use. This is what I am doing now but still the result is nothing. So I have 2 queries: 1) You used to be able to run in a browser by commenting out the following code - Is it still possible? Where do I find the code in the new files

Re: Cant get API to do anything

2017-09-28 Thread TheAinz
Hi again, Knack has helped me get the library working on my local machine. I now get error messages. I now have this error, despite seemingly following the OAuth instructions and get the refresh token etc. "# php GetCampaigns.php PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException:

Re: Cant get API to do anything

2017-09-28 Thread TheAinz
Hi Swetha, I've been through that again and recreated credentials. Running GetCampaigns.php now allows login but creates the following errors: "# php GetCampaigns.php PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from