GET api/Groups/{groupId}/MeasuringStations

Get all MeasuringStations for a group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

integer

Required

Body Parameters

None.

Response Information

Resource Description

A List of MeasuringStation

Collection of MeasuringStation
NameDescriptionTypeAdditional information
Name

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Latitude": 2.0,
    "Longitude": 3.0,
    "Id": 4
  },
  {
    "Name": "sample string 1",
    "Latitude": 2.0,
    "Longitude": 3.0,
    "Id": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfMeasuringStation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DomainLayer.Models">
  <MeasuringStation>
    <Id>4</Id>
    <Latitude>2</Latitude>
    <Longitude>3</Longitude>
    <Name>sample string 1</Name>
  </MeasuringStation>
  <MeasuringStation>
    <Id>4</Id>
    <Latitude>2</Latitude>
    <Longitude>3</Longitude>
    <Name>sample string 1</Name>
  </MeasuringStation>
</ArrayOfMeasuringStation>