GET api/measurementclasses/{measurementClassId}
Gets the measurement class by identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| measurementClassId |
The measurement class identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MeasurementClassViewModel| Name | Description | Type | Additional 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"
}
application/xml, text/xml
Sample:
<MeasurementClassViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelogWebAPI.Models"> <Id>1</Id> <Name>sample string 2</Name> </MeasurementClassViewModel>