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. |
|
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": "2a9ea57e-52d6-4a65-ad15-7f1121b9a121", "Asset": { "AssetId": "66782cc5-391c-4b01-a808-4c253e7f25c0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9fc83d5e-6c4b-4f5f-8529-f5856d54c536", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0343aacf-a783-41f4-9d00-612c59b57619", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "6f1570e4-0695-49a0-9d52-ae447fceca27", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "MeasurementValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "SourceSystemId": "sample string 3", "CompanyId": "ce94b581-221a-4771-b81f-fa0526d8037b", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f5023a1a-40e7-4051-81fd-341a27bfa902", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "StateType": { "StateTypeId": "7a7b2062-acf6-4fea-ae1f-686e98576d2c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9fc83d5e-6c4b-4f5f-8529-f5856d54c536", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0343aacf-a783-41f4-9d00-612c59b57619", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "84249f3c-9e4c-455b-bae1-b15e09b35fb5", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "229633fe-f36c-4e26-a062-f994642b830d", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "1a5df9a2-498b-4e5e-bc16-e96b3a14906b", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "StatusType": { "StatusTypeId": "5fd5a6a4-6981-43cb-b34a-c40add07af44", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9fc83d5e-6c4b-4f5f-8529-f5856d54c536", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0343aacf-a783-41f4-9d00-612c59b57619", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4899fd5d-988a-497a-bddf-71e0d3d39989", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "40c3d766-f42e-448b-923d-01690ae0a5d3", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "36e298a7-fdb9-4416-a04f-1a2169214773", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "WellPurposeType": { "WellPurposeTypeId": "b36228d9-f3ff-49d2-8460-ba492ea76fea", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bb9caf62-2b43-4834-b408-204de3704b1c", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9f75e037-5f75-4b53-b593-8c833889b80e", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "MeasurementValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "93b8daf2-901b-4f99-9e0d-91bcec9eb0cd", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "9c1dd5f4-d64b-4b5e-8792-255f5309d4f7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9fc83d5e-6c4b-4f5f-8529-f5856d54c536", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0343aacf-a783-41f4-9d00-612c59b57619", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "c9ef6cca-286f-4938-86de-19c7c0c53bd2", "Name": "sample string 1" }, "Unit": { "UnitId": "8c067ee4-e0fc-46e8-bf07-dc5b15e66b90", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dcefda7e-6a23-46bd-a3ea-af2dc528b7e1", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ecf10947-a08a-455d-a9ce-89599f4b13f2", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0f456142-3d31-4ce1-95ed-d7cda2d8239c", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }
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": "ecb1b07a-7973-4bd4-b36b-1dc56a09024e", "Asset": { "AssetId": "ea642de5-0656-4994-be86-3607e766b7a0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "706ab818-b584-413d-a917-76947cad94bf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9b0424fa-c1d7-4ee7-9a17-8df4dba44d27", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b6d57889-ff02-4e41-8b3d-971e3db1754c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "MeasurementValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6e69fd6c-7f06-4236-b3d2-9f33e6d62a69", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "5c6741bd-eeb3-46fa-bd99-f9865b0c2e38", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "StateType": { "StateTypeId": "0e69afdc-7a67-4c5a-89c1-216e3bb160f4", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "706ab818-b584-413d-a917-76947cad94bf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9b0424fa-c1d7-4ee7-9a17-8df4dba44d27", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "14b52f58-d168-49fe-b3e1-49adace808d4", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "3d530eb8-ace4-4230-b5e1-03c70f23736a", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "71604222-87e6-434a-b3b7-1b6aeead3782", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "StatusType": { "StatusTypeId": "9b791528-5885-4fcc-a7e2-5dba616745b0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "706ab818-b584-413d-a917-76947cad94bf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9b0424fa-c1d7-4ee7-9a17-8df4dba44d27", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "b59c34a7-5074-401d-9abd-ffcd9b77a30b", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "673ee2c8-7ecb-4311-8f0b-6ebafdb7dd6e", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5f6757a8-b6a9-4aae-8de0-f5e2ddfb1176", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "WellPurposeType": { "WellPurposeTypeId": "e73e0ad7-56d4-4596-8ee3-dea5615fef70", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "304fdf88-6647-4fda-9a83-3addd209500e", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f3edc864-e257-478e-8856-d1b4c2c65f0c", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "MeasurementValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d4f3e906-cb4a-4c24-bb7d-a1966e898c97", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "EffectiveDate": "2024-04-28T02:00:15.6650054-07:00", "Location": "sample string 2", "MeasurementType": { "MeasurementTypeId": "392c7cd7-f9b0-427b-a6e9-c9bb7a992e93", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "706ab818-b584-413d-a917-76947cad94bf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9b0424fa-c1d7-4ee7-9a17-8df4dba44d27", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "0b5ac783-23eb-464c-802a-0f80eb8d5ed8", "Name": "sample string 1" }, "Unit": { "UnitId": "54b1659e-d45b-4ee9-951c-5ce72a00bdfd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b9da9f7e-408f-4edb-9617-2dc6e6fbc9fe", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-04-28T02:00:15.6650054-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "03372885-deeb-420d-8280-c1de98ea7569", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7c3726b5-4de4-406b-9aa6-e63ed94f2b1f", "CreateDate": "2024-04-28T02:00:15.6650054-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-28T02:00:15.6650054-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }