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
-
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. -
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.
-
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.