Update a Units of Measure
put
/api/restapi/unitsOfMeasure
Send a request to this endpoint to update a unit of measure.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityUnitsOfMeasureInput
Type:
object
Title:
ApiEntityUnitsOfMeasureInput
This entity represents a UnitsOfMeasure object, a unique UnitsOfMeasure object can be identified by the following combinations of the fields.
Show Source
- unitOfMeasureId
- key,workspaceId
- key,workspaceCode
-
associationType: stringRead Only:true
Allowed Values:[ "OWNED", "INHERITED" ]
Deprecated. As of 24.5.The type of association in the relationship between the units of measure and the workspace. Possible values are Owned and Inherited. -
displayName(required): string
Minimum Length:
0
Maximum Length:255
The name of the unit of measure. -
key(required): string
Minimum Length:
0
Maximum Length:60
The abbreviation for the unit of measure name. -
link: string(url)Read Only:true
Deprecated. As of 24.5.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
pushDownType: string
Allowed Values:
[ "MANUAL", "AUTOMATIC" ]
The push down type of the unit of measure. -
unitOfMeasureId: integer
(int64)
The unique identifier for the unit of measure.
-
updateDate: string(date-time)Read Only:true
Deprecated. As of 24.5.Date when the record was last updated. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The code of a workspace. -
workspaceId(required): integer
(int64)
The unique identifier for the workspace.The workspace object can also be identified by its unique criteria.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the Units of Measure service.