GET api/v1/VisitorRequestInstances/NextInstance?GuestPersonId={GuestPersonId}&Start={Start}&End={End}&IncludeCardInfo={IncludeCardInfo}
Returns a single record of the next instance for a given PersonId for a Guest. "Next" is defined as any instance > 00:00:01 of current day when Start is null and less than End or if End is null, then 00:00:01 of start plus one day.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| GuestPersonId | globally unique identifier |
Required |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| IncludeCardInfo | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
VisitorRequestInstanceViewModel| Name | 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": "8d5d2721-a166-4fc8-9145-a137b0816a2a",
"VisitorRequestId": "c6764225-ed4b-447c-bf57-5bf6cb3239b1",
"DateExpected": "2026-04-04T18:18:15.7045702+00:00",
"DateTimeArrived": "2026-04-04T18:18:15.7045702+00:00",
"AssignedAccessLevelId": 1,
"FirstName": "sample string 4",
"LastName": "sample string 5",
"MiddleInitial": "sample string 6",
"GuestCompany": "sample string 7",
"HostPersonId": "bd56fbd5-ce1f-4c93-ba23-1aa0dce31e68",
"Message": "sample string 9",
"sVisitorTypeId": "d0293c65-d444-4847-a53f-419f549e0a46",
"GroupHashTag": "sample string 11",
"VisitorStatus": 0,
"Deleted": true,
"Card": {
"PersonCardId": "499097dc-a160-4626-ba40-dc7f9b2f6394",
"CardName": "sample string 2",
"CardId": "7fd2764e-df9f-4d0b-990d-83023fee86f5",
"CardType": 4,
"CardACSystemId": "047c5b98-0e41-42ae-97f2-0d1e1c491fbd",
"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": "2026-04-04T18:18:15.7045702+00:00",
"DateInserted": "2026-04-04T18:18:15.7045702+00:00",
"DateUpdated": "2026-04-04T18:18:15.7045702+00:00",
"CardActivationStartDateTime": "2026-04-04T18:18:15.7045702+00:00",
"CardDeactivationStartDateTime": "2026-04-04T18:18:15.7045702+00:00",
"CardUserFlags": 1,
"EncryptedMobileCredentials": [
{
"MobileKeySetId": "9326db17-7fe1-42bb-84aa-906a38d12865",
"KeyIndex": 2,
"EncryptedCredential": "sample string 3"
},
{
"MobileKeySetId": "9326db17-7fe1-42bb-84aa-906a38d12865",
"KeyIndex": 2,
"EncryptedCredential": "sample string 3"
}
],
"CredentialType": 1
}
}
application/xml, text/xml
Sample:
<VisitorRequestInstanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
<AssignedAccessLevelId>1</AssignedAccessLevelId>
<Card>
<CardACSystemId>047c5b98-0e41-42ae-97f2-0d1e1c491fbd</CardACSystemId>
<CardACSystemName>sample string 6</CardACSystemName>
<CardActivationStartDateTime>2026-04-04T18:18:15.7045702+00:00</CardActivationStartDateTime>
<CardDeactivationStartDateTime>2026-04-04T18:18:15.7045702+00:00</CardDeactivationStartDateTime>
<CardId>7fd2764e-df9f-4d0b-990d-83023fee86f5</CardId>
<CardName>sample string 2</CardName>
<CardSerialNumber>1</CardSerialNumber>
<CardType>4</CardType>
<CardUserFlags>ActiveCardholderRecord</CardUserFlags>
<CredentialType>Proximity</CredentialType>
<DateInserted>2026-04-04T18:18:15.7045702+00:00</DateInserted>
<DateUpdated>2026-04-04T18:18:15.7045702+00:00</DateUpdated>
<EncryptedMobileCredentials>
<EncryptedCredentialData>
<EncryptedCredential>sample string 3</EncryptedCredential>
<KeyIndex>2</KeyIndex>
<MobileKeySetId>9326db17-7fe1-42bb-84aa-906a38d12865</MobileKeySetId>
</EncryptedCredentialData>
<EncryptedCredentialData>
<EncryptedCredential>sample string 3</EncryptedCredential>
<KeyIndex>2</KeyIndex>
<MobileKeySetId>9326db17-7fe1-42bb-84aa-906a38d12865</MobileKeySetId>
</EncryptedCredentialData>
</EncryptedMobileCredentials>
<ExternalCardNumber>sample string 8</ExternalCardNumber>
<FacilityCode>9</FacilityCode>
<HidInvitationCode>sample string 13</HidInvitationCode>
<InternalCardNumber>7</InternalCardNumber>
<InvitationRedeemedDateTime>2026-04-04T18:18:15.7045702+00:00</InvitationRedeemedDateTime>
<IssueCode>10</IssueCode>
<PIN>sample string 11</PIN>
<PersonCardId>499097dc-a160-4626-ba40-dc7f9b2f6394</PersonCardId>
</Card>
<DateExpected>2026-04-04T18:18:15.7045702+00:00</DateExpected>
<DateTimeArrived>2026-04-04T18:18:15.7045702+00:00</DateTimeArrived>
<Deleted>true</Deleted>
<FirstName>sample string 4</FirstName>
<GroupHashTag>sample string 11</GroupHashTag>
<GuestCompany>sample string 7</GuestCompany>
<HostPersonId>bd56fbd5-ce1f-4c93-ba23-1aa0dce31e68</HostPersonId>
<LastName>sample string 5</LastName>
<Message>sample string 9</Message>
<MiddleInitial>sample string 6</MiddleInitial>
<VisitorRequestId>c6764225-ed4b-447c-bf57-5bf6cb3239b1</VisitorRequestId>
<VisitorRequestInstanceId>8d5d2721-a166-4fc8-9145-a137b0816a2a</VisitorRequestInstanceId>
<VisitorStatus>NotCheckedIn</VisitorStatus>
<sVisitorTypeId>d0293c65-d444-4847-a53f-419f549e0a46</sVisitorTypeId>
</VisitorRequestInstanceViewModel>