Page 1 of 1

get users list via webservice or rest-api

PostPosted: Mon Jun 10, 2019 4:34 pm
by erol_basak/enautomation_com
Hi , I have a question.
Can I get usernames from the aggregate server with webservice or rest-api ?

Re: get users list via webservice or rest-api

PostPosted: Tue Jun 11, 2019 4:33 pm
by erol_basak/enautomation_com
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

Re: get users list via webservice or rest-api

PostPosted: Tue Jun 18, 2019 11:38 am
by sergey_eritsyan/tibbo_com
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.