GET api/v1/VisitorRequests?OccupancyId={OccupancyId}
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 |
|---|---|---|---|
| OccupancyId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VisitorViewModel| Name | 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": "16044e81-99d9-4c63-a33e-05c2d90314c5",
"GuestPersonId": "1becb132-a13e-4ec0-91f5-c140d893ed37",
"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": "fe8fa83b-3ca4-4ed9-91d6-6aae0b677fe9",
"HostPersonId": "480253b1-9830-409d-9674-f5c1c52ea49f",
"HostFirstName": "sample string 13",
"HostLastName": "sample string 14",
"HostEmail": "sample string 15",
"HostPhone": "sample string 16",
"HostCompanyName": "sample string 17",
"FacilityId": "092b1a87-699e-4df7-bd82-76f9a9be3af1",
"FacilityName": "sample string 18",
"ACSystemId": "d35ae36e-50f6-477b-a016-30d2195c1098",
"ACSystemName": "sample string 19",
"RequestedAccessLevel": {
"AccessLevelId": 1,
"Name": "sample string 2",
"AccessLevelStartDate": "2026-08-19T23:29:06.0793825+00:00",
"AccessLevelEndDate": "2026-08-19T23:29:06.0793825+00:00",
"Deleted": true,
"ACSystemId": "92e2895a-f154-4b85-8609-161c1201e537",
"CompanyId": "f798f74e-042e-4f7d-9b36-24bfd760be56",
"ApplyByDefault": true,
"AccessLevelTypeId": "29b22acc-ce52-4182-b084-85ad5df7ee76",
"FacilityId": "0846dd7d-22dc-4d3f-b993-02739227341e"
},
"Deleted": true
},
{
"VisitorRequestId": "16044e81-99d9-4c63-a33e-05c2d90314c5",
"GuestPersonId": "1becb132-a13e-4ec0-91f5-c140d893ed37",
"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": "fe8fa83b-3ca4-4ed9-91d6-6aae0b677fe9",
"HostPersonId": "480253b1-9830-409d-9674-f5c1c52ea49f",
"HostFirstName": "sample string 13",
"HostLastName": "sample string 14",
"HostEmail": "sample string 15",
"HostPhone": "sample string 16",
"HostCompanyName": "sample string 17",
"FacilityId": "092b1a87-699e-4df7-bd82-76f9a9be3af1",
"FacilityName": "sample string 18",
"ACSystemId": "d35ae36e-50f6-477b-a016-30d2195c1098",
"ACSystemName": "sample string 19",
"RequestedAccessLevel": {
"AccessLevelId": 1,
"Name": "sample string 2",
"AccessLevelStartDate": "2026-08-19T23:29:06.0793825+00:00",
"AccessLevelEndDate": "2026-08-19T23:29:06.0793825+00:00",
"Deleted": true,
"ACSystemId": "92e2895a-f154-4b85-8609-161c1201e537",
"CompanyId": "f798f74e-042e-4f7d-9b36-24bfd760be56",
"ApplyByDefault": true,
"AccessLevelTypeId": "29b22acc-ce52-4182-b084-85ad5df7ee76",
"FacilityId": "0846dd7d-22dc-4d3f-b993-02739227341e"
},
"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>d35ae36e-50f6-477b-a016-30d2195c1098</ACSystemId>
<ACSystemName>sample string 19</ACSystemName>
<Deleted>true</Deleted>
<FacilityId>092b1a87-699e-4df7-bd82-76f9a9be3af1</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>1becb132-a13e-4ec0-91f5-c140d893ed37</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>480253b1-9830-409d-9674-f5c1c52ea49f</HostPersonId>
<HostPhone>sample string 16</HostPhone>
<Message>sample string 10</Message>
<RequestedAccessLevel>
<ACSystemId>92e2895a-f154-4b85-8609-161c1201e537</ACSystemId>
<AccessLevelEndDate>2026-08-19T23:29:06.0793825+00:00</AccessLevelEndDate>
<AccessLevelId>1</AccessLevelId>
<AccessLevelStartDate>2026-08-19T23:29:06.0793825+00:00</AccessLevelStartDate>
<ApplyByDefault>true</ApplyByDefault>
<CompanyId>f798f74e-042e-4f7d-9b36-24bfd760be56</CompanyId>
<Deleted>true</Deleted>
<Name>sample string 2</Name>
</RequestedAccessLevel>
<VisitationPattern>sample string 9</VisitationPattern>
<VisitorRequestId>16044e81-99d9-4c63-a33e-05c2d90314c5</VisitorRequestId>
<VisitorTypeId>fe8fa83b-3ca4-4ed9-91d6-6aae0b677fe9</VisitorTypeId>
</VisitorViewModel>
<VisitorViewModel>
<ACSystemId>d35ae36e-50f6-477b-a016-30d2195c1098</ACSystemId>
<ACSystemName>sample string 19</ACSystemName>
<Deleted>true</Deleted>
<FacilityId>092b1a87-699e-4df7-bd82-76f9a9be3af1</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>1becb132-a13e-4ec0-91f5-c140d893ed37</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>480253b1-9830-409d-9674-f5c1c52ea49f</HostPersonId>
<HostPhone>sample string 16</HostPhone>
<Message>sample string 10</Message>
<RequestedAccessLevel>
<ACSystemId>92e2895a-f154-4b85-8609-161c1201e537</ACSystemId>
<AccessLevelEndDate>2026-08-19T23:29:06.0793825+00:00</AccessLevelEndDate>
<AccessLevelId>1</AccessLevelId>
<AccessLevelStartDate>2026-08-19T23:29:06.0793825+00:00</AccessLevelStartDate>
<ApplyByDefault>true</ApplyByDefault>
<CompanyId>f798f74e-042e-4f7d-9b36-24bfd760be56</CompanyId>
<Deleted>true</Deleted>
<Name>sample string 2</Name>
</RequestedAccessLevel>
<VisitationPattern>sample string 9</VisitationPattern>
<VisitorRequestId>16044e81-99d9-4c63-a33e-05c2d90314c5</VisitorRequestId>
<VisitorTypeId>fe8fa83b-3ca4-4ed9-91d6-6aae0b677fe9</VisitorTypeId>
</VisitorViewModel>
</ArrayOfVisitorViewModel>