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": "bed96911-fc89-49c9-b1bd-141c07f6e065",
"Asset": {
"AssetId": "9abc22bf-6b0b-4931-8c23-5177113c2f3c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7cecdb2c-dc0a-4712-9615-8d5237ef4e32",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a6e43789-c825-47bc-8301-71007adb2325",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "276db7c1-e728-4c41-99fb-36e9d2dc43f4",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "07a7cf77-cab5-46fa-9e86-597da46a4d0b",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "11880902-b339-423e-a0d7-265c3467e793",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"StateType": {
"StateTypeId": "e645b496-f0ff-43fb-a35f-706985c99a14",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7cecdb2c-dc0a-4712-9615-8d5237ef4e32",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a6e43789-c825-47bc-8301-71007adb2325",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "abf0e597-e2c3-4132-8acc-e36fe701a1b4",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9e54007c-4fb5-433a-a586-0eacdfe52467",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9f4bfec7-27c6-481d-98f6-05c087ba32e2",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"StatusType": {
"StatusTypeId": "bc0c8276-3329-480a-8a25-1523bdad80bc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7cecdb2c-dc0a-4712-9615-8d5237ef4e32",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a6e43789-c825-47bc-8301-71007adb2325",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fee3d829-4953-4e64-9739-3e29d3b9e6e4",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a7b57b9d-bea5-405c-aaf6-48b026f241ed",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e10c3a3b-4e62-4fad-8555-f59645618a71",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f38ac717-eb8a-42b5-8b1e-dfbf67a61a5d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "94d1b214-568f-43dd-af11-e454902c4d00",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f366977a-dd48-46eb-ae19-9935e8e5e93d",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e0550081-6020-4122-9c99-867676c00c1e",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "7cfbb10c-b4eb-4756-a010-298b51e13b81",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7cecdb2c-dc0a-4712-9615-8d5237ef4e32",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a6e43789-c825-47bc-8301-71007adb2325",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "226bbf74-1638-4633-960a-9d01abb8de05",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9a59502b-6472-4a04-b940-fe8f2292c7d0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "31f70d0e-5c7a-4270-8fb1-b10b57d9ff77",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "19db7dac-7922-4462-b024-c9da2095e7a6",
"FieldId": "ee20f1ab-48ce-44df-8585-f863d305f2fd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "19db7dac-7922-4462-b024-c9da2095e7a6",
"FieldId": "ee20f1ab-48ce-44df-8585-f863d305f2fd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "34e7690e-163a-485a-b703-c2b376b0e6c9",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "68ff5d9c-6184-4691-86f8-ee75f93315ff",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-17T18:57:03.781193-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": "1df649d3-601e-45ac-a434-558dcab48cc2",
"Asset": {
"AssetId": "f99035c9-2099-4945-a4b3-2ceddda65718",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0402eb2d-91a1-4e4e-b1e3-2fc4919491ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "98581c9e-edc2-4f61-94d1-537890d24432",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f57e3373-25cf-4b65-9384-24ef53261d06",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "065b55c7-d2d6-40f5-8273-ba1512ccc47d",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a8ae0b52-ad55-43e3-a5a7-e7f53c968bd9",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"StateType": {
"StateTypeId": "8cc2dde0-eb23-494d-8dc2-62f840946c9e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0402eb2d-91a1-4e4e-b1e3-2fc4919491ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "98581c9e-edc2-4f61-94d1-537890d24432",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "710ec491-1f46-4f9c-b947-dcb7e134e677",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "00b59f8e-a361-42ea-86f4-d624cde04ade",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b04d20eb-873a-41eb-bac4-2cbc7981ee8a",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"StatusType": {
"StatusTypeId": "67853368-3e84-4d0f-a60f-cfa07903d46f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0402eb2d-91a1-4e4e-b1e3-2fc4919491ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "98581c9e-edc2-4f61-94d1-537890d24432",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4ee2c01c-0fc3-4435-b436-03cb938cccd8",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bd6f619d-9b5d-4f24-878a-e22dd5c56099",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f62d4bec-1303-4f8c-80e4-bcc25d81b0a4",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "1317f9af-43c8-4cf2-85fa-a65fe443f157",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1101cac0-0fc2-411d-a2e2-214bdebcb414",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b4951300-5635-4c24-81bf-f138382716d5",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1497aaf0-917c-43e6-85ef-f37b5dcd1dc5",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-17T18:57:03.781193-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "501726ad-6117-4aeb-8f79-bf83b53a571d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0402eb2d-91a1-4e4e-b1e3-2fc4919491ac",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "98581c9e-edc2-4f61-94d1-537890d24432",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "bf497bff-0621-4483-8fa2-2becefe14014",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9a5f2bf7-fa1a-4b2b-98c9-5d3451b3618e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5f070f97-cb3a-4af7-900a-c03ced523034",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b5f81896-729a-4958-a833-659184bc990a",
"FieldId": "b0a2062b-a143-415a-97e2-a4d2937b79f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b5f81896-729a-4958-a833-659184bc990a",
"FieldId": "b0a2062b-a143-415a-97e2-a4d2937b79f9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:57:03.781193-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "fd372785-aece-46f3-baed-7b6255d1a1d3",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "eee5f758-81c2-4b37-93a4-bf4e890ff16f",
"CreateDate": "2025-11-17T18:57:03.781193-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-17T18:57:03.781193-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}