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": "28d8d9a5-be8c-42fd-9a97-838b533f8d90", "Asset": { "AssetId": "2d492434-3e2c-4c6e-8620-dbd023848d2f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5ab109e7-dc10-47d2-a9bf-1fa372a668dd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6871abe-898f-47dc-96b3-db694313f490", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0f43873c-2970-4f6f-840d-de5490408654", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "MeasurementValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "SourceSystemId": "sample string 3", "CompanyId": "83dc302d-aaf7-4b09-89ba-2a850504bb11", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6fdbd497-d7fe-4607-843b-3839e17d2992", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "StateType": { "StateTypeId": "4ed4bc4d-c84a-49cc-a310-379c06f6d9c5", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5ab109e7-dc10-47d2-a9bf-1fa372a668dd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6871abe-898f-47dc-96b3-db694313f490", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1bd02069-555a-431d-b173-1302b80e6c98", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "77830118-9353-4e83-ac13-79cb21043dce", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "af17d9f7-40de-4bc2-a44b-358c33eead9d", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "StatusType": { "StatusTypeId": "799c7e61-089e-483a-bc42-48e1a2dc48d7", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5ab109e7-dc10-47d2-a9bf-1fa372a668dd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6871abe-898f-47dc-96b3-db694313f490", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "657b63d2-cb5d-4a97-8b3b-a6a98bb8c3cf", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "41d8db8f-243d-4c21-8b69-b939e0eec017", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2f509750-21de-4a6f-91f8-23403f95e007", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "WellPurposeType": { "WellPurposeTypeId": "f2ba3454-4d98-4552-aea3-77ed202d1fd8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f5427d5c-6bc4-4475-b322-46a18939d2bb", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "980fe4f1-0269-4a56-94f3-fdbaba73e2b6", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "MeasurementValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "1965e39d-7ec4-4409-98c0-3a5509c73f71", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "1b9b1bc4-2f64-4c4e-90ef-fd0deed3033d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5ab109e7-dc10-47d2-a9bf-1fa372a668dd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a6871abe-898f-47dc-96b3-db694313f490", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "5a095e6a-b054-4d08-87e1-e6db12e5fa0d", "Name": "sample string 1" }, "Unit": { "UnitId": "c0a1008e-208b-4e9a-8fa7-8f83de800257", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5a403ed6-bc7f-44a9-9b5a-04b3235badcc", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "34b9b1c6-7f4b-4b85-a99a-a4f6ee9521cc", "FieldId": "aa88d53a-0250-4e66-b675-3479586f3dd7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "34b9b1c6-7f4b-4b85-a99a-a4f6ee9521cc", "FieldId": "aa88d53a-0250-4e66-b675-3479586f3dd7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5dea3157-1e24-42b9-bd40-27b8f3112540", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "5032fc72-7135-405f-aab5-2da9ee432dc3", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-01-02T11:33:00.7378891-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": "25446434-0b2d-4592-83f7-265bd0c9b566", "Asset": { "AssetId": "2fbb5cbb-8c39-453a-81e7-3bd8fb66648e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "710a70ca-c55d-4c76-8ea1-affeda380409", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0974026a-0cd2-4c0b-9fcf-199bbd963e00", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "87251cd2-59b2-4a8e-a1ca-f5b74e8cf157", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "MeasurementValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ea43e8e3-c8a2-41e7-871a-7e1df256b0ee", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "706a1567-ad84-41b6-b208-60f03fbdf017", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "StateType": { "StateTypeId": "2cb9ed4c-eb68-4920-bf04-e4848e6c8313", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "710a70ca-c55d-4c76-8ea1-affeda380409", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0974026a-0cd2-4c0b-9fcf-199bbd963e00", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b6d4d50e-2f71-4dfc-86a8-9e5691123745", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f7cfde27-c270-4cc3-903d-2bf7272743de", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "748d7e56-7c1e-479c-a603-415dd40b2697", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "StatusType": { "StatusTypeId": "d2dbdf5d-667e-47de-8748-af09d3d24027", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "710a70ca-c55d-4c76-8ea1-affeda380409", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0974026a-0cd2-4c0b-9fcf-199bbd963e00", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "79c7bad2-bc0c-43b5-a01a-a1a2b5d64c4f", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d48a60e5-6122-4528-a85c-df8927225f02", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "cd0034f3-4f6a-4f9c-8962-61dd9e97f329", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "WellPurposeType": { "WellPurposeTypeId": "7fe18b70-2d9f-46c6-8f4a-6a457a805a45", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fb2093e8-5327-4b10-935c-c5d20ae3dcc1", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4cbd4122-3b2b-4578-8ac6-501d0ec18b6a", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "MeasurementValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "c69d177e-160b-4305-862a-fab2667ed195", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-01-02T11:33:00.7378891-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "1b7cd9c0-edc2-466f-8326-218bff71bef7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "710a70ca-c55d-4c76-8ea1-affeda380409", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0974026a-0cd2-4c0b-9fcf-199bbd963e00", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "675ea6e0-2583-454f-aa49-9f4f928f9f16", "Name": "sample string 1" }, "Unit": { "UnitId": "65644dd4-abae-4be2-b988-3f9264d810e6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "7fefe3c9-2ca6-4293-80a0-d2ff122d56ff", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "dc4547cf-85b7-4592-a697-d3348d8cd256", "FieldId": "cb0d8060-10aa-4790-84f2-4948dfa0b2ac", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "dc4547cf-85b7-4592-a697-d3348d8cd256", "FieldId": "cb0d8060-10aa-4790-84f2-4948dfa0b2ac", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-02T11:33:00.7378891-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "eaccbb65-08c2-440f-aa80-851b596c6b83", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "d9559460-06ae-43ac-84e2-e01b9e58e30d", "CreateDate": "2025-01-02T11:33:00.7378891-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-01-02T11:33:00.7378891-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }