Hi,
For our project I have to get the id's of specific cohorts, so I can add members to them. Looks like I can do that with the API function 'core_cohort_search_cohorts'.
It has the argument "query'. But I can't find any documentation about the syntax of such a querystring. I succeeded getting a lists of cohorts with this function with an empty query. Now I want to search a specific cohort by name.
I was guessing something like "query"=>"name='myCohort'". But that returns an empty array.
Does anybody know the right answer?
Thanks in advance,
Moritz