UnitClass Update
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
UnitClass Update
Update a unit class.
Request
PATCH unitclasses/{webId}
URL Parameters
-
webId The ID of the unit class. See WebID for more information.
Body Parameter
A partial unit class containing the desired changes.
Status Codes
204: The unit class was updated.
Sample Request Body
{
"Name": "Power",
"Description": "Power Unit Class",
"CanonicalUnitName": "watt",
"CanonicalUnitAbbreviation": "W"
}