Добро пожаловать в сообщество AggreGate

get users list via webservice or rest-api

Discussion of AggreGate IoT Integration platform.

get users list via webservice or rest-api

Сообщение erol_basak/enautomation_com » Пн июн 10, 2019 4:34 pm

Hi , I have a question.
Can I get usernames from the aggregate server with webservice or rest-api ?
erol_basak/enautomation_com
 
Сообщения: 6
Зарегистрирован: Чт мар 15, 2018 10:18 am

Re: get users list via webservice or rest-api

Сообщение erol_basak/enautomation_com » Вт июн 11, 2019 4:33 pm

Hi , I have 2 questions .
1 - I want to make the authentication login page with the Aggregate server with a 3rd party program. Can I use agg webservice and rest api here?
2 - How do I run Aggregate queries and aggregate scripts in this c # application?

I need these to know for a our customer.

Thanks too much
erol_basak/enautomation_com
 
Сообщения: 6
Зарегистрирован: Чт мар 15, 2018 10:18 am

Re: get users list via webservice or rest-api

Сообщение sergey_eritsyan/tibbo_com » Вт июн 18, 2019 11:38 am

1. Yes, you can. After getting the credentials from a user you should pass it to Rest auth request: https://aggregate.tibbo.com/docs/en/int ... cating.htm.
2.0 How to call functions via API (C# is pretty similar): https://aggregate.tibbo.com/docs/en/int ... ctions.htm.
2.1 You can call the 'executeQuery' function from root context passing a textual query as a parameter: https://aggregate.tibbo.com/docs/en/ls_conref_root.htm.
2.2 You can call the 'execute' function of the particular script context.
sergey_eritsyan/tibbo_com
 
Сообщения: 100
Зарегистрирован: Пт июл 07, 2017 10:42 am


Вернуться в IoT, M2M and Remote Monitoring/Service

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3