POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
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": "22af851a-d40e-42f6-8942-2e24bb353cb5", "Asset": { "AssetId": "b7435b04-344f-49fe-bb1f-5b164c5f21fb", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "914a4a4e-0199-4165-b4bf-122fd200f627", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "12042281-a0f9-4c11-b47d-1533e8d9d424", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d20e89c5-deb7-4e3d-a5df-b5523aabf365", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "MeasurementValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "SourceSystemId": "sample string 3", "CompanyId": "5ffb0bd4-6077-4340-8fd4-125180dd9753", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "c334acf5-5763-4b72-90af-2f0da2b29bc7", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "StateType": { "StateTypeId": "35257658-3fea-4529-9c81-a059bfdd660a", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "914a4a4e-0199-4165-b4bf-122fd200f627", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "12042281-a0f9-4c11-b47d-1533e8d9d424", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "104f1f59-0d85-4a63-a534-003a622d87fa", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "f92a349c-128b-4b0a-8690-232fa990daf0", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ea1d6414-8a4e-48bd-a931-fc7ec9dfefc6", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "StatusType": { "StatusTypeId": "31a71883-f390-461e-8bf2-665aa19b8138", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "914a4a4e-0199-4165-b4bf-122fd200f627", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "12042281-a0f9-4c11-b47d-1533e8d9d424", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4b688be1-2bdd-4925-9d34-c0aa37121b1a", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "10d13746-5304-430c-aa3b-115eb31e3295", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "201e6f41-bc5e-4de7-829b-eb71210628ca", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "WellPurposeType": { "WellPurposeTypeId": "0de9c46e-c085-4272-bf91-539074883647", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "792b5654-5c68-43a9-a072-e699e5bb6634", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b2859969-796d-4608-8aba-ded317c7497e", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "MeasurementValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0296978c-a3c8-4d37-b1bb-3eda35c14811", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "2faf936a-797f-4a27-aa8e-b02725fb4b24", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "914a4a4e-0199-4165-b4bf-122fd200f627", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "12042281-a0f9-4c11-b47d-1533e8d9d424", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "35ec3df7-6db0-4aeb-bd16-ef9d6352a43f", "Name": "sample string 1" }, "Unit": { "UnitId": "4e1ad7ab-bfcd-44e8-9440-dd4e75229eca", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "112cd140-2c5a-4597-8b8d-cb4095bb73ce", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "084f81c8-57dd-41c9-bf07-8d39508bacbb", "FieldId": "aa94b07d-72fb-4f61-82f3-2556feefd65b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "084f81c8-57dd-41c9-bf07-8d39508bacbb", "FieldId": "aa94b07d-72fb-4f61-82f3-2556feefd65b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a6407110-f491-4e44-b423-5bbfc18ccc7e", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "4284db4d-4fa4-4754-b40b-48daea58438f", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 9" }
Response Information
Resource Description
On success, the created measurement.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Measurement |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "MeasurementId": "01bb72f0-c14e-4e58-ac2a-62f398f1b21f", "Asset": { "AssetId": "cc79f439-7381-48b6-b98a-6474c90b8c6d", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8962dbb4-bd2b-407a-9167-89b680ad4e2d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "62b40c02-1806-4c4b-8eaf-1bb2523b2752", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4d1945c3-c362-43fd-8878-cb99b767a192", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "MeasurementValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "SourceSystemId": "sample string 3", "CompanyId": "1f6fc0e1-f92e-41d9-94f1-19640459d57b", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bdb54b28-6adc-427b-ba8a-58b43f002df7", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "StateType": { "StateTypeId": "a17e15b8-f64c-48b3-895b-7a05db3a7185", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8962dbb4-bd2b-407a-9167-89b680ad4e2d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "62b40c02-1806-4c4b-8eaf-1bb2523b2752", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "853a4cf1-5687-4738-bf23-f80e9b6e5eb6", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e787d53c-cf40-4a80-83d7-c6ae30e8770b", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "07f6fb16-b364-4d50-82b0-6a3a2c3ddec0", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "StatusType": { "StatusTypeId": "f8a65cb9-2229-4e11-9136-c51c98bcc3d0", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8962dbb4-bd2b-407a-9167-89b680ad4e2d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "62b40c02-1806-4c4b-8eaf-1bb2523b2752", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "bf432ca2-fe60-47e9-b443-43add27b7925", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "880affb7-0bea-4058-8a11-62e7d6fccdb7", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5ba39c04-aaf7-4ac3-b3a3-88f00b224f4e", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "WellPurposeType": { "WellPurposeTypeId": "3f0e01e9-1efb-4200-9e21-708b73609e0d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9a64f624-3892-4d1b-a60b-aa26a9077397", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "c13730f7-e13d-4fed-ac74-938b40a9f274", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "MeasurementValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b7906385-c211-435c-b972-e97fba807607", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-07-18T23:44:16.627311-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "a191ba00-ca56-432b-b8b1-86df9195ac25", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8962dbb4-bd2b-407a-9167-89b680ad4e2d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "62b40c02-1806-4c4b-8eaf-1bb2523b2752", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "e646591f-1b4d-4e86-9dfa-db22fabdfc5f", "Name": "sample string 1" }, "Unit": { "UnitId": "2fe58d2e-fec5-4d15-900a-3898ff622236", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dc5384c9-eaf0-40f0-a667-4797075a978a", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c8bfcff9-8d89-406e-b26e-1e6ffd871607", "FieldId": "a7c0eebb-6afc-4623-b7dc-43a1a14566d5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c8bfcff9-8d89-406e-b26e-1e6ffd871607", "FieldId": "a7c0eebb-6afc-4623-b7dc-43a1a14566d5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-18T23:44:16.627311-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "5a60a7ea-21a6-4161-aef1-3590b2eb8ca8", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "cf2c0a13-450f-4939-9db2-eb2a2adb9c72", "CreateDate": "2025-07-18T23:44:16.627311-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-07-18T23:44:16.627311-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }