GET api/v1/VisitorRequestInstances?FacilityId={FacilityId}&Start={Start}&End={End}&IncludeCardInfo={IncludeCardInfo}
Returns all instances when passed a FacilityId.Start is treated as today at 00:00:01 when null, End is treated as 00:00:01 tomorrow when null
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FacilityId | globally unique identifier |
Required |
|
Start | date |
None. |
|
End | date |
None. |
|
IncludeCardInfo | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Collection of VisitorRequestInstanceViewModelName | Description | Type | Additional information |
---|---|---|---|
VisitorRequestInstanceId |
Represents the PK of an existing Visitor Request Instance in BluSKY |
globally unique identifier |
None. |
VisitorRequestId |
Represents the correspondent Visitor Request |
globally unique identifier |
None. |
DateExpected | date |
None. |
|
DateTimeArrived | date |
None. |
|
AssignedAccessLevelId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
MiddleInitial | string |
None. |
|
GuestCompany | string |
None. |
|
HostPersonId | globally unique identifier |
None. |
|
Message | string |
None. |
|
sVisitorTypeId | globally unique identifier |
None. |
|
GroupHashTag | string |
None. |
|
VisitorStatus | VisitorStatuses |
None. |
|
Deleted | boolean |
None. |
|
Card | PersonCardViewModel |
None. |
Response Formats
application/json, text/json
Sample:
[ { "VisitorRequestInstanceId": "e8323d8c-41fa-4b6d-b1cc-7e3a03423b10", "VisitorRequestId": "c1b2b3f0-e551-48e8-865b-58c90c5dfa00", "DateExpected": "2025-03-31T05:15:16.0603511+00:00", "DateTimeArrived": "2025-03-31T05:15:16.0603511+00:00", "AssignedAccessLevelId": 1, "FirstName": "sample string 4", "LastName": "sample string 5", "MiddleInitial": "sample string 6", "GuestCompany": "sample string 7", "HostPersonId": "1a2860a5-2c05-48c0-8b83-cacc05cf6054", "Message": "sample string 9", "sVisitorTypeId": "05ce2f76-1f61-4d65-9377-d6807ec7ccb5", "GroupHashTag": "sample string 11", "VisitorStatus": 0, "Deleted": true, "Card": { "PersonCardId": "0dbba110-fad9-493f-9865-507948ff1283", "CardName": "sample string 2", "CardId": "33ced098-cfbb-48fe-ab4e-17bcab3499eb", "CardType": 4, "CardACSystemId": "d9a00e1c-2689-476f-8d9e-a3fa66ad3496", "CardACSystemName": "sample string 6", "InternalCardNumber": 7, "ExternalCardNumber": "sample string 8", "CardSerialNumber": 1, "FacilityCode": 9, "IssueCode": 10, "PIN": "sample string 11", "Deleted": true, "HidInvitationCode": "sample string 13", "InvitationRedeemedDateTime": "2025-03-31T05:15:16.0603511+00:00", "DateInserted": "2025-03-31T05:15:16.0603511+00:00", "DateUpdated": "2025-03-31T05:15:16.0603511+00:00", "CardActivationStartDateTime": "2025-03-31T05:15:16.0603511+00:00", "CardDeactivationStartDateTime": "2025-03-31T05:15:16.0603511+00:00", "CardUserFlags": 1, "EncryptedMobileCredentials": [ { "MobileKeySetId": "9426a2d1-51bc-4e61-a39c-a1fc0b61d292", "KeyIndex": 2, "EncryptedCredential": "sample string 3" }, { "MobileKeySetId": "9426a2d1-51bc-4e61-a39c-a1fc0b61d292", "KeyIndex": 2, "EncryptedCredential": "sample string 3" } ], "CredentialType": 1 } }, { "VisitorRequestInstanceId": "e8323d8c-41fa-4b6d-b1cc-7e3a03423b10", "VisitorRequestId": "c1b2b3f0-e551-48e8-865b-58c90c5dfa00", "DateExpected": "2025-03-31T05:15:16.0603511+00:00", "DateTimeArrived": "2025-03-31T05:15:16.0603511+00:00", "AssignedAccessLevelId": 1, "FirstName": "sample string 4", "LastName": "sample string 5", "MiddleInitial": "sample string 6", "GuestCompany": "sample string 7", "HostPersonId": "1a2860a5-2c05-48c0-8b83-cacc05cf6054", "Message": "sample string 9", "sVisitorTypeId": "05ce2f76-1f61-4d65-9377-d6807ec7ccb5", "GroupHashTag": "sample string 11", "VisitorStatus": 0, "Deleted": true, "Card": { "PersonCardId": "0dbba110-fad9-493f-9865-507948ff1283", "CardName": "sample string 2", "CardId": "33ced098-cfbb-48fe-ab4e-17bcab3499eb", "CardType": 4, "CardACSystemId": "d9a00e1c-2689-476f-8d9e-a3fa66ad3496", "CardACSystemName": "sample string 6", "InternalCardNumber": 7, "ExternalCardNumber": "sample string 8", "CardSerialNumber": 1, "FacilityCode": 9, "IssueCode": 10, "PIN": "sample string 11", "Deleted": true, "HidInvitationCode": "sample string 13", "InvitationRedeemedDateTime": "2025-03-31T05:15:16.0603511+00:00", "DateInserted": "2025-03-31T05:15:16.0603511+00:00", "DateUpdated": "2025-03-31T05:15:16.0603511+00:00", "CardActivationStartDateTime": "2025-03-31T05:15:16.0603511+00:00", "CardDeactivationStartDateTime": "2025-03-31T05:15:16.0603511+00:00", "CardUserFlags": 1, "EncryptedMobileCredentials": [ { "MobileKeySetId": "9426a2d1-51bc-4e61-a39c-a1fc0b61d292", "KeyIndex": 2, "EncryptedCredential": "sample string 3" }, { "MobileKeySetId": "9426a2d1-51bc-4e61-a39c-a1fc0b61d292", "KeyIndex": 2, "EncryptedCredential": "sample string 3" } ], "CredentialType": 1 } } ]
application/xml, text/xml
Sample:
<ArrayOfVisitorRequestInstanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <VisitorRequestInstanceViewModel> <AssignedAccessLevelId>1</AssignedAccessLevelId> <Card> <CardACSystemId>d9a00e1c-2689-476f-8d9e-a3fa66ad3496</CardACSystemId> <CardACSystemName>sample string 6</CardACSystemName> <CardActivationStartDateTime>2025-03-31T05:15:16.0603511+00:00</CardActivationStartDateTime> <CardDeactivationStartDateTime>2025-03-31T05:15:16.0603511+00:00</CardDeactivationStartDateTime> <CardId>33ced098-cfbb-48fe-ab4e-17bcab3499eb</CardId> <CardName>sample string 2</CardName> <CardSerialNumber>1</CardSerialNumber> <CardType>4</CardType> <CardUserFlags>ActiveCardholderRecord</CardUserFlags> <CredentialType>Proximity</CredentialType> <DateInserted>2025-03-31T05:15:16.0603511+00:00</DateInserted> <DateUpdated>2025-03-31T05:15:16.0603511+00:00</DateUpdated> <EncryptedMobileCredentials> <EncryptedCredentialData> <EncryptedCredential>sample string 3</EncryptedCredential> <KeyIndex>2</KeyIndex> <MobileKeySetId>9426a2d1-51bc-4e61-a39c-a1fc0b61d292</MobileKeySetId> </EncryptedCredentialData> <EncryptedCredentialData> <EncryptedCredential>sample string 3</EncryptedCredential> <KeyIndex>2</KeyIndex> <MobileKeySetId>9426a2d1-51bc-4e61-a39c-a1fc0b61d292</MobileKeySetId> </EncryptedCredentialData> </EncryptedMobileCredentials> <ExternalCardNumber>sample string 8</ExternalCardNumber> <FacilityCode>9</FacilityCode> <HidInvitationCode>sample string 13</HidInvitationCode> <InternalCardNumber>7</InternalCardNumber> <InvitationRedeemedDateTime>2025-03-31T05:15:16.0603511+00:00</InvitationRedeemedDateTime> <IssueCode>10</IssueCode> <PIN>sample string 11</PIN> <PersonCardId>0dbba110-fad9-493f-9865-507948ff1283</PersonCardId> </Card> <DateExpected>2025-03-31T05:15:16.0603511+00:00</DateExpected> <DateTimeArrived>2025-03-31T05:15:16.0603511+00:00</DateTimeArrived> <Deleted>true</Deleted> <FirstName>sample string 4</FirstName> <GroupHashTag>sample string 11</GroupHashTag> <GuestCompany>sample string 7</GuestCompany> <HostPersonId>1a2860a5-2c05-48c0-8b83-cacc05cf6054</HostPersonId> <LastName>sample string 5</LastName> <Message>sample string 9</Message> <MiddleInitial>sample string 6</MiddleInitial> <VisitorRequestId>c1b2b3f0-e551-48e8-865b-58c90c5dfa00</VisitorRequestId> <VisitorRequestInstanceId>e8323d8c-41fa-4b6d-b1cc-7e3a03423b10</VisitorRequestInstanceId> <VisitorStatus>NotCheckedIn</VisitorStatus> <sVisitorTypeId>05ce2f76-1f61-4d65-9377-d6807ec7ccb5</sVisitorTypeId> </VisitorRequestInstanceViewModel> <VisitorRequestInstanceViewModel> <AssignedAccessLevelId>1</AssignedAccessLevelId> <Card> <CardACSystemId>d9a00e1c-2689-476f-8d9e-a3fa66ad3496</CardACSystemId> <CardACSystemName>sample string 6</CardACSystemName> <CardActivationStartDateTime>2025-03-31T05:15:16.0603511+00:00</CardActivationStartDateTime> <CardDeactivationStartDateTime>2025-03-31T05:15:16.0603511+00:00</CardDeactivationStartDateTime> <CardId>33ced098-cfbb-48fe-ab4e-17bcab3499eb</CardId> <CardName>sample string 2</CardName> <CardSerialNumber>1</CardSerialNumber> <CardType>4</CardType> <CardUserFlags>ActiveCardholderRecord</CardUserFlags> <CredentialType>Proximity</CredentialType> <DateInserted>2025-03-31T05:15:16.0603511+00:00</DateInserted> <DateUpdated>2025-03-31T05:15:16.0603511+00:00</DateUpdated> <EncryptedMobileCredentials> <EncryptedCredentialData> <EncryptedCredential>sample string 3</EncryptedCredential> <KeyIndex>2</KeyIndex> <MobileKeySetId>9426a2d1-51bc-4e61-a39c-a1fc0b61d292</MobileKeySetId> </EncryptedCredentialData> <EncryptedCredentialData> <EncryptedCredential>sample string 3</EncryptedCredential> <KeyIndex>2</KeyIndex> <MobileKeySetId>9426a2d1-51bc-4e61-a39c-a1fc0b61d292</MobileKeySetId> </EncryptedCredentialData> </EncryptedMobileCredentials> <ExternalCardNumber>sample string 8</ExternalCardNumber> <FacilityCode>9</FacilityCode> <HidInvitationCode>sample string 13</HidInvitationCode> <InternalCardNumber>7</InternalCardNumber> <InvitationRedeemedDateTime>2025-03-31T05:15:16.0603511+00:00</InvitationRedeemedDateTime> <IssueCode>10</IssueCode> <PIN>sample string 11</PIN> <PersonCardId>0dbba110-fad9-493f-9865-507948ff1283</PersonCardId> </Card> <DateExpected>2025-03-31T05:15:16.0603511+00:00</DateExpected> <DateTimeArrived>2025-03-31T05:15:16.0603511+00:00</DateTimeArrived> <Deleted>true</Deleted> <FirstName>sample string 4</FirstName> <GroupHashTag>sample string 11</GroupHashTag> <GuestCompany>sample string 7</GuestCompany> <HostPersonId>1a2860a5-2c05-48c0-8b83-cacc05cf6054</HostPersonId> <LastName>sample string 5</LastName> <Message>sample string 9</Message> <MiddleInitial>sample string 6</MiddleInitial> <VisitorRequestId>c1b2b3f0-e551-48e8-865b-58c90c5dfa00</VisitorRequestId> <VisitorRequestInstanceId>e8323d8c-41fa-4b6d-b1cc-7e3a03423b10</VisitorRequestInstanceId> <VisitorStatus>NotCheckedIn</VisitorStatus> <sVisitorTypeId>05ce2f76-1f61-4d65-9377-d6807ec7ccb5</sVisitorTypeId> </VisitorRequestInstanceViewModel> </ArrayOfVisitorRequestInstanceViewModel>