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": "be12a1c0-4a67-4978-8235-d924f01828e6", "Asset": { "AssetId": "65cca1b0-0869-4973-97cf-39f7966ac1a9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0fb2c627-3022-4ff4-92d9-a26f1ddfcb49", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "796c92b6-5fc1-4bb3-8704-2b8df531e71f", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d2827ac3-d5ca-4cd9-b711-c60eba3f68c4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "MeasurementValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "SourceSystemId": "sample string 3", "CompanyId": "6821f898-9466-441b-af2a-a1b14f6407de", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "MeasurementValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "a11cf8bc-6626-47a0-bb9c-6443576e10eb", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-22T02:56:17.267637-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "8f1c3fff-04bd-46ec-b28a-b89577fa4a09", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0fb2c627-3022-4ff4-92d9-a26f1ddfcb49", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "796c92b6-5fc1-4bb3-8704-2b8df531e71f", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "c22c36a6-7640-49ff-81a4-00d0a9bb4dbc", "Name": "sample string 1" }, "Unit": { "UnitId": "45fa8de7-da03-4080-b64e-f05aa5c0216a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fc497e19-5731-401f-af8b-f7139b331e9a", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ab81a784-afaa-498d-9d5a-65f6607179e9", "FieldId": "075fa222-84d9-4fa7-9da1-5d157910566f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ab81a784-afaa-498d-9d5a-65f6607179e9", "FieldId": "075fa222-84d9-4fa7-9da1-5d157910566f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "b7472ae3-ebd5-411e-b6eb-60756e80c1cc", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "80ef3443-6951-4bd2-8550-9484d87a76b5", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-22T02:56:17.267637-08: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": "aa48b357-1d2d-4891-95b2-25908c0f4af2", "Asset": { "AssetId": "b88ef6d8-63b4-46ec-b8f3-39ef82344b23", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0a0b637d-3a61-4790-8eae-c08ae0ce1600", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "52d4b424-f950-4ff1-87d4-b521245c1b94", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3e661c9d-4172-437e-b87c-95467119f991", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "MeasurementValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "SourceSystemId": "sample string 3", "CompanyId": "be7166ed-2e9f-44e9-9beb-2c71256d2015", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "MeasurementValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bcfca63b-b28a-49cf-b2d2-90004ed56bd2", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-22T02:56:17.267637-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "ec495e93-ac45-486b-8bd1-edf1bd20aa5e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0a0b637d-3a61-4790-8eae-c08ae0ce1600", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "52d4b424-f950-4ff1-87d4-b521245c1b94", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "c925833b-4364-41c0-a356-d638ccdf846e", "Name": "sample string 1" }, "Unit": { "UnitId": "d3e4ce2f-ae75-4c23-95d3-5e7b17cc1bf3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0b0b7b89-7b49-4691-ac5d-9a38662f2051", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1a94e882-4b27-49ee-9598-9f206f4b8d8f", "FieldId": "7a8e66cd-37a2-4757-80ec-64af4e477e5a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1a94e882-4b27-49ee-9598-9f206f4b8d8f", "FieldId": "7a8e66cd-37a2-4757-80ec-64af4e477e5a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:56:17.267637-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a74e70df-bf57-4db0-9340-06650788e745", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "58d0ef3d-8d26-4193-8462-205ee1d026e4", "CreateDate": "2024-12-22T02:56:17.267637-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-22T02:56:17.267637-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }