GET api/measurementclasses

Gets the measurement classes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Name

string

Invalid Chars: .!@#$%^&*\|`~=+/?<>()[],"'

Leading or trailing white spaces are not allowed

Max length: 50

Body Parameters

None.

Response Information

Resource Description

Collection of MeasurementClassViewModel
NameDescriptionTypeAdditional information
Id

integer

Required

Name

string

Required

Invalid Chars: .!@#$%^&*\|`~=+/?<>()[],"'

Leading or trailing white spaces are not allowed

Max length: 50

Links

Gets the links.

Collection of LinkModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2"
  },
  {
    "id": 1,
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMeasurementClassViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models">
  <MeasurementClassViewModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </MeasurementClassViewModel>
  <MeasurementClassViewModel>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </MeasurementClassViewModel>
</ArrayOfMeasurementClassViewModel>