orderby to sort groups-for-registration api result?

Any issue about Cyclos 4 scripting and Webservices

Moderators: hugo, alexandre, rmvanarkel

Post Reply
sandrab
Posts: 13
Joined: Tue Sep 11, 2018 8:26 am

orderby to sort groups-for-registration api result?

Post by sandrab » Thu Jan 31, 2019 11:38 am

When I do a GET request on api/users/groups-for-registration, I get a list of groups. Is it possible to have this list sorted alphabetically by name? The documentation of this request does not mention something like an orderby parameter, so I assume it is not possible at this moment. Is this something that might change? Or would my best bet be to simply sort the list myself, after retrieving it from the api?

Thanks!
Sandra

Using Cyclos 4.11.1

Post Reply