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

ConnectWithToken where is the appToken defined ?

0

Hi i have tried to connectWithToken, how ever its proven more troublesome then i could imagine.

i have tried variations of the key, and also the information is contridictionary to say the least, i hope some one could explain it to me.

Basicly there are two things needed

AppToken  ?

Token this i know what is

now when looking into the development tab i have a question

I have AppID and private AppID no AppToken ?, i found a help version where AppToken is explained as Token and AppID as AppToken, this how ever also did not work

Or is it somthing totaly different then these two and where could i find it?

Kind regards

a some what confused E-conomics user

 

created Apr 24, 2013 by mediastyle
33% Accept Rate
Q 4 A 0 C 1

1 Answer

0
 
Best answer

 

Hi,
 
The combination below will work for you.
 
ConnectWithToken has two parameters:
token: Use the accessID provided by your customer
appToken: Use the Private app ID from the Developer tab.
 
 
answered Apr 24, 2013 by Jostein
selected Apr 25, 2013 by Jostein
After taking some recommendation i did not get connected but i instead got this
Economic.Api.Exceptions.AuthenticationException(E02250): Token does not correspond to a valid grant. (id=955e7dd8-35f2-4d9e-803d-19a23159bd14)
Visma e-conomic A/S
...