API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

slov login

0
Hi,

I have a working php integration with economic, sort of

One thing that is very strange is that it takes approximately 1.5 minutes for me to authenticate, its the following piece that is slow


        $postFields = aftalenr=%sbrugernavn=%spassword=%spopup=geminfo=;
        $postUrl = https//wwwe-conomicdk/secure/internal/loginasp;

        curl_setopt(
        $this-curlHandle,
        CURLOPT_POSTFIELDS,
        sprintf($postFields, $this-agreementNumber, $this-username, $this-password));
        curl_setopt(
        $this-curlHandle,
        CURLOPT_URL,
        $postUrl);
        // Post the login form
        $loginHtml = curl_exec($this-curlHandle);
        // Unset post fields
        curl_setopt($this-curlHandle, CURLOPT_POSTFIELDS, );
        return true;


Is there any kind of throttling made into the api. Its a test account I'm working against.

Is there any thing that looks wrong in the above code

Best Regards
Niels
created Aug 23, 2011 by boldt
0% Accept Rate
Q 5 A 2 C 1

1 Answer

0
Hi,

The URL you're using is wrong - the e-conomic API is exposed at https//wwwe-conomiccom/secure/api1/EconomicWebServiceasmx.


Regards,
answered Aug 23, 2011 by Christian Estrup

Network

Find all the documentation and resources you need to build great apps.
Go to Developer site

Newsletter

Get the latest news and important info from the e-conomic developer world.
Sign up now

Visma e-conomic A/S
...