GET networks/{id}/facilities

Get facilities in the network specified by id

Request Information

Parameters

NameDescriptionAdditional information
id
network 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"
  },
  {
    "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"
  },
  {
    "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:
<ArrayOfFacilityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO">
  <FacilityDto>
    <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>
  <FacilityDto>
    <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>
  <FacilityDto>
    <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>
</ArrayOfFacilityDto>

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].name"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].address"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].hours"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].lat"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].lon"

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

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[0].description"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].id"

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].address"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].hours"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].lat"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].lon"

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

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

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[1].description"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].id"

sample string 1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].name"

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

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].hours"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].lat"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="[2].lon"

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

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

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

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e--