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": "160b58ec-8c4c-47d4-a573-b1ee6e3f761f", "Asset": { "AssetId": "0fd54105-0058-4376-9443-8f8ec8e186cc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "a1dd102a-36b8-4ffb-b007-88164f67b360", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a41d728c-ef80-488d-bad2-839aeb1aa6dd", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ee0a78fe-fa6c-4b7d-acd9-79112e73183b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "MeasurementValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "SourceSystemId": "sample string 3", "CompanyId": "28ecdbd6-065d-479f-af2e-775bab875fe9", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "834fc610-c64f-4bfd-bf26-08cefb50f6ad", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "StateType": { "StateTypeId": "32c38956-29f5-42a3-b7d2-08680932be6f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "a1dd102a-36b8-4ffb-b007-88164f67b360", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a41d728c-ef80-488d-bad2-839aeb1aa6dd", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "87361cdb-cda1-4a27-aad7-d60b2b252eae", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d6d76207-3340-45fa-9ac4-ff658ac0a4c9", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "9e01dd8d-d3bb-4643-a984-b33e8ac21685", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "StatusType": { "StatusTypeId": "f4582681-d0ab-48bc-9a26-27313e1d8425", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "a1dd102a-36b8-4ffb-b007-88164f67b360", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a41d728c-ef80-488d-bad2-839aeb1aa6dd", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6b5cf03e-93a4-44f6-b33e-ce15c06f327d", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "02df12bf-f9bb-44ac-bb2b-59f07b6a07d0", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f957d28e-7a6a-47cc-b635-8eea0c5902d5", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "WellPurposeType": { "WellPurposeTypeId": "9d53e5b1-3e19-4c73-95a8-b6265313d68a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3fb0f3d6-6c7b-417e-b4a6-9a9ec4b3579d", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "192c075f-60df-4fd0-a117-0304153b656f", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "MeasurementValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "bf6e0808-c4f2-463a-a2ab-c68c3224aa17", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "02781ec0-b694-4c55-9c08-61c62a45b720", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a1dd102a-36b8-4ffb-b007-88164f67b360", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a41d728c-ef80-488d-bad2-839aeb1aa6dd", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "41796459-c566-495e-bbee-27a220b09fe1", "Name": "sample string 1" }, "Unit": { "UnitId": "087d1b3a-345f-45ff-852e-204e3b7a5bf6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b8968161-7bbd-4488-b097-55b605be1ceb", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9996169b-cb5a-41e4-a4a5-91c07fe9416e", "FieldId": "600a0a50-1479-42f9-9169-6d218f5b497f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9996169b-cb5a-41e4-a4a5-91c07fe9416e", "FieldId": "600a0a50-1479-42f9-9169-6d218f5b497f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "76bab8c0-9f3f-4d95-97c6-dc6740175c01", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "60068b81-dbe8-4a94-914f-f7efd42410ab", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-22T21:19:33.214714-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": "20eeb177-37f0-4ed0-9e9e-542c1be85e43", "Asset": { "AssetId": "c5c2c897-654c-47d0-a887-ce2c659901fa", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9a777a58-f315-4bb3-8198-a874a8ccb17d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aafe1c2b-6ce0-4c4d-adb6-6ebbfe407a42", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "83cba4a9-f776-4355-bdd3-13f49a9fc1a6", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "MeasurementValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "SourceSystemId": "sample string 3", "CompanyId": "55a28bc0-0b09-40af-849d-eb272c1db701", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5afac1fb-843e-48c8-8c5e-1f77ad08027f", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "StateType": { "StateTypeId": "6c36f78c-ece5-48c4-85ee-47682b3d2fbc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9a777a58-f315-4bb3-8198-a874a8ccb17d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aafe1c2b-6ce0-4c4d-adb6-6ebbfe407a42", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "64c8dd8e-72d9-4402-87bc-9abd2a13c6e0", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "eae3675b-fbe9-41c4-871d-168e39b7454d", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "96a562fd-51d9-4c59-9383-fd900beff9ff", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "StatusType": { "StatusTypeId": "117d8347-db4d-4669-9356-0de113cf3ab7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9a777a58-f315-4bb3-8198-a874a8ccb17d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aafe1c2b-6ce0-4c4d-adb6-6ebbfe407a42", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "82a63172-2309-4305-9500-5a2e470a589d", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ead0f8b3-080d-4efe-8451-562da6bafb87", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "eb9e514e-caae-4fa1-99ce-f678c720cc8b", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "WellPurposeType": { "WellPurposeTypeId": "ede44288-41e4-4e3d-8d6e-745e7758b689", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d11ca4f9-0c62-4a95-8d47-ff7552dd6985", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7a02f353-efec-45fa-987f-7d38a66092be", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "MeasurementValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "3ba78005-8054-42a5-b6ab-c20b84f49fc4", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-22T21:19:33.214714-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "02ae2afb-007a-477b-96f2-028e2ac4a7db", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9a777a58-f315-4bb3-8198-a874a8ccb17d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "aafe1c2b-6ce0-4c4d-adb6-6ebbfe407a42", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "ccb9695c-9411-4e4c-9ec7-c8cc3bf4d7a9", "Name": "sample string 1" }, "Unit": { "UnitId": "c806e4e1-b2e0-4dba-a595-d688af3c951c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "22e091e4-5ead-4592-aaaa-9d898e435df4", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "dd4ab987-3f50-4369-9e5b-5b13887ab479", "FieldId": "470de586-236e-4779-83a2-c0ea957c945b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "dd4ab987-3f50-4369-9e5b-5b13887ab479", "FieldId": "470de586-236e-4779-83a2-c0ea957c945b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T21:19:33.214714-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d3aa4587-c5b2-4ee6-ae61-c1e8d5171dd7", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "990c7e67-b40d-4969-b837-730a571871a3", "CreateDate": "2024-11-22T21:19:33.214714-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-22T21:19:33.214714-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }