PUT MeasurementTypes
Updates the given measurement type.
Request Information
URI Parameters
None.
Body Parameters
The measurement type to update
MeasurementTypeName | Description | Type | Additional information |
---|---|---|---|
MeasurementTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
AssetType | AssetType |
None. |
|
DataType | DataType |
None. |
|
Unit | Unit |
None. |
|
MinValue | decimal number |
None. |
|
MaxValue | decimal number |
None. |
|
MinLength | integer |
None. |
|
MaxLength | integer |
None. |
|
HasValidValues | boolean |
None. |
|
ValidValues | Collection of string |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
IsAccumulator | boolean |
None. |
|
SourceSystemId | string |
None. |
|
CompanyId | globally unique identifier |
None. |
|
CreateDate | date |
None. |
|
CreateUser | string |
None. |
|
LastModifiedDate | date |
None. |
|
LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MeasurementTypeId": "a1515940-3b81-443b-928d-8db5d21d8481", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c99236a3-aa9b-48fc-9104-65b148c7fd87", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b425312a-d01c-4acb-8b6c-fc7bbee02797", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "bac04606-74f4-4d01-8ca0-2312cec25ef0", "Name": "sample string 1" }, "Unit": { "UnitId": "f4f13f2b-d6c9-41b3-b7da-37b89396fee9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "402ea61b-a9ba-4005-b99e-8176ab745ec3", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.9885825-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ec80363a-e3dd-4f83-a6a7-d86d815b72bd", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the updated measurement type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | MeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "MeasurementTypeId": "f0a59b9f-a6c9-4b3e-822e-4b36583c95b0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fbcaedd2-a993-4a44-a694-12761f3d346a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "94075dfe-14c2-4cef-95c8-7b6ba9b62eaa", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "5ee3a097-7629-465c-9678-2fa4467fe374", "Name": "sample string 1" }, "Unit": { "UnitId": "32ea8d69-427d-4d6e-a672-0289beb47909", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "582722d7-2fe7-4630-acce-3756442901a6", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-30T12:54:17.9885825-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "18333c4c-ea08-4116-b104-3c49d369d3d2", "CreateDate": "2025-08-30T12:54:17.9885825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:54:17.9885825-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }