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": "65a6e5dc-7941-4a56-900f-b22b70f3156a", "Asset": { "AssetId": "24615dec-13c7-4d3e-b93c-4611ab5f349f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "792527d7-7299-4214-88cc-60c65ea2e718", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "22056f9e-7e1d-40c3-84b3-60d7322b7702", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "0be0b9ec-df82-496d-8479-81edb3972a3d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "MeasurementValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "SourceSystemId": "sample string 3", "CompanyId": "80974da3-97b0-425d-9048-d3bcd60ae2c4", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "MeasurementValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "46384e50-6d90-4db6-885c-7adc81a3c6fa", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-09T01:32:34.9837902-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "9ec6c48f-a3f6-4f90-afe5-2181e13562bb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "792527d7-7299-4214-88cc-60c65ea2e718", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "22056f9e-7e1d-40c3-84b3-60d7322b7702", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "6360b87e-b7d3-4f28-ac28-281068838d50", "Name": "sample string 1" }, "Unit": { "UnitId": "3aa9d5ce-cfc7-408e-abd2-3d203ae2faf9", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9bbe14ee-6f82-4387-9efc-46f836aee1c7", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "192cc575-054a-4487-9576-209e4fb3cd98", "FieldId": "31cc8401-e517-4843-91a7-a47ba1317129", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "192cc575-054a-4487-9576-209e4fb3cd98", "FieldId": "31cc8401-e517-4843-91a7-a47ba1317129", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "7dfb7149-7a0e-450f-b93b-6f268ea3a90d", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "b6f326c5-2fdb-436d-899f-e87708f1c6f6", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-09T01:32:34.9837902-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": "318d0e20-56e9-4ebd-990d-47ee4f74e256", "Asset": { "AssetId": "744ac2ae-501a-48da-9f49-16dca6ac95e5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "002e10e3-20c0-42f5-9770-75e9ad5699bd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "11697bfe-761b-49a2-b71b-6c3db623d029", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "bae19cb9-003e-43db-a1c2-ec1579505a22", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "MeasurementValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0a666459-0d3e-43c4-b5da-368cd0535df0", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "MeasurementValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "18098ef7-1030-4755-80f1-7369380f461f", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-09T01:32:34.9837902-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "aa42d34d-763d-4f9a-a48c-d4f7999d761a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "002e10e3-20c0-42f5-9770-75e9ad5699bd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "11697bfe-761b-49a2-b71b-6c3db623d029", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "d5c50882-5135-40f3-842b-b32e855a27ba", "Name": "sample string 1" }, "Unit": { "UnitId": "4a14be2c-7dcc-48b5-8b4d-2d73dd934781", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e14acdf7-fbe1-4c2a-a9e8-af654a6e7054", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cbd5932a-2065-4eee-9724-3732c29d1177", "FieldId": "c248286f-9d68-48f0-8933-19575ee3fbfe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cbd5932a-2065-4eee-9724-3732c29d1177", "FieldId": "c248286f-9d68-48f0-8933-19575ee3fbfe", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-09T01:32:34.9837902-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "22fe6c72-2a09-4a9c-af88-9040adb1fb1a", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "fcb312ed-fcbe-4324-8d9f-599cb2e428ef", "CreateDate": "2024-12-09T01:32:34.9837902-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-09T01:32:34.9837902-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }