Retrieves the unit of measure with the specified key.
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unit of measure id. |
globally unique identifier |
Required |
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult containing the unit of measure, or 404 Not Found if it doesn't exist.
db_unit_of_measure| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Primary Key |
globally unique identifier | |
| name |
Display name of this unit of measure. |
string | |
| code |
Short code identifying this unit of measure. |
string | |
| is_enabled |
Indicates whether this unit of measure is currently active/selectable. |
boolean | |
| measure_type |
Kind of quantity this unit measures (e.g. length, mass, volume). |
string | |
| system_type |
Measurement system this unit belongs to (e.g. metric, imperial). |
string | |
| modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
| measure_is_decimal |
Indicates whether quantities expressed in this unit can have decimal values (as opposed to whole numbers only). |
boolean |
Response Formats
application/json, text/json
Sample:
{
"id": "fdda5e0e-209f-4109-b52f-ec73494c8052",
"name": "sample string 2",
"code": "sample string 3",
"is_enabled": true,
"measure_type": "sample string 5",
"system_type": "sample string 6",
"modified_dateutc": "2026-09-16T11:04:05.0644746+00:00",
"measure_is_decimal": true
}
application/xml, text/xml
Sample:
<db_unit_of_measure xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <code>sample string 3</code> <id>fdda5e0e-209f-4109-b52f-ec73494c8052</id> <is_enabled>true</is_enabled> <measure_is_decimal>true</measure_is_decimal> <measure_type>sample string 5</measure_type> <modified_dateutc>2026-09-16T11:04:05.064Z</modified_dateutc> <name>sample string 2</name> <system_type>sample string 6</system_type> </db_unit_of_measure>