yuuvis® RAD Q&A

0 votes
by (820 points)

Hallo,

maybe I overlooked it, but which method in @eo-sdk/core is used to search for users?

I would like to query the endpoint: /rest-ws/service/organization/query?q=johndoe&activeonly=true&details=true

TIA

Dennis

1 Answer

0 votes
by (820 points)
edited by
 
Best answer

To answer my own question:

There isn't any specific "search" call. Just use the BackendService.getJSON() call. The BackendService is a thin wrapper for all API Endpoints.

Therefore for a basic user search it's simple backendService.getJson('/organization/query?q=johndoe&activeonly=true&details=true') with some rxjs in the mix.

The Query could be (safely) composed with Utils.buildUri() which is part of @eo-sdk/core.

Related questions

+1 vote
1 answer
asked May 23, 2019 by dcieplik (820 points)
0 votes
2 answers
+1 vote
2 answers
...