GET api/MetricUnits
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MetricUnit| Name | Description | Type | Additional information |
|---|---|---|---|
| MetricTypeID | integer |
None. |
|
| MetricType | MetricType |
None. |
|
| Conversion | decimal number |
None. |
|
| SecondFactor | decimal number |
None. |
|
| Id | integer |
None. |
|
| Description | string |
Required |
|
| IsDeleted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MetricTypeID": 1,
"MetricType": {
"Id": 1,
"Description": "sample string 2",
"IsDeleted": true
},
"Conversion": 1.1,
"SecondFactor": 1.1,
"Id": 1,
"Description": "sample string 2",
"IsDeleted": true
},
{
"MetricTypeID": 1,
"MetricType": {
"Id": 1,
"Description": "sample string 2",
"IsDeleted": true
},
"Conversion": 1.1,
"SecondFactor": 1.1,
"Id": 1,
"Description": "sample string 2",
"IsDeleted": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMetricUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vekta.Data">
<MetricUnit>
<Description>sample string 2</Description>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Conversion>1.1</Conversion>
<MetricType>
<Description>sample string 2</Description>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
</MetricType>
<MetricTypeID>1</MetricTypeID>
<SecondFactor>1.1</SecondFactor>
</MetricUnit>
<MetricUnit>
<Description>sample string 2</Description>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Conversion>1.1</Conversion>
<MetricType>
<Description>sample string 2</Description>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
</MetricType>
<MetricTypeID>1</MetricTypeID>
<SecondFactor>1.1</SecondFactor>
</MetricUnit>
</ArrayOfMetricUnit>