This documentation is still a work in progress. Please contact Support to register for early access.
curl --location --request GET 'https://api.portierx.com/api/v1/access-credentials/recommendations?individual_id&space_ids&is_include_held_by_others&sort' \
--header 'Authorization: <api-key>'{
"msg": "Retrieved item list successfully",
"data": [
{
"id": "UUID",
"name": "Option 1",
"is_recommended": true,
"credentials": [
{
"id": "uuid-cred-1",
"credential_id": "E41",
"name": "Conference Room",
"covered_spaces": [
{
"id": "uuid-cov-space-1",
"name": "Arlington Library"
},
{
"id": "uuid-cov-space-2",
"name": "Sycamore Lab"
}
]
},
{
"id": "uuid-cred-2",
"credential_id": "E42",
"name": "CEO Office",
"covered_spaces": [
{
"id": "uuid-cov-space-3",
"name": "Emerald Library"
},
{
"id": "uuid-cov-space-4",
"name": "Juniper Hall"
}
]
},
{
"id": "uuid-cred-3",
"credential_id": "E43",
"name": "Learning Center",
"covered_spaces": [
{
"id": "uuid-cov-space-5",
"name": "Conference Room"
},
{
"id": "uuid-cov-space-6",
"name": "Learning Center"
}
]
}
]
}
]
}