The Alma Users API can return a lower number of results than reported
danmichaelo opened this issue · 0 comments
danmichaelo commented
curl -X GET --header 'Accept: application/json; charset=utf-8' --header 'Authorization: apikey {key}' 'https://api-eu.hosted.exlibrisgroup.com/almaws/v1/users?limit=5&q=ALL~linena@uio.no' | jq '.'
gives "total_record_count": 5
, but only 3 records are returned. Anonymized response:
{
"user": [
{
"primary_id": "li",
"first_name": "Li",
"last_name": "Aker",
"gender": {
"value": "FEMALE",
"desc": "Female"
},
"password": "",
"status": {
"value": "ACTIVE",
"desc": "Active"
},
"requests": null,
"loans": null,
"fees": null,
"link": "https://api-eu.hosted.exlibrisgroup.com/almaws/v1/users/li"
},
{
"primary_id": "n003548402",
"first_name": "Stein",
"last_name": "Gal",
"gender": {
"value": "",
"desc": ""
},
"password": "",
"status": {
"value": "ACTIVE",
"desc": "Active"
},
"requests": null,
"loans": null,
"fees": null,
"link": "https://api-eu.hosted.exlibrisgroup.com/almaws/v1/users/n003548402"
},
{
"primary_id": "N003548424",
"first_name": "Sol",
"last_name": "Storm",
"gender": {
"value": "",
"desc": ""
},
"password": "",
"status": {
"value": "ACTIVE",
"desc": "Active"
},
"requests": null,
"loans": null,
"fees": null,
"link": "https://api-eu.hosted.exlibrisgroup.com/almaws/v1/users/N003548424"
}
],
"total_record_count": 5
}