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": "7b92d0a1-3095-49fb-b07a-49d2b20f5e09",
"Asset": {
"AssetId": "cec70984-cc50-43f8-979c-0d922c8694b4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "6da12bbc-1204-46dc-a98a-da4a8fe5d708",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "78154c24-0a19-4849-be55-d4ca73dbc2ed",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "20c0ab43-b07b-4477-a48a-62119caab16d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"MeasurementValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a79b4698-903e-479a-9634-a07b3bba1c93",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "b4e25d02-d807-4156-a528-35ba3ba96132",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"StateType": {
"StateTypeId": "be8489d3-d24d-40d6-beb4-23d1b51bad01",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "6da12bbc-1204-46dc-a98a-da4a8fe5d708",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "78154c24-0a19-4849-be55-d4ca73dbc2ed",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "12e91cfb-fcba-4844-95a2-2339f03307d4",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2b494978-88e1-4f25-9a94-bd45866cd327",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "02ef97c3-4231-40da-93fc-92f7dbaeeb72",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"StatusType": {
"StatusTypeId": "d87fcfb4-a151-4808-b2e3-e4588ff6145d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "6da12bbc-1204-46dc-a98a-da4a8fe5d708",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "78154c24-0a19-4849-be55-d4ca73dbc2ed",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8c40d472-5d40-454d-aa93-47439dad13ec",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a1e58b3a-4b11-4ec8-aab3-83acabe0cd46",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "b20af5f3-59c3-44d8-8002-2b2b3acf712d",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "01afe0b6-c2da-41a1-b39c-f2e316d59743",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "96266e87-3e2c-44af-9589-9b394223c80a",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1ba85dbe-80df-4a62-ba1b-8969b9e3fa22",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"MeasurementValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "22c67242-33d2-4e50-a322-c012c2c362a3",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "643b8518-98f2-4b8c-ad2a-92a1280fd04c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6da12bbc-1204-46dc-a98a-da4a8fe5d708",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "78154c24-0a19-4849-be55-d4ca73dbc2ed",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ca5170ee-94b9-46a7-90e9-621bee747b74",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b7a99e58-f846-4b97-adeb-7e0ef373f937",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9eda9678-b8b6-4b5d-97dd-b1faf4fbe9fc",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6c67544f-9328-4df8-903c-e73041a9dd9d",
"FieldId": "c91e1f3f-4ec4-4fcc-9f0f-0007f26675be",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6c67544f-9328-4df8-903c-e73041a9dd9d",
"FieldId": "c91e1f3f-4ec4-4fcc-9f0f-0007f26675be",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d4e6690c-b5ec-40a0-b96d-c50cac58c62c",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "bfbc33cf-8eb5-42a8-b6f5-20170c89b2dc",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-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": "99f2ee71-d6dc-46ec-8668-df64e6d4c9e4",
"Asset": {
"AssetId": "a7a98a29-4f17-40a3-a819-2d4ba26d7eaf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "913a9eef-9fa3-48a7-9684-591055453945",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfaa1aa9-04fa-4267-b326-b1a5b5748448",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "61a2e475-adc9-4cf2-8b18-b99fb62c5c49",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"MeasurementValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0ee55df4-e6c4-4722-9db8-524f23bd728a",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9cfa97ce-eea8-4b17-9d6d-6722dfa15610",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"StateType": {
"StateTypeId": "8bdfbc54-8a16-4375-bcc1-35b578e05f1c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "913a9eef-9fa3-48a7-9684-591055453945",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfaa1aa9-04fa-4267-b326-b1a5b5748448",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "31c96b8e-3864-4f4d-ae8a-d501f32970ca",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "98b14362-99d4-4e9e-a63c-a7acc037b244",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "33a01d0a-d66a-4c14-b3df-7ae1f485eb5d",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"StatusType": {
"StatusTypeId": "72aa425e-a0e0-4e4f-85f4-a3f35f8387b1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "913a9eef-9fa3-48a7-9684-591055453945",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfaa1aa9-04fa-4267-b326-b1a5b5748448",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9cc09c89-a07b-4450-a68d-ab72d3243169",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f55ecc0a-c879-4521-bb3c-cebc8c075167",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "61cf6b5f-1128-45b5-bf74-ae311e6e5564",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "ad5e0481-b16e-4672-9da9-870b28708375",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7b6514d1-c141-45be-bb9d-35cf8b648b4e",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d13fdec-3500-4f1c-a5c6-969ee64c15d6",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"MeasurementValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4cd77713-f0cc-46d8-a652-d7e60971b36f",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-14T07:58:33.4835816-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "3999af5c-33ee-4e8b-bf5f-c0cd209ee623",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "913a9eef-9fa3-48a7-9684-591055453945",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dfaa1aa9-04fa-4267-b326-b1a5b5748448",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "936db2c7-d6ab-4617-9fe5-b77e944e9e4b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "201ff915-df35-4ed5-af56-14458d4c792b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3b8c06ad-d782-4b92-9a5f-247d3017a6c3",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "880f4c38-3595-4432-80b0-40ff6f37a694",
"FieldId": "1766c105-7818-4c5b-b4f6-de4a48ca59f5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "880f4c38-3595-4432-80b0-40ff6f37a694",
"FieldId": "1766c105-7818-4c5b-b4f6-de4a48ca59f5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-14T07:58:33.4835816-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e843c1ae-bbcb-4580-ae1a-3e5e9789d365",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "29c9290e-c8e2-42f4-9c03-aa4f0126f350",
"CreateDate": "2025-12-14T07:58:33.4835816-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-14T07:58:33.4835816-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}