GET api/v1/Facilities
Returns a list of FacilityViewModels that the API token has rights to view
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of FacilityViewModelName | Description | Type | Additional information |
---|---|---|---|
FacilityId |
Represents the PK of an existing Facility in BluSKY |
globally unique identifier |
None. |
Name |
Represents the name of an existing Facility in BluSKY |
string |
None. |
ACSystemId |
Represents the PK of the Access Control System for the Facility |
globally unique identifier |
None. |
ACSystemName |
Represents the name of the Access Control System for the Facility |
string |
None. |
Deleted |
Represents whether the Facility is deleted or not. |
boolean |
None. |
TimeZoneInfoId |
Represents the TimeZone of the Facility |
string |
None. |
StreetAddress1 |
Represents the primary street address of the Facility |
string |
None. |
StreetAddress2 |
Represents the secondary street address of the Facility |
string |
None. |
City |
Represents the city of the Facility |
string |
None. |
sRegionId |
Represents the PK of the region (State, Province, County, etc) of the Facility |
globally unique identifier |
None. |
RegionName |
Represents the name of the region (State, Province, County, etc) of the Facility |
string |
None. |
sCountryId |
Represents the PK of the country of the Facility |
globally unique identifier |
None. |
CountryName |
Represents the name of the country of the Facility |
string |
None. |
PostalCode |
Represents the Postal Code/Zip Code of the Facility |
string |
None. |
Website |
Represents the URL of the website associated with the Facility |
string |
None. |
Response Formats
application/json, text/json
[ { "FacilityId": "36fc449c-b34e-4bf0-8d2d-f2d82ea003e0", "Name": "sample string 2", "ACSystemId": "5076709e-caad-42a4-aa7f-b12a5be1e38d", "ACSystemName": "sample string 3", "Deleted": true, "TimeZoneInfoId": "sample string 5", "StreetAddress1": "sample string 6", "StreetAddress2": "sample string 7", "City": "sample string 8", "sRegionId": "56dcf391-fa45-46d2-b3be-37d05a387aef", "RegionName": "sample string 10", "sCountryId": "eca8a179-e49f-4da7-b308-1ec1311731c8", "CountryName": "sample string 12", "PostalCode": "sample string 13", "Website": "sample string 14" }, { "FacilityId": "36fc449c-b34e-4bf0-8d2d-f2d82ea003e0", "Name": "sample string 2", "ACSystemId": "5076709e-caad-42a4-aa7f-b12a5be1e38d", "ACSystemName": "sample string 3", "Deleted": true, "TimeZoneInfoId": "sample string 5", "StreetAddress1": "sample string 6", "StreetAddress2": "sample string 7", "City": "sample string 8", "sRegionId": "56dcf391-fa45-46d2-b3be-37d05a387aef", "RegionName": "sample string 10", "sCountryId": "eca8a179-e49f-4da7-b308-1ec1311731c8", "CountryName": "sample string 12", "PostalCode": "sample string 13", "Website": "sample string 14" } ]
application/xml, text/xml
<ArrayOfFacilityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <FacilityViewModel> <ACSystemId>5076709e-caad-42a4-aa7f-b12a5be1e38d</ACSystemId> <ACSystemName>sample string 3</ACSystemName> <City>sample string 8</City> <CountryName>sample string 12</CountryName> <Deleted>true</Deleted> <FacilityId>36fc449c-b34e-4bf0-8d2d-f2d82ea003e0</FacilityId> <Name>sample string 2</Name> <PostalCode>sample string 13</PostalCode> <RegionName>sample string 10</RegionName> <StreetAddress1>sample string 6</StreetAddress1> <StreetAddress2>sample string 7</StreetAddress2> <TimeZoneInfoId>sample string 5</TimeZoneInfoId> <Website>sample string 14</Website> <sCountryId>eca8a179-e49f-4da7-b308-1ec1311731c8</sCountryId> <sRegionId>56dcf391-fa45-46d2-b3be-37d05a387aef</sRegionId> </FacilityViewModel> <FacilityViewModel> <ACSystemId>5076709e-caad-42a4-aa7f-b12a5be1e38d</ACSystemId> <ACSystemName>sample string 3</ACSystemName> <City>sample string 8</City> <CountryName>sample string 12</CountryName> <Deleted>true</Deleted> <FacilityId>36fc449c-b34e-4bf0-8d2d-f2d82ea003e0</FacilityId> <Name>sample string 2</Name> <PostalCode>sample string 13</PostalCode> <RegionName>sample string 10</RegionName> <StreetAddress1>sample string 6</StreetAddress1> <StreetAddress2>sample string 7</StreetAddress2> <TimeZoneInfoId>sample string 5</TimeZoneInfoId> <Website>sample string 14</Website> <sCountryId>eca8a179-e49f-4da7-b308-1ec1311731c8</sCountryId> <sRegionId>56dcf391-fa45-46d2-b3be-37d05a387aef</sRegionId> </FacilityViewModel> </ArrayOfFacilityViewModel>