GET facilities/{id}

Return a specific facility data object by id

Request Information

Parameters

NameDescriptionAdditional information
id
facility id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "name": "sample string 2",
  "address": "sample string 3",
  "hours": "sample string 4",
  "lat": "sample string 5",
  "lon": "sample string 6",
  "network": {
    "id": "sample string 1",
    "name": "sample string 2"
  },
  "description": "sample string 7"
}

application/xml, text/xml

Sample:
<FacilityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <address>sample string 3</address>
  <description>sample string 7</description>
  <hours>sample string 4</hours>
  <id>sample string 1</id>
  <lat>sample string 5</lat>
  <lon>sample string 6</lon>
  <name>sample string 2</name>
  <network>
    <id>sample string 1</id>
    <name>sample string 2</name>
  </network>
</FacilityDto>