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": "ece5e2f2-3b63-4d94-b882-9af108fbda4b", "Asset": { "AssetId": "826a2242-fa4b-427b-909d-b43921e12577", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ee07fe26-9b5a-4928-a7de-3e8359a8b90d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "baf21ff2-2350-445e-92a0-ac0f4c6d10ec", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "65d7c6d0-20ed-4114-a41d-08f8940b2179", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "MeasurementValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ae0e752b-1bcc-42c3-b7f9-b8d63698096b", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "65522dcd-9073-4076-ac18-746ea7ad8ebd", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "StateType": { "StateTypeId": "d09d6576-bd1f-4009-885b-32a678522f78", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ee07fe26-9b5a-4928-a7de-3e8359a8b90d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "baf21ff2-2350-445e-92a0-ac0f4c6d10ec", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "7e9d1629-5f94-4e86-bb83-02b0816a9cb1", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "b87f8b30-791a-4c38-a38b-fe1c13f78981", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7d640c74-074c-4e24-bb14-c08232ddedd9", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "StatusType": { "StatusTypeId": "898981f3-1401-4808-b551-61ad5a965da2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ee07fe26-9b5a-4928-a7de-3e8359a8b90d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "baf21ff2-2350-445e-92a0-ac0f4c6d10ec", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "11841865-8073-44b5-9396-a64ddadbd641", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5fa445fd-8ce7-448a-84c8-5a7dc0773840", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "e97f02c6-d4bb-4361-bb66-6e839bfa65eb", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "WellPurposeType": { "WellPurposeTypeId": "e1b62d02-1188-4225-8d00-958f1ae450fc", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8e3458d1-3ff7-4f07-a364-87a1f745cc45", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3a4845d5-0899-4bb9-8d2e-d98726b9fbcf", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "MeasurementValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eb17e3a0-c3fc-4e43-a6ea-b6096cbd9172", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "c79e33f2-a0fa-46d3-8f9c-e0399fc640e9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ee07fe26-9b5a-4928-a7de-3e8359a8b90d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "baf21ff2-2350-445e-92a0-ac0f4c6d10ec", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "4df1a80f-1844-4631-aeb3-8d03d45c1d74", "Name": "sample string 1" }, "Unit": { "UnitId": "63e33a99-a5a2-4b7f-81cb-1942e3eca0b8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0dca52da-cee6-486d-8e42-1f3b8fa390c9", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "607809cd-abcf-452d-8136-2c1fd4975c49", "FieldId": "cb91d8bd-f43d-4bbd-9d8c-17d1aac39c24", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "607809cd-abcf-452d-8136-2c1fd4975c49", "FieldId": "cb91d8bd-f43d-4bbd-9d8c-17d1aac39c24", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "4942e1b3-6acd-4a06-98e8-2dab3579d90f", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "89b114a3-6a49-4c6f-95b3-c3ab87c74529", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-03-09T08:47:40.5518153-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": "063cefe4-e2e7-4300-a324-dd79c245457b", "Asset": { "AssetId": "3ca1e4bf-41ac-4f2b-92c3-e23f7ad48f60", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "ea1c287f-88e2-491e-be24-ddb67980aaf3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e0851d2e-bd38-4853-b799-140131302d47", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3f6abd07-f358-4789-9999-9d4eef4c7b8e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "MeasurementValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b2893a3f-8e55-45b4-b44d-ed448cf15d4d", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4a9e2e74-4bc0-48c8-8736-b8222e5c562b", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "StateType": { "StateTypeId": "9421b72d-cc24-42a3-a946-9d212a995d58", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "ea1c287f-88e2-491e-be24-ddb67980aaf3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e0851d2e-bd38-4853-b799-140131302d47", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "89056b3f-d69a-4624-bfc9-2f0629106d9f", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a750cd5a-869d-4bd6-99e1-006bb3fc2ec6", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ca60fecf-d4b4-4fba-8039-740f490871ed", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "StatusType": { "StatusTypeId": "ac406aa8-ec61-4148-b2cc-7bbd92cc3738", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "ea1c287f-88e2-491e-be24-ddb67980aaf3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e0851d2e-bd38-4853-b799-140131302d47", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "592a2360-c7a5-42b7-8dc4-32a66df91f03", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1b1020a8-2e40-4b2b-bf6a-ca23b367380e", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0dd402ba-37be-4e2b-9508-f92bcc2ad269", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "WellPurposeType": { "WellPurposeTypeId": "943aa72e-08ee-43c9-8f41-56e2d59d0b9b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "76cba2cf-97ca-4427-bcd8-b2df6635ab06", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "04fbf71b-694b-4a04-8d43-bceb7ac82faa", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "MeasurementValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "33c0c037-7ef0-499e-bd12-656490b9ffa6", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-03-09T08:47:40.5518153-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "367df051-4da9-4840-88e4-bed63a8660bb", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ea1c287f-88e2-491e-be24-ddb67980aaf3", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e0851d2e-bd38-4853-b799-140131302d47", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "6e225b16-6473-4bab-a0c1-a18742397345", "Name": "sample string 1" }, "Unit": { "UnitId": "53bdadbd-0abc-45a1-89b0-adf27002ac30", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c018978-4702-4eb3-8e3e-27a6e06de9c6", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ac110450-8951-4239-8d21-0a4e7c951e73", "FieldId": "3b0dda4b-87fd-475d-a637-6e4469005a59", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ac110450-8951-4239-8d21-0a4e7c951e73", "FieldId": "3b0dda4b-87fd-475d-a637-6e4469005a59", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T08:47:40.5518153-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ae3f02fa-9986-4d81-9371-8bc10e81e4b9", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "2614bec3-cb79-4938-86fb-7d3bdfa01285", "CreateDate": "2025-03-09T08:47:40.5518153-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-03-09T08:47:40.5518153-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }