GET api/v1/VisitorRequests?FacilityId={FacilityId}
Returns a list of VisitorViewModels from a given Facility that the API token has rights to view
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FacilityId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VisitorViewModelName | Description | Type | Additional information |
---|---|---|---|
VisitorRequestId |
Represents the PK of an existing Visitor Request in BluSKY |
globally unique identifier |
None. |
GuestPersonId |
Represents the PK of an existing Visitor Request Guest in BluSKY |
globally unique identifier |
None. |
GuestFirstName |
Represents the Guest's first/given name. |
string |
None. |
GuestLastName |
Represents the Guest's last name / surname. |
string |
None. |
GuestEmail |
Represents the email address of the Guest |
string |
None. |
GuestPhone |
Represents the phone number of the Guest |
string |
None. |
GuestCompanyName |
Represents the name of the occupancy or vendor instance that the Guest belongs to |
string |
None. |
GroupHashTag |
Represents the group name that the Guest may belong to (if provided) |
string |
None. |
VisitationPattern |
Represents the visitation pattern that has been requested for the Guest |
string |
None. |
Message |
Represents a supplemental message that will be viewable by Security/Reception when the Guest arrives |
string |
None. |
VisitorTypeId |
Represents a supplemental message that will be viewable by Security/Reception when the Guest arrives |
globally unique identifier |
None. |
HostPersonId |
Represents the PK of an existing Visitor Request Host in BluSKY |
globally unique identifier |
None. |
HostFirstName |
Represents the Host's first/given name. |
string |
None. |
HostLastName |
Represents the Host's last name / surname. |
string |
None. |
HostEmail |
Represents the email address of the Host |
string |
None. |
HostPhone |
Represents the phone number of the Host |
string |
None. |
HostCompanyName |
Represents the name of the occupancy or vendor instance that the Host belongs to |
string |
None. |
FacilityId |
Represents the PK of the facility that the Guest is expected at |
globally unique identifier |
None. |
FacilityName |
Represents the name of the facility that the Guest is expected at |
string |
None. |
ACSystemId |
Represents the PK of the Access Control System that the Host is located in |
globally unique identifier |
None. |
ACSystemName |
Represents the name of the Access Control System that the Host is located in |
string |
None. |
RequestedAccessLevel |
Represents an Access Level assignments requested by the Requestor for the Visitor |
AccessLevelViewModel |
None. |
Deleted |
Represents whether the Visitor Request is deleted or not. |
boolean |
None. |
Response Formats
application/json, text/json
[ { "VisitorRequestId": "77e7d745-da8e-43af-b2cf-cb185ca94be1", "GuestPersonId": "4199e91b-141a-408d-b728-03c68eeb885f", "GuestFirstName": "sample string 3", "GuestLastName": "sample string 4", "GuestEmail": "sample string 5", "GuestPhone": "sample string 6", "GuestCompanyName": "sample string 7", "GroupHashTag": "sample string 8", "VisitationPattern": "sample string 9", "Message": "sample string 10", "VisitorTypeId": "7996d259-3340-4f11-89b6-2d7c4322cb7c", "HostPersonId": "807ab268-a5c5-4d32-8c47-8073301c7ce2", "HostFirstName": "sample string 13", "HostLastName": "sample string 14", "HostEmail": "sample string 15", "HostPhone": "sample string 16", "HostCompanyName": "sample string 17", "FacilityId": "71c5a6cf-1207-4dc4-aa6d-376d52bdb36c", "FacilityName": "sample string 18", "ACSystemId": "8e81d260-c9b3-44a9-bb14-9cc0d9df304e", "ACSystemName": "sample string 19", "RequestedAccessLevel": { "AccessLevelId": 1, "Name": "sample string 2", "AccessLevelStartDate": "2025-10-16T11:09:01.5259092+00:00", "AccessLevelEndDate": "2025-10-16T11:09:01.5259092+00:00", "Deleted": true, "ACSystemId": "1d5f3ef4-b675-4a4f-997d-5cc79b1b7ba5", "CompanyId": "6c290849-ca51-49c6-b15c-7c4f67c2a5fd", "ApplyByDefault": true, "AccessLevelTypeId": "7e455bf3-fbd6-420f-8699-a0bc541c63f1", "FacilityId": "72e48722-f047-4ecb-9210-fb579811fedd" }, "Deleted": true }, { "VisitorRequestId": "77e7d745-da8e-43af-b2cf-cb185ca94be1", "GuestPersonId": "4199e91b-141a-408d-b728-03c68eeb885f", "GuestFirstName": "sample string 3", "GuestLastName": "sample string 4", "GuestEmail": "sample string 5", "GuestPhone": "sample string 6", "GuestCompanyName": "sample string 7", "GroupHashTag": "sample string 8", "VisitationPattern": "sample string 9", "Message": "sample string 10", "VisitorTypeId": "7996d259-3340-4f11-89b6-2d7c4322cb7c", "HostPersonId": "807ab268-a5c5-4d32-8c47-8073301c7ce2", "HostFirstName": "sample string 13", "HostLastName": "sample string 14", "HostEmail": "sample string 15", "HostPhone": "sample string 16", "HostCompanyName": "sample string 17", "FacilityId": "71c5a6cf-1207-4dc4-aa6d-376d52bdb36c", "FacilityName": "sample string 18", "ACSystemId": "8e81d260-c9b3-44a9-bb14-9cc0d9df304e", "ACSystemName": "sample string 19", "RequestedAccessLevel": { "AccessLevelId": 1, "Name": "sample string 2", "AccessLevelStartDate": "2025-10-16T11:09:01.5259092+00:00", "AccessLevelEndDate": "2025-10-16T11:09:01.5259092+00:00", "Deleted": true, "ACSystemId": "1d5f3ef4-b675-4a4f-997d-5cc79b1b7ba5", "CompanyId": "6c290849-ca51-49c6-b15c-7c4f67c2a5fd", "ApplyByDefault": true, "AccessLevelTypeId": "7e455bf3-fbd6-420f-8699-a0bc541c63f1", "FacilityId": "72e48722-f047-4ecb-9210-fb579811fedd" }, "Deleted": true } ]
application/xml, text/xml
<ArrayOfVisitorViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <VisitorViewModel> <ACSystemId>8e81d260-c9b3-44a9-bb14-9cc0d9df304e</ACSystemId> <ACSystemName>sample string 19</ACSystemName> <Deleted>true</Deleted> <FacilityId>71c5a6cf-1207-4dc4-aa6d-376d52bdb36c</FacilityId> <FacilityName>sample string 18</FacilityName> <GroupHashTag>sample string 8</GroupHashTag> <GuestCompanyName>sample string 7</GuestCompanyName> <GuestEmail>sample string 5</GuestEmail> <GuestFirstName>sample string 3</GuestFirstName> <GuestLastName>sample string 4</GuestLastName> <GuestPersonId>4199e91b-141a-408d-b728-03c68eeb885f</GuestPersonId> <GuestPhone>sample string 6</GuestPhone> <HostCompanyName>sample string 17</HostCompanyName> <HostEmail>sample string 15</HostEmail> <HostFirstName>sample string 13</HostFirstName> <HostLastName>sample string 14</HostLastName> <HostPersonId>807ab268-a5c5-4d32-8c47-8073301c7ce2</HostPersonId> <HostPhone>sample string 16</HostPhone> <Message>sample string 10</Message> <RequestedAccessLevel> <ACSystemId>1d5f3ef4-b675-4a4f-997d-5cc79b1b7ba5</ACSystemId> <AccessLevelEndDate>2025-10-16T11:09:01.5259092+00:00</AccessLevelEndDate> <AccessLevelId>1</AccessLevelId> <AccessLevelStartDate>2025-10-16T11:09:01.5259092+00:00</AccessLevelStartDate> <ApplyByDefault>true</ApplyByDefault> <CompanyId>6c290849-ca51-49c6-b15c-7c4f67c2a5fd</CompanyId> <Deleted>true</Deleted> <Name>sample string 2</Name> </RequestedAccessLevel> <VisitationPattern>sample string 9</VisitationPattern> <VisitorRequestId>77e7d745-da8e-43af-b2cf-cb185ca94be1</VisitorRequestId> <VisitorTypeId>7996d259-3340-4f11-89b6-2d7c4322cb7c</VisitorTypeId> </VisitorViewModel> <VisitorViewModel> <ACSystemId>8e81d260-c9b3-44a9-bb14-9cc0d9df304e</ACSystemId> <ACSystemName>sample string 19</ACSystemName> <Deleted>true</Deleted> <FacilityId>71c5a6cf-1207-4dc4-aa6d-376d52bdb36c</FacilityId> <FacilityName>sample string 18</FacilityName> <GroupHashTag>sample string 8</GroupHashTag> <GuestCompanyName>sample string 7</GuestCompanyName> <GuestEmail>sample string 5</GuestEmail> <GuestFirstName>sample string 3</GuestFirstName> <GuestLastName>sample string 4</GuestLastName> <GuestPersonId>4199e91b-141a-408d-b728-03c68eeb885f</GuestPersonId> <GuestPhone>sample string 6</GuestPhone> <HostCompanyName>sample string 17</HostCompanyName> <HostEmail>sample string 15</HostEmail> <HostFirstName>sample string 13</HostFirstName> <HostLastName>sample string 14</HostLastName> <HostPersonId>807ab268-a5c5-4d32-8c47-8073301c7ce2</HostPersonId> <HostPhone>sample string 16</HostPhone> <Message>sample string 10</Message> <RequestedAccessLevel> <ACSystemId>1d5f3ef4-b675-4a4f-997d-5cc79b1b7ba5</ACSystemId> <AccessLevelEndDate>2025-10-16T11:09:01.5259092+00:00</AccessLevelEndDate> <AccessLevelId>1</AccessLevelId> <AccessLevelStartDate>2025-10-16T11:09:01.5259092+00:00</AccessLevelStartDate> <ApplyByDefault>true</ApplyByDefault> <CompanyId>6c290849-ca51-49c6-b15c-7c4f67c2a5fd</CompanyId> <Deleted>true</Deleted> <Name>sample string 2</Name> </RequestedAccessLevel> <VisitationPattern>sample string 9</VisitationPattern> <VisitorRequestId>77e7d745-da8e-43af-b2cf-cb185ca94be1</VisitorRequestId> <VisitorTypeId>7996d259-3340-4f11-89b6-2d7c4322cb7c</VisitorTypeId> </VisitorViewModel> </ArrayOfVisitorViewModel>