PUT Measurements
Updates the given measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to update
Measurement| Name | 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": "f0a88829-1c69-497f-b9f2-fb1dcec32f9c",
"Asset": {
"AssetId": "89ce0b22-bdae-4dd0-a9ba-25028e08c4d3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2f64e667-3eb6-4dea-8f91-c64b9e2c3810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4db63325-4321-4feb-831b-28a68dfc9266",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "30c43ede-5a1e-4bdc-97af-5df31868ceec",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d2dbbe0d-1e4d-4fb5-a87b-93c878b5ffef",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "66281d83-d1ed-4a3d-a1b7-772612ac2cd5",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"StateType": {
"StateTypeId": "d6a6d04b-bbe2-491a-915c-8e7fa40feb83",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2f64e667-3eb6-4dea-8f91-c64b9e2c3810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4db63325-4321-4feb-831b-28a68dfc9266",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ed653b26-5559-4427-8031-a1b2f1f921ab",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "aa99a7d5-9ef1-4ec5-a289-16db8e24a466",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f908ce90-eedb-41b5-a56b-bdb648ba578b",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"StatusType": {
"StatusTypeId": "001372b9-704d-444e-837b-d2a8abfd378d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2f64e667-3eb6-4dea-8f91-c64b9e2c3810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4db63325-4321-4feb-831b-28a68dfc9266",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9feb125f-8b63-4efe-be02-4b2fd4bce94b",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4e765d28-20a1-4295-844e-ba6a766dc8b0",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7ffff93f-9994-4cfb-a55f-516d38c82c26",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "6296000b-f4f9-432d-99a0-495e827fdaff",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "34feee8a-bbe8-42c6-b0bc-5d4be777293b",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4707924f-69d9-4fe2-8080-c99e29a98e11",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b43ce08c-cb63-472b-92eb-51bd47653bd5",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "06b2ba64-bba6-46d0-876b-db6444588bfd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2f64e667-3eb6-4dea-8f91-c64b9e2c3810",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4db63325-4321-4feb-831b-28a68dfc9266",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9e5e093c-182a-46b6-bb87-84ea39aa0a28",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "89076bfb-1c32-4be2-acc8-48d985ff3eba",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3cfb2492-218c-4bd4-b6b2-92899f074526",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d18d00b4-3e4a-481f-be59-1e5da94fef3f",
"FieldId": "86187d0f-4834-4383-b2d5-30079cf82a1e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d18d00b4-3e4a-481f-be59-1e5da94fef3f",
"FieldId": "86187d0f-4834-4383-b2d5-30079cf82a1e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3a0f1511-291b-4d3d-b19c-b91824ecb6a3",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "b97d6ab6-e5d3-41b2-bfca-60eb60c0b26f",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-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": "7948b0bd-3d42-467d-bbaa-5cfb50c2d2d3",
"Asset": {
"AssetId": "75a172c0-1631-408f-a132-947fd2985ecc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9b516140-b00b-4398-b223-172b4ed0415e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7da38c47-c0da-422b-857d-e5671fee360f",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5af0d81e-4b53-4607-a800-ecaf3da97562",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4e2ac43a-8f9a-40d8-b80c-19c51b7aa1fb",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "16d5956c-df77-4df8-b7e3-2bed87502735",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"StateType": {
"StateTypeId": "1eb12828-c500-449d-bb11-a1a383fa2080",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9b516140-b00b-4398-b223-172b4ed0415e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7da38c47-c0da-422b-857d-e5671fee360f",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "864ffc90-c0de-45e5-83c0-adc1a2f28b37",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "68aeb3d5-8b79-4c3c-b664-333d5b229382",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "df2d6f23-cf9f-446a-b826-2fb7bd70ded2",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"StatusType": {
"StatusTypeId": "3861e67d-473d-4e2f-ad30-4c193a3b6740",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9b516140-b00b-4398-b223-172b4ed0415e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7da38c47-c0da-422b-857d-e5671fee360f",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a6dd3152-9ce1-4a5b-8968-5850c674ca03",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cc1b203e-3b4a-4e93-ba8d-c6abaaa05d61",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1f86a2bf-ce7f-401d-ab06-42fbee977d50",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "09001f49-abbc-4017-b015-f3baa599b8c1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1e82b625-1003-453e-847c-ceb3ea40d000",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "47be0383-dd20-4bf6-b40d-a83049876ba5",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8e13088d-2485-4110-8ba1-947f5b768397",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-04T16:57:44.9548614-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "e6dd9a67-a0fa-4757-88d6-500ee25f8aef",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9b516140-b00b-4398-b223-172b4ed0415e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7da38c47-c0da-422b-857d-e5671fee360f",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ea6ae11d-3ba4-4c91-b07f-95777ff4f932",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b44b35f8-41a3-42b1-b726-7f8a1ad188a2",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "75e11919-2914-4627-8168-61d853222206",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2aa86e9e-7b4b-42fc-b396-d3f14741aca0",
"FieldId": "d8c4fddc-2360-4201-81c0-d3e14037288d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2aa86e9e-7b4b-42fc-b396-d3f14741aca0",
"FieldId": "d8c4fddc-2360-4201-81c0-d3e14037288d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T16:57:44.9548614-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3271aa2e-6df0-490b-9c40-5495e1c0a79a",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "298b0519-ff9a-4f51-b5cb-eea20dbef4cc",
"CreateDate": "2025-11-04T16:57:44.9548614-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-04T16:57:44.9548614-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}