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": "59a6e998-3a4c-4c4c-9538-8c396975613a", "Asset": { "AssetId": "71c0761d-a344-4bd2-87d7-647d7f4e98b6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6761adbc-1b69-409c-abb0-816641e6eeea", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e66be412-af84-430b-8a7c-0375dc5b6251", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3f084622-82b2-4e7d-aced-e9c90a1f6128", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "MeasurementValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "SourceSystemId": "sample string 3", "CompanyId": "69391efa-08dd-473e-acbc-6eddd8c3efd3", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "MeasurementValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f083aedf-b46e-48b5-8f53-4317fbcf3591", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-10-10T15:22:07.9513267-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "71ffeced-463f-44f4-adca-b8a9df5f8dd3", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6761adbc-1b69-409c-abb0-816641e6eeea", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e66be412-af84-430b-8a7c-0375dc5b6251", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "388d1aac-ca2e-4cbc-8fea-a0b28c813d5b", "Name": "sample string 1" }, "Unit": { "UnitId": "46317558-066b-4fd6-822a-0c01df478b9f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2c1164f3-dc6b-4f55-a9f4-da40d86019bc", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:22:07.9513267-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": "2024-10-10T15:22:07.9513267-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "da9bb718-e501-4aba-8ea5-8fe5268fd022", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "3fb32ecf-8e96-434e-9b99-3ec73e421736", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-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": "cf852dbc-d068-4e62-8eec-872845d7e354", "Asset": { "AssetId": "b43bb1e3-6b7b-4e39-ad5b-843493be8481", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "b681033c-2a69-481c-80c6-dfaa2c36bc52", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ae257e91-aa67-4f15-badd-b525213eeeae", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "55fba90d-6753-4e58-930c-81637afb136f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "MeasurementValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "SourceSystemId": "sample string 3", "CompanyId": "8d115f35-873a-41ce-b698-9784b35fe4c5", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "MeasurementValueNeededDate": "2024-10-10T15:22:07.9513267-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d89cd873-33a6-4aa6-a6ee-9f38a730dfe8", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-10-10T15:22:07.9513267-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "71f3ec01-c5de-4f6e-b623-fc5f54f3d15a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b681033c-2a69-481c-80c6-dfaa2c36bc52", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ae257e91-aa67-4f15-badd-b525213eeeae", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "eca8e740-ab57-4c80-8872-0d498be60ec7", "Name": "sample string 1" }, "Unit": { "UnitId": "12a2d0ab-e406-4486-b798-3263ea6d0483", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9f4c9085-5a98-4285-8a61-5f5da6a27cd5", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:22:07.9513267-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": "2024-10-10T15:22:07.9513267-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "7809dca6-c0d7-4035-82d5-8abd29e9dd44", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8b1d8f9-8daa-42d8-8efe-ec640ebcff19", "CreateDate": "2024-10-10T15:22:07.9513267-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-10-10T15:22:07.9513267-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }