View a Unit of Measure by Code
get
/primeapi/restapi/unitsOfMeasure/code/{code}
This endpoint returns units of measure that meet the following requirements:
- The object has a code that matches the value of the {code} path parameter.
Request
Path Parameters
-
code: string
The user-specified identifier of a project.
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityUnitsOfMeasure
Type:
Show Source
object
-
displayName(optional):
string
The name of the unit of measure.
-
key(optional):
string
The abbreviation for the unit of measure name.
-
link(optional):
string(url)
Read Only:
true
-
pushDownType(optional):
string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
The push down type of the unit of measure. -
unitOfMeasureId(optional):
integer(int64)
The unique identifier for the unit of measure.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response. -
workspaceId(optional):
integer(int64)
The system-generated identifier of a workspace.
204 Response
Successful operation with no content.
404 Response
The requested units of measure does not exist, or you do not have access to it.