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": "a32e6972-e97f-4067-a695-f82f574da507", "Asset": { "AssetId": "58ab206c-8efb-4ad0-85d1-62dbb1fed0b5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b6a7561b-1a8e-4289-b969-04be796d06a5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a088a774-00d0-41db-b38b-b647e1ad664f", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "8cc1d77e-47d5-4fda-9e3a-9cca37fce71c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "MeasurementValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "SourceSystemId": "sample string 3", "CompanyId": "427f3847-dcc6-43b6-892b-6fc76469c81f", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "MeasurementValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8bd49772-4dd1-4040-8447-6b9493b0bb31", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-12-21T18:52:26.7090125-08:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "ec4aeb88-0901-4bd2-8ad2-a92c15d8094e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b6a7561b-1a8e-4289-b969-04be796d06a5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a088a774-00d0-41db-b38b-b647e1ad664f", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "1cebf76a-a450-431d-a4b4-5cdac730f91f", "Name": "sample string 1" }, "Unit": { "UnitId": "5998cbbd-3e03-4a25-8978-be60620ffdc7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "80296135-4cd8-4d3c-8e29-d613543acdcf", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08: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": "2024-12-21T18:52:26.7090125-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ae9fd8eb-be36-4c32-802a-e519ef84e9f9", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "cc456e56-d041-495e-9676-bf36b5e9b340", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08: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": "f8948a4b-935e-4f18-a277-aaf3a3170e09", "Asset": { "AssetId": "27381098-2c59-4ec2-944f-0e4707b50836", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7f905941-5493-415d-a50d-932cfeca7662", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a662e258-4555-48dc-ae5d-22d943c4b8d2", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d59f028b-9180-448f-8014-943f077c1fee", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "MeasurementValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fbfcae63-a6e9-4437-a47d-7775a9e0a914", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "MeasurementValueNeededDate": "2024-12-21T18:52:26.7090125-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3c17409c-8d37-424d-b938-3ecec39db5b3", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-12-21T18:52:26.7090125-08:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "58cfde3c-9a0f-44de-85e4-1761c427f645", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7f905941-5493-415d-a50d-932cfeca7662", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a662e258-4555-48dc-ae5d-22d943c4b8d2", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "fb7187c2-1f57-4902-bb6c-3e29f4f3e30f", "Name": "sample string 1" }, "Unit": { "UnitId": "2ae2e290-6db8-4273-a67b-a87e6ca65cc6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "55256c8d-ca65-489e-b503-4424c7a0a713", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08: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": "2024-12-21T18:52:26.7090125-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c3e01a5d-cbda-433a-b76e-5ab309e88a47", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "317f7e4b-2e4a-43a7-aa63-431387cdba17", "CreateDate": "2024-12-21T18:52:26.7090125-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T18:52:26.7090125-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }