GetFacilityById
Overview
Request Information
Method
GET api/Facility/GetFacilityById/{FacilityId}
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FacilityId |
|
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
FacilityViewModel
Name | 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
JSON
{ "FacilityId": "93c7783d-fcdb-4d03-92e1-342c73a8defb", "Name": "sample string 2", "ACSystemId": "f6ed86bb-ec10-432b-9365-120e7cb09fee", "ACSystemName": "sample string 4", "Deleted": true, "TimeZoneInfoId": "sample string 6", "StreetAddress1": "sample string 7", "StreetAddress2": "sample string 8", "City": "sample string 9", "sRegionId": "656a2c03-6e5a-48b5-a79e-36bc78dda305", "RegionName": "sample string 11", "sCountryId": "31edd16c-fbf7-4aac-aff5-e21d3e7bf1c4", "CountryName": "sample string 13", "PostalCode": "sample string 14", "Website": "sample string 15" }
XML
<FacilityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BluSKYWebAPI.Controllers"> <ACSystemId>f6ed86bb-ec10-432b-9365-120e7cb09fee</ACSystemId> <ACSystemName>sample string 4</ACSystemName> <City>sample string 9</City> <CountryName>sample string 13</CountryName> <Deleted>true</Deleted> <FacilityId>93c7783d-fcdb-4d03-92e1-342c73a8defb</FacilityId> <Name>sample string 2</Name> <PostalCode>sample string 14</PostalCode> <RegionName>sample string 11</RegionName> <StreetAddress1>sample string 7</StreetAddress1> <StreetAddress2>sample string 8</StreetAddress2> <TimeZoneInfoId>sample string 6</TimeZoneInfoId> <Website>sample string 15</Website> <sCountryId>31edd16c-fbf7-4aac-aff5-e21d3e7bf1c4</sCountryId> <sRegionId>656a2c03-6e5a-48b5-a79e-36bc78dda305</sRegionId> </FacilityViewModel>