GET api/MeasureUnits/All
Retrieves a list of all the measurement units setup in Eskimo
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
EskimoClassLibraries.clsMeasureUnitsName | Description | Type | Additional information |
---|---|---|---|
Units | Collection of EskimoClassLibraries.MeasureUnit |
None. |
Response Formats
application/json, text/json
Sample:
{ "Units": [ { "ID": 1, "Symbol": "sample string 2", "Description": "sample string 3", "IsBaseUnit": true, "BaseModifier": 1.0, "Type": 1, "LinkedBaseMeasureID": 1 }, { "ID": 1, "Symbol": "sample string 2", "Description": "sample string 3", "IsBaseUnit": true, "BaseModifier": 1.0, "Type": 1, "LinkedBaseMeasureID": 1 } ] }
application/xml, text/xml
Sample:
<clsMeasureUnits xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <Units> <MeasureUnit> <BaseModifier>1</BaseModifier> <Description>sample string 3</Description> <ID>1</ID> <IsBaseUnit>true</IsBaseUnit> <LinkedBaseMeasureID>1</LinkedBaseMeasureID> <Symbol>sample string 2</Symbol> <Type>Distance</Type> </MeasureUnit> <MeasureUnit> <BaseModifier>1</BaseModifier> <Description>sample string 3</Description> <ID>1</ID> <IsBaseUnit>true</IsBaseUnit> <LinkedBaseMeasureID>1</LinkedBaseMeasureID> <Symbol>sample string 2</Symbol> <Type>Distance</Type> </MeasureUnit> </Units> </clsMeasureUnits>