The UnitsOfMeasure resource allows units of measure items to be listed. Here are some example URIs:
· /UnitsOfMeasure - returns all units of measure items;
· /UnitsOfMeasure?name=ABC - returns units of measure items with name starting with ABC;
The full range of URIs and HTTP Verbs supported are:
Operation
|
HTTP Action
|
Units of measure list
|
GET /UnitsOfMeasure |
These filters can be used with the GET UnitsOfMeasure endpoint:
Filter
|
Description
|
name
|
Only return Units of measure items which name starts with the specific name
|
Filters are used by adding the filter and value to the URI: /UnitsOfMeasure? name=ABC
Available Fields for Unit of measure:
Property
|
Type
|
Length
|
Required
|
Notes
|
Id
|
Guid
|
|
|
Required for PUT, Ignored for POST operations
|
Name
|
String
|
50
|
Yes
|
Unit of measure name
|