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 ValidValue |
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": "81dd6f0d-09a3-43f7-859e-41223a8d108e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "387cd0d6-3f6a-4955-8be0-55d76527e345", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "baec9c09-7b41-4c83-8e95-3fd3477d3313", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-17T04:37:22.985043-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "86198fe7-1c1d-4587-9762-35f28843d377", "Name": "sample string 1" }, "Unit": { "UnitId": "18bf7fbe-c95e-4296-8092-cfbd760ef789", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9e5ad35e-fd65-4cc8-84b2-437eed4dc540", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-17T04:37:22.985043-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a67a2e31-036b-45f7-80b7-22d3b2a5ddc4", "FieldId": "bef30b92-dff4-459d-a129-ccb60f0d7cdf", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a67a2e31-036b-45f7-80b7-22d3b2a5ddc4", "FieldId": "bef30b92-dff4-459d-a129-ccb60f0d7cdf", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-10-17T04:37:22.985043-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "40fe02e3-777a-44ee-ab8d-2a1b0c42ad4d", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-17T04:37:22.985043-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": "f8df2d38-ad7c-43cc-b554-cf5cf5b947a6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "71d3417d-8bcd-4c87-a5fc-939cd15144d1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cadb6e4e-26d1-4f76-8221-c70e870f9096", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-17T04:37:22.985043-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "10f84e44-a1ed-4ea0-989c-6496af2aec01", "Name": "sample string 1" }, "Unit": { "UnitId": "a7e1f1f6-eef7-4b40-b390-4cd93cea20ee", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "189ecdeb-7053-42ef-99b0-72ca0cb41923", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-17T04:37:22.985043-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3342629c-2199-4cc7-a139-c35ce9d21654", "FieldId": "5040cf3d-1cb4-48f5-a15a-ebf3e6a66adb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3342629c-2199-4cc7-a139-c35ce9d21654", "FieldId": "5040cf3d-1cb4-48f5-a15a-ebf3e6a66adb", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-10-17T04:37:22.985043-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0c66e8b2-4381-4689-baac-9cd8033847a0", "CreateDate": "2025-10-17T04:37:22.985043-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-17T04:37:22.985043-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }