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

Accessing API as Administrator

I wish to access the API as an Administrator and extract a list of customers.

Is this possible?
created May 11, 2012 by KiaerInnologic
0% Accept Rate
Q 12 A 16 C 1

2 Answers


You cannot extract a list of customers to which your administrator (user) has access - you must explicitly specify the customer/company agreement number as well when calling ConnectAsAdministrator().

If you wish to avoid the hassle of having to know (/ask your user) for the actual e-conomic agreement number, we do also have another administrator connection function which identifies the company not by its e-conomic agreement number, but by its administrator-specific customer number: http//wwwe-conomiccom/apidocs/Documentation/M_Economic_Api_ISession_ConnectAsAdministratorWithCustomerNumberhtml.

Note, however, that this requires the administrator to have entered 'his number' for the customer in e-conomic.

Best regards,
answered May 11, 2012 by Christian Estrup

Thanks for the quick reply!

/ Frederik
answered May 11, 2012 by KiaerInnologic
Visma e-conomic A/S