selectline-software / selectline-api

Apache License 2.0
24 stars 5 forks source link

400 - 20-039 when calling Characteristics, AccessoryDetails & SurchargeDetails on single article. #320

Closed Skarema closed 1 year ago

Skarema commented 1 year ago

Hi everyone! I'm tried calling all endpoints described here. The ones mentioned below are throwing errors and the message doesn't really make sense to me.

FYI: I tried waiting up to 10 seconds between login and calling the endpoint and I tried calling other endpoints before and after the ones listed below, and those endpoints do not throw any errors.

Any ideas what I could try next?


Details

ThePholph commented 1 year ago

Hi,

see at the Message in the Response. You have to send an AppKey with the Login Request. If you are a SelectLine Partner you can get the Appkey from Selectline or you are a customer you get an Appkey via your Selectline partner.

I hope, I could help you.

greetings

Daniel

Skarema commented 1 year ago

Hi Daniel,

thanks for your answer.

Some of the requests work without an AppKey and some require an AppKey at login that gives this specific Access Token the right to access the requested resource?

Thanks again for your support.

Best

MatthiasGuse commented 1 year ago

Hello,

all Customers which buyed the SelectLine Toolbox until Version 19.2 can use a small set of API functions for free. All API functions where released from version 19.3, will need an AppKey.

To use the full functionality of the API, you will need an AppKey too. Please contact your SelectLine Partner to get more Informations about.

Best regards

Skarema commented 1 year ago

@MatthiasGuse thanks for your reply. It helped a lot.