Unit of Measures
The Unit of Measures resource allows units of measure to be listed.
The full range of URIs and HTTP Verbs supported are:
Operation
HTTP Action
List a page of Unit of Measures
GET /UnitOfMeasures
GET Unit of Measures
Available Filters for GET Unit of Measures
Filter
Description
includeObsolete
If set to true, returns all Units of Measure, including obsolete. If set to false or if it is not specified then returns only active (i.e. non-obsolete) Units of Measure.
Filters are used by adding the filter and value to the URI:
/UnitOfMeasures?includeObsolete=true
Available Fields for GET Unit of Measures
Property
Type
Length
Notes
Guid
Guid
Unique identifier
Name
String
20
Obsolete
Boolean
Examples for Response GET /UnitOfMeasures
show xml example
<?xml version="1.0"?>
<UnitOfMeasures xmlns:xsd= "http://www.w3.org/2001/XMLSchema" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "http://api.unleashedsoftware.com/version/1" >
<UnitOfMeasure>
<Guid> 2b9e913b-f815-440f-83ac-3639e3f04d64</Guid>
<Name> EA</Name>
<Obsolete> false</Obsolete>
</UnitOfMeasure>
<UnitOfMeasure>
<Guid> 96d418c9-b0c1-448f-bff8-db45cfc5b873</Guid>
<Name> KG</Name>
<Obsolete> false</Obsolete>
</UnitOfMeasure>
<UnitOfMeasure>
<Guid> 91b52cc8-e858-4781-9413-62759ebdf0b0</Guid>
<Name> ML</Name>
<Obsolete> true</Obsolete>
</UnitOfMeasure>
</UnitOfMeasures>
show json example
{
"Items" : [
{
"Guid" : "2b9e913b-f815-440f-83ac-3639e3f04d64" ,
"Name" : "EA" ,
"Obsolete" : false
},
{
"Guid" : "96d418c9-b0c1-448f-bff8-db45cfc5b873" ,
"Name" : "KG" ,
"Obsolete" : false
},
{
"Guid" : "91b52cc8-e858-4781-9413-62759ebdf0b0" ,
"Name" : "ML" ,
"Obsolete" : true
}
]
}
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note: An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register .