GET api/Facility/Sites?FacilityID={FacilityID}

Method to get List of Sites in Facility

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FacilityID

integer

Required

Body Parameters

None.

Response Information

Resource Description

On Success: HttpStatusCode = 200 On Authorization Error: HttpStatusCode = 401 On Forbidden: HttpStatusCode = 403

Collection of Site
NameDescriptionTypeAdditional information
SiteID

integer

None.

SiteCode

string

None.

SiteName

string

None.

IsDefault

boolean

None.

UserSites

Collection of Site

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SiteID": 1,
    "SiteCode": "sample string 2",
    "SiteName": "sample string 3",
    "IsDefault": true,
    "UserSites": []
  },
  {
    "SiteID": 1,
    "SiteCode": "sample string 2",
    "SiteName": "sample string 3",
    "IsDefault": true,
    "UserSites": []
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.