GET api/v1/measure-units/{id}

Gets one measurement item by ID

Request Information

URI Parameters

Name Description Type Additional information
id ID of the measurement you want to GET integer Required

Response Information

Resource Description

No information available

Name Description Type Additional information
UnitID ID of the measurement unit integer No additional information available.
Name Full name o the unit measurement string Required Max length: 20
Abbreviation Abbreviation of the unit measurement string Required Max length: 5
IsActive Set to true if you want the current unit to be active or disabled boolean No additional information available.

Response Formats

application/json, text/json

Sample:
                    
{
  "unitID": 1,
  "name": "sample string 2",
  "abbreviation": "sample string 3",
  "isActive": true
}