Batch Update Units of Measures
put
/primeapi/restapi/unitsOfMeasure/batch
Send a request to this endpoint to update one or more units of measure.
Request
Supported Media Types
- application/json
One or more unit of measure objects.
Root Schema : List<ApiEntityUnitsOfMeasure>
Type:
array
Title:
Show Source
List<ApiEntityUnitsOfMeasure>
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.
Response
Supported Media Types
- application/json
200 Response
A collection of object IDs mapped to a canonical link of the object. For example - {"links":{"1":"https://:/primeapi/restapi/
400 Response
Invalid input for the Units of Measure service.