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. |
|
DisplayText | 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": "99a8e45e-769f-4118-83c6-ccb11fcb80f3", "Asset": { "AssetId": "6697fc7f-88bb-4d6b-9bc7-f19f7fd2d583", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "28ad46d1-f28c-4a7b-8ae1-514a2701468c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "56c4f6b9-9a56-4f70-80d8-dbf7effa542b", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "025c94ee-61af-4339-ad34-8680b07008f7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4904f03a-a9b8-4b47-8e5a-0b948a9b6755", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b296ba03-6569-4d9c-a13a-29c64be87b50", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-04-03T15:25:07.5454627-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "1d7c134f-8628-4afa-8937-07cd02b47cfb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "28ad46d1-f28c-4a7b-8ae1-514a2701468c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "56c4f6b9-9a56-4f70-80d8-dbf7effa542b", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "81259fb7-a31a-436e-a3d2-6f81edc3fcfe", "Name": "sample string 1" }, "Unit": { "UnitId": "0cacec90-59ad-409f-ba49-78479aa9d023", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bcf62938-f414-44e3-9349-0ae16f136b53", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "763e8608-3351-42e8-b6f7-607260d973c6", "FieldId": "aabeff01-fc0f-43cc-af3b-03cd11a76f71", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "763e8608-3351-42e8-b6f7-607260d973c6", "FieldId": "aabeff01-fc0f-43cc-af3b-03cd11a76f71", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "97dd5c89-f79a-47cb-8248-6736470f84da", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "92d54b0b-841e-420d-b838-e5408e56f063", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 9" }
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": "fa5d06c4-fef4-4d37-8958-fe2c8cb46db5", "Asset": { "AssetId": "3380591c-3597-4ab4-be38-999413db2801", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "378079db-250f-45f6-80cb-babefee7210c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c35bad81-104f-431a-961c-3b6e94dae019", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "5c91afee-536c-4642-ad84-e6cf7b3e76a1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "SourceSystemId": "sample string 3", "CompanyId": "122d38fc-3c6b-440e-b85d-f91e7660548a", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "MeasurementValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "15b7e806-5088-410f-b12e-bacc054f3252", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-04-03T15:25:07.5454627-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "ffb54e4a-2a7a-4e6a-92de-9f9bfbe75019", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "378079db-250f-45f6-80cb-babefee7210c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c35bad81-104f-431a-961c-3b6e94dae019", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4a887f85-c12f-44ec-a5bd-e3ac0fe5690b", "Name": "sample string 1" }, "Unit": { "UnitId": "7f89e908-8fa5-448f-b811-b0fcf6dd5653", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c4e0956e-426f-424e-a313-ac4ff1ef218d", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2959ecf8-294c-459a-957c-c820505f1a87", "FieldId": "5ca62f15-c914-47aa-a87c-7a659027f91b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2959ecf8-294c-459a-957c-c820505f1a87", "FieldId": "5ca62f15-c914-47aa-a87c-7a659027f91b", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-03T15:25:07.5454627-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d1495f38-1a8d-411d-b52b-19ebedb214ad", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "0666d75f-95ac-41af-8e7d-fbfea49992ee", "CreateDate": "2025-04-03T15:25:07.5454627-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-04-03T15:25:07.5454627-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }