PUT Measurements
Updates the given measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to update
MeasurementName | Description | Type | Additional information |
---|---|---|---|
MeasurementId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
ValueText | string |
None. |
|
EffectiveDate | date |
None. |
|
Location | string |
None. |
|
MeasurementType | MeasurementType |
None. |
|
IsValid | boolean |
None. |
|
IsValidMessage | string |
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:
{ "MeasurementId": "fee282bb-902f-4ec8-8fdf-63796ab23517", "Asset": { "AssetId": "5e9d134b-63e7-4f1d-b1c1-c7cfc1982fa8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "eb56478d-c175-4a41-bee9-a4bc1a736e71", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "67dcf883-e547-4cd4-b15b-91757ee13938", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8aea28d4-86ba-49e6-95dc-b066456c6139", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b2d99bbb-3737-4a41-a694-0e8594394c7a", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3dff4a8c-0555-4cc3-a2fa-d93cd1328b6a", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-08-30T12:56:03.4357164-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "bc1755bd-68da-4633-b6cc-028a7b869031", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "eb56478d-c175-4a41-bee9-a4bc1a736e71", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "67dcf883-e547-4cd4-b15b-91757ee13938", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "99ed44d8-5b33-4640-9200-b2001654da1f", "Name": "sample string 1" }, "Unit": { "UnitId": "58e25eb0-468e-4994-8271-e5f7c8bdb846", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bbc9db2e-5d0e-482f-a55f-2c7ec2f88586", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.4357164-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:56:03.4357164-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "4638ac06-8501-4321-9a05-ba89facbf3c5", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8114e53a-f688-4155-8d84-6677608b50fd", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the updated measurement.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Measurement |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "MeasurementId": "8c2b88c2-388b-4007-83b0-5d00dfea3a01", "Asset": { "AssetId": "1ba9dbeb-667d-4f67-84f0-8ca24998951e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "89b7413e-5fa7-4f41-8897-408d1afec6cb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b7d39977-c54a-40bc-825e-2e2be70d6499", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3d143275-4f35-4fba-b5e8-49398158541d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "SourceSystemId": "sample string 3", "CompanyId": "424fb6de-ca72-478c-b1b5-3a4bc95d9759", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "MeasurementValueNeededDate": "2025-08-30T12:56:03.4357164-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bb90574c-3599-4d8e-8805-116b98ec8498", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2025-08-30T12:56:03.4357164-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "c32b4e63-ee20-44ba-9fb9-92669c270a12", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "89b7413e-5fa7-4f41-8897-408d1afec6cb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b7d39977-c54a-40bc-825e-2e2be70d6499", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "6fe85b49-488e-4545-a68b-1ac223387d01", "Name": "sample string 1" }, "Unit": { "UnitId": "3da340e5-7b13-4a6f-90d0-d37016e6dac5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f534b1d1-fc7f-4912-9c55-53aed16cdb6c", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:56:03.4357164-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:56:03.4357164-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d1808ff6-0f36-4b92-aee8-68ae2e6c5079", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1a8be83c-abdc-4abc-a526-bca0ef93fe07", "CreateDate": "2025-08-30T12:56:03.4357164-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-30T12:56:03.4357164-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }