List Accessible Entrances
POST /acs/credentials/list_accessible_entrances ⇒ { acs_entrances: [acs_entrance, …] }
Returns a list of all entrances to which a credential grants access.
Request
await seam.acs.credentials.listAccessibleEntrances({
acs_credential_id: "66666666-6666-6666-6666-666666666666",
});
Response
[
{
"acs_entrance_id": "55555555-5555-5555-5555-555555555555",
"acs_system_id": "11111111-1111-1111-1111-111111111111",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"visionline_metadata": {
"profiles": [
{
"visionline_door_profile_id": "Guest Door",
"visionline_door_profile_type": "BLE"
}
],
"door_name": "Guest Lock 2",
"door_category": "guest"
},
"latch_metadata": null,
"display_name": "Guest Lock 2",
"created_at": "2024-03-26T14:31:18.979Z"
}
]
Request
seam.acs.credentials.list_accessible_entrances(
acs_credential_id="66666666-6666-6666-6666-666666666666"
)
Response
[
AcsEntrance(
acs_entrance_id="55555555-5555-5555-5555-555555555555",
acs_system_id="11111111-1111-1111-1111-111111111111",
workspace_id="00000000-0000-0000-0000-000000000000",
visionline_metadata={
"profiles": [
{
"visionline_door_profile_id": "Guest Door",
"visionline_door_profile_type": "BLE",
}
],
"door_name": "Guest Lock 2",
"door_category": "guest",
},
latch_metadata=None,
display_name="Guest Lock 2",
created_at="2024-03-26T14:31:18.979Z",
)
]
Request
seam.acs.credentials.list_accessible_entrances(
acs_credential_id: "66666666-6666-6666-6666-666666666666",
)
Response
[
{
"acs_entrance_id" => "55555555-5555-5555-5555-555555555555",
"acs_system_id" => "11111111-1111-1111-1111-111111111111",
"workspace_id" => "00000000-0000-0000-0000-000000000000",
"visionline_metadata" => {
profiles: [{ visionline_door_profile_id: "Guest Door", visionline_door_profile_type: "BLE" }],
door_name: "Guest Lock 2",
door_category: "guest",
},
"latch_metadata" => nil,
"display_name" => "Guest Lock 2",
"created_at" => "2024-03-26T14:31:18.979Z",
},
]
Request
<?php
$seam->acs->credentials->list_accessible_entrances(
acs_credential_id: "66666666-6666-6666-6666-666666666666"
);
Response
<?php
[
[
"acs_entrance_id" => "55555555-5555-5555-5555-555555555555",
"acs_system_id" => "11111111-1111-1111-1111-111111111111",
"workspace_id" => "00000000-0000-0000-0000-000000000000",
"visionline_metadata" => [
"profiles" => [
[
"visionline_door_profile_id" => "Guest Door",
"visionline_door_profile_type" => "BLE",
],
],
"door_name" => "Guest Lock 2",
"door_category" => "guest",
],
"latch_metadata" => null,
"display_name" => "Guest Lock 2",
"created_at" => "2024-03-26T14:31:18.979Z",
],
];
Request
seam acs credentials list-accessible-entrances --acs_credential_id "66666666-6666-6666-6666-666666666666"
Response
[
{
"acs_entrance_id": "55555555-5555-5555-5555-555555555555",
"acs_system_id": "11111111-1111-1111-1111-111111111111",
"workspace_id": "00000000-0000-0000-0000-000000000000",
"visionline_metadata": {
"profiles": [
{
"visionline_door_profile_id": "Guest Door",
"visionline_door_profile_type": "BLE"
}
],
"door_name": "Guest Lock 2",
"door_category": "guest"
},
"latch_metadata": null,
"display_name": "Guest Lock 2",
"created_at": "2024-03-26T14:31:18.979Z"
}
]
Request
package main
import api "github.com/seamapi/go"
import credentials "github.com/seamapi/go/credentials"
func main() {
client.Acs.Credentials.ListAccessibleEntrances(
context.Background(),
credentials.CredentialsListAccessibleEntrancesRequest{
AcsCredentialId: api.String("66666666-6666-6666-6666-666666666666"),
},
)
}
Response
[]api.AcsEntrance{api.AcsEntrance{AcsEntranceId: "55555555-5555-5555-5555-555555555555", AcsSystemId: "11111111-1111-1111-1111-111111111111", WorkspaceId: "00000000-0000-0000-0000-000000000000", VisionlineMetadata: api.AcsEntranceVisionlineMetadata{Profiles: []AcsEntranceVisionlineMetadataProfiles{api.AcsEntranceVisionlineMetadataProfilesProfiles{VisionlineDoorProfileId: "Guest Door", VisionlineDoorProfileType: "BLE"}}, DoorName: "Guest Lock 2", DoorCategory: "guest"}, LatchMetadata: nil, DisplayName: "Guest Lock 2", CreatedAt: "2024-03-26T14:31:18.979Z"}}
Authentication Methods
API key
Personal access token
Request Parameters
acs_credential_id
acs_credential_id
Type: string
Required: Yes
ID of the credential for which you want to retrieve all entrances to which this credential grants access.
Return Type
Array<acs_entrance>
Last updated