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>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="address"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="hours"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="lat"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="lon"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="network.id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="network.name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="description"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e--