Unit Update
- Last UpdatedJun 15, 2023
- 1 minute read
- PI System
- PI Web API Reference
- Developer
Unit Update
Update a unit.
Request
PATCH units/{webId}
URL Parameters
-
webId The ID of the unit. See WebID for more information.
Body Parameter
A partial unit containing the desired changes.
Status Codes
204: The unit was updated.
Sample Request Body
{
"Name": "Hertz",
"Abbreviation": "Hz",
"Description": "Hertz Unit",
"ReferenceFactor": 1.0,
"ReferenceOffset": 0.0,
"ReferenceUnitAbbreviation": ""
}