GET api/v1/VisitorRequests/VisitorTypes
Returns a list of VisitorViewModels that the API token has rights to view
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of VisitorTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VisitorTypeId |
Represents the PK of an existing Visitor Request Type in BluSKY (static list) |
globally unique identifier |
None. |
| Description |
Represents the description of an existing Visitor Request Type in BluSKY (static list) |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VisitorTypeId": "d35c50c0-a1cd-46f0-b2a1-f7d243fe30d0",
"Description": "sample string 2"
},
{
"VisitorTypeId": "d35c50c0-a1cd-46f0-b2a1-f7d243fe30d0",
"Description": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfVisitorTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
<VisitorTypeViewModel>
<Description>sample string 2</Description>
<VisitorTypeId>d35c50c0-a1cd-46f0-b2a1-f7d243fe30d0</VisitorTypeId>
</VisitorTypeViewModel>
<VisitorTypeViewModel>
<Description>sample string 2</Description>
<VisitorTypeId>d35c50c0-a1cd-46f0-b2a1-f7d243fe30d0</VisitorTypeId>
</VisitorTypeViewModel>
</ArrayOfVisitorTypeViewModel>