Retrieving Guest and Common Entrances
Learn how to fetch various types of entrances to help provide more context for your app users.
Fetch Guest Entrances
all_entrances = seam.acs.entrances.list(
acs_system_id=acs_system.acs_system_id
)
# Filter for entrances with the guest entrance category type.
guest_entrance_category_types = ["guest"]
def filter_entrances_by_profile_type(entrance_list, category_types):
guest_entrances = []
for entrance in entrance_list:
if entrance["visionline_metadata"]["door_category"] in category_types:
guest_entrances.append(entrance)
return guest_entrances
guest_entrances = filter_entrances_by_profile_type(
all_entrances,
guest_entrance_category_types
)Fetch Common Entrances
PreviousIssuing Various Types of Guest Joiner Mobile CredentialsNextChecking if a User Identity Has a Phone That Is Set up for a Credential Manager
Last updated
Was this helpful?

