Access denied

Forum for .NET developers using the E-conomic API.
Exchange your ideas, tip and tricks using the API.
Best Practices

Access denied

Postby aboegh » Tue Aug 10, 2010 11:56 am

I am trying to develop an export of our time registration entries. As long as i use the supplied agreementnumber/testuser in the sample .NET app everything works fine but when I type my own agreementnumber and login i get this response in the textbox:

Connecting..
Access denied. {id=[Removed]}
Disconnecting..

Does my user need special permissions different from the those I have i webinterface?

Kind regards,

Anders
-
aboegh
 
Posts: 2
Joined: Tue Aug 10, 2010 11:39 am

Re: Access denied

Postby Christian Estrup » Tue Aug 10, 2010 12:29 pm

Hi Anders,

Two possible reasons:

1. You haven't registered the API add-on module. This is done under Settings -> Add-on modules.

2. The user you're trying to connect with MUST have access to either the Bookkeeping or Invoice tab (as defined under Settings -> Users). You cannot use a time registrant user account to log into the API. However, you can of course register time entries on any employee.


Best regards,
Christian Estrup
Chief Architect

Image
Online accounting
User avatar
Christian Estrup
 
Posts: 206
Joined: Tue Jun 09, 2009 6:37 pm

Re: Access denied

Postby aboegh » Wed Aug 11, 2010 2:02 pm

Thank you Christian - that did the trick. Would I have been able to find this in the documentation some where? ...just for future referece.

Kind regards,
Anders
-
aboegh
 
Posts: 2
Joined: Tue Aug 10, 2010 11:39 am


Return to .NET