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": "a5b66c4a-9e0a-442e-a1c2-231a750d865b", "Asset": { "AssetId": "e1b702da-6c8d-4a1d-a8ab-02d542d8c851", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "70e40dc2-bde3-4b0f-ba79-49a4d9c7bebb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37614156-77ad-4a21-bca0-c2445e325e9c", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "dd3d97f1-802c-40c2-9d17-d6ddf3587ff9", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "MeasurementValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "SourceSystemId": "sample string 3", "CompanyId": "51474fc1-809d-4e1f-8c33-09e7443fa087", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "364a201b-8aca-4d42-90b0-62578ea2ca55", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "StateType": { "StateTypeId": "03c6e6f4-1570-4d9b-8b86-21830dccdde8", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "70e40dc2-bde3-4b0f-ba79-49a4d9c7bebb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37614156-77ad-4a21-bca0-c2445e325e9c", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "6fee96d3-0f86-48e7-a31a-ff126ae7d4ed", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "26d3cf59-29f0-4c01-9547-76f08632e0d8", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "641ca159-babb-4459-9482-8a57d34f4b95", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "StatusType": { "StatusTypeId": "db67fc38-09d6-4887-b9c5-f70cf10631de", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "70e40dc2-bde3-4b0f-ba79-49a4d9c7bebb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37614156-77ad-4a21-bca0-c2445e325e9c", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "7ad01b9a-29d9-4768-a3fe-552ecc255bc2", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e5ea10f2-5dfe-4720-82a4-9f908b86e009", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "ed41a8ed-d410-4310-b554-dcb78e85df4d", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "WellPurposeType": { "WellPurposeTypeId": "b4ca632f-b256-4fd8-aee4-fbebf0910c5f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "45ac7ab8-2243-4fb9-befb-677f0e0ace38", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7e560dd4-01c7-4bdf-af0d-565e51edc3f7", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "MeasurementValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "27603c35-013a-44fd-82f8-b655cde4de77", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "e39e5ffe-68d7-4c5b-a5c2-74a8352ab5d0", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "70e40dc2-bde3-4b0f-ba79-49a4d9c7bebb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "37614156-77ad-4a21-bca0-c2445e325e9c", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "a6db7832-7ef5-490d-9c29-d9d6dc5d9fbc", "Name": "sample string 1" }, "Unit": { "UnitId": "16c275a3-5de7-4a76-80cd-3faf01c9574c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9d62e51a-85af-4d87-aa38-ac38dc60ba5f", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "faaa0e45-cfaa-4eee-8d59-87473cf29ab8", "FieldId": "8cfbaa42-d1f8-45cf-a254-9db96bc06afc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "faaa0e45-cfaa-4eee-8d59-87473cf29ab8", "FieldId": "8cfbaa42-d1f8-45cf-a254-9db96bc06afc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d343b356-f94d-4d4c-9650-2a5fc018dc46", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "308cd2dd-42d4-4037-b6e7-61e19b7d5292", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-05-09T15:57:04.3587282-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": "b53657ca-c235-4d30-aa69-be7524a5ae73", "Asset": { "AssetId": "e635ee1d-d14b-447e-b8b4-c38706a90c3e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0254909e-cb0a-4705-a55c-28ae29283c3d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "945e069e-8ddb-4084-80e6-565973569941", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "67cd8ade-fd03-4674-b697-c59e42dd311a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "MeasurementValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b2ff88cb-d192-448d-8ad4-be0e8ffa0590", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "abf7648a-474f-4816-afec-c25299547ff1", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "StateType": { "StateTypeId": "a39d309d-a502-4b4b-88c6-fff770aede67", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0254909e-cb0a-4705-a55c-28ae29283c3d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "945e069e-8ddb-4084-80e6-565973569941", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "18e4d514-9d4a-4ffe-ba55-9f9ca6cfa7b3", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "52863d5a-418c-421c-86c1-39e50cfc6512", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "25f870a3-217d-4d88-892c-20cce0fccf0c", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "StatusType": { "StatusTypeId": "844a1a60-0820-4e76-a898-e35e3027c6c8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0254909e-cb0a-4705-a55c-28ae29283c3d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "945e069e-8ddb-4084-80e6-565973569941", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f512515c-4df2-4c92-adcf-f5196036c6e1", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c3db555e-51ff-4cc5-930c-9eba768a8459", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "547e962d-394a-441b-a5d7-e6c920f3847f", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "WellPurposeType": { "WellPurposeTypeId": "5f2d03ae-f1f2-4b55-b804-07023db8bd90", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "8f483c82-60a5-4792-a2d5-a9669bfcdb70", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fc8fa722-40b3-4315-909f-e6f8c52375f8", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "MeasurementValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "37488cdd-c8ee-45f7-b052-7d34df245d4e", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-05-09T15:57:04.3587282-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "df579844-27a0-42d1-aa8a-01656a5eb772", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0254909e-cb0a-4705-a55c-28ae29283c3d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "945e069e-8ddb-4084-80e6-565973569941", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "caf3d492-e098-425d-9a3f-778cde1fb77a", "Name": "sample string 1" }, "Unit": { "UnitId": "98747094-f438-44bf-8ae0-366d1f703442", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "71d66bbe-1809-431e-889e-8f2b246a4602", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b68aab26-9718-4af1-8159-4d99f3a39928", "FieldId": "1c01aaa3-c713-49c6-b6ba-a0175f10a902", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b68aab26-9718-4af1-8159-4d99f3a39928", "FieldId": "1c01aaa3-c713-49c6-b6ba-a0175f10a902", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-05-09T15:57:04.3587282-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "18f6e8a1-61de-4037-9f9d-7a7fbd0119c5", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "c75e404d-3fb0-45fb-88d8-eb99c99aaed5", "CreateDate": "2025-05-09T15:57:04.3587282-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-05-09T15:57:04.3587282-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }