List Entrances Associated with a Credential
Python cURL (bash) JavaScript Ruby PHP C# Java Go
Request:
Copy seam . acs . credentials . list_accessible_entrances (
acs_credential_id = "66666666-6666-6666-6666-666666666666"
)
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy [
AcsEntrance(
acs_entrance_id='55555555-5555-5555-5555-555555555555',
acs_system_id='11111111-1111-1111-1111-111111111111',
display_name='Guest Lock 2',
...
),
...
]
Request:
Copy # Use GET or POST.
curl -X 'GET' \
'https://connect.getseam.com/acs/credentials/list_accessible_entrances' \
-H 'accept: application/json' \
-H "Authorization: Bearer ${API_KEY}" \
-H 'Content-Type: application/json' \
-d '{
"acs_credential_id": "66666666-6666-6666-6666-666666666666"
}'
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy {
"acs_entrances" : [
{
"acs_entrance_id" : "55555555-5555-5555-5555-555555555555" ,
"acs_system_id" : "11111111-1111-1111-1111-111111111111" ,
"display_name" : "Guest Lock 2" ,
...
} ,
...
] ,
"ok" : true
}
Request:
Copy await seam . acs . credentials .listAccessibleEntrances ({
acs_credential_id : "66666666-6666-6666-6666-666666666666"
});
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy [
{
acs_entrance_id : ' 55555555-5555-5555-5555-555555555555 ' ,
acs_system_id : ' 11111111-1111-1111-1111-111111111111 ' ,
display_name : 'Guest Lock 2 ' ,
...
} ,
...
]
Request:
Copy $seam -> acs -> credentials -> list_accessible_entrances (
acs_credential_id : "66666666-6666-6666-6666-666666666666"
) ;
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy [
{
"acs_entrance_id" : "55555555-5555-5555-5555-555555555555" ,
"acs_system_id" : "11111111-1111-1111-1111-111111111111" ,
"display_name" : "Guest Lock 2" ,
...
} ,
...
]
Request:
Copy seam . CredentialsAcs . ListAccessibleEntrances (
acsCredentialId : "66666666-6666-6666-6666-666666666666"
);
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy {
"acs_entrance_id" : "55555555-5555-5555-5555-555555555555" ,
"acs_system_id" : "11111111-1111-1111-1111-111111111111" ,
"display_name" : "Guest Lock 2" ,
...
}
...
Request:
Copy acs_entrances, uErr := client.Acs.Credentials. ListAccessibleEntrances (
context. Background (), & acs . CredentialsListAccessibleEntrancesRequest {
AcsCredentialId: "66666666-6666-6666-6666-666666666666" ,
},
)
Response:
This response contains manufacturer-specific metadata that may vary by manufacturer .
Copy [
{
"acs_entrance_id" : "55555555-5555-5555-5555-555555555555" ,
"acs_system_id" : "11111111-1111-1111-1111-111111111111" ,
"display_name" : "Guest Lock 2" ,
...
} ,
...
]
List Credentials Associated with an Entrance