The Alma Users API can return total_record_count: -1
danmichaelo opened this issue · 0 comments
danmichaelo commented
With no further explanation, but seems to indicate unsupported queries. For instance, while AND is supported, querying the same field twice doesn't seem to work:
curl -X GET --header 'Accept: application/json; charset=utf-8' --header 'Authorization: apikey l7xx53d521c9cb214131913a31ac5c4cbd29' 'https://api-eu.hosted.exlibrisgroup.com/almaws/v1/users?limit=5&q=primary_id~dan%20ANDprimary_id~michael' | jq '.'
gives
{
"total_record_count": -1
}