API credentials

Hi,
i am a beginner on this device.

Im trying to access the APi on a Teltonik RutX50 version 0.7.6.1 to first of all get a token.

Is there any c# examples that i can look at?

Im trying to get the token but it fails.
Im expecting a json formatted string that i can deserialize but get only get a text string.

Am i failing on defining content-type?

Best regards

Hi Mange,

AFAIK the Content-Type is text/plain in the Headers.

I believe you’re referring in theJSON-RPC monitoring to get the session token? If so, you can follow the tutorial json-rpc and adapt it for C#

Hi, thanks for the answer.

I just wanted to show what kind of answer i get so i have cut out a small part.

\u001f?\b\0\0\0\0\0\u0002\u0003?UMo?8\u0010??W??8\u0001\"1q??YH?]dshQ?E???TP?H?&??H?Q??w$???\u001e?`yh?<?y?HgO?y}???;V???d?\u00173?Vy\u00046Z?

What is that format?

kind regards.

This topic was automatically closed after 60 days. New replies are no longer allowed.