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": "40898915-660c-42c1-8dec-7c3da0029088", "Asset": { "AssetId": "852bc32c-7845-4358-bbff-50d14ba849fa", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f4e4f37f-8d0a-4fd8-95bf-cb37443668e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8287f03-a863-4adf-b68e-c398a7cc2d06", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9d35e5fb-b1c5-4c9d-b86c-cf340e9f40b7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "SourceSystemId": "sample string 3", "CompanyId": "514305f9-9180-46d5-9df4-ecb4c5fd3f0e", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "3cbc45f2-3fe3-4157-8018-42ef3e643fb7", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "StateType": { "StateTypeId": "2c4dec43-158b-4fcc-888f-ca09dc9e20f3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f4e4f37f-8d0a-4fd8-95bf-cb37443668e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8287f03-a863-4adf-b68e-c398a7cc2d06", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d6c88de0-e14c-4a57-8756-c8dad72e28ec", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "8b3b2a64-bdef-415a-89e5-1757230205e7", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e5818955-9ddd-4232-89a4-46e80050b26a", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "StatusType": { "StatusTypeId": "635d6078-dcc3-4e39-aded-df8823c7bace", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f4e4f37f-8d0a-4fd8-95bf-cb37443668e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8287f03-a863-4adf-b68e-c398a7cc2d06", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d069d6f5-4121-4216-a0f4-4554520f694d", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "90029b54-cd1e-41fa-b874-da896d19898a", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "d6f26d00-9253-4300-98e1-d339259f01f7", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "WellPurposeType": { "WellPurposeTypeId": "ca384aec-2673-4174-af1a-5b760fc15fbd", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4f03a454-90a4-4ed3-9316-f35b266526f3", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "54efff89-eeca-424e-b41f-e33e71c11e07", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b94c9aa8-181e-41e8-bbdb-19f6a1505c73", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "ea863de9-b982-4f5e-878e-b641bddad172", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f4e4f37f-8d0a-4fd8-95bf-cb37443668e7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8287f03-a863-4adf-b68e-c398a7cc2d06", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "7bab6189-ecda-40e6-9af2-7d03736b79da", "Name": "sample string 1" }, "Unit": { "UnitId": "88356ebe-adda-44eb-a823-4a7af88ecf58", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "133c9042-b024-42fd-9482-c6a073c73fa3", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1ff06c02-87a6-4ed6-8c51-be014d5450eb", "FieldId": "c930a607-96ed-4cae-904d-abf92ba0993d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1ff06c02-87a6-4ed6-8c51-be014d5450eb", "FieldId": "c930a607-96ed-4cae-904d-abf92ba0993d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f54b9192-3c68-419e-86e1-1f05987a3641", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "54a4f1cd-0384-4462-a838-8885416fdb5e", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-10-13T15:24:03.8509706-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": "4afb8021-2eb7-4950-8f85-cd7a04d918c4", "Asset": { "AssetId": "873ca23f-5735-47b7-ba7a-a9b2243b83d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9fd50dc2-11ce-4fa3-b0eb-1d86f3a84aee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ccd071c-cf58-4e3c-8298-8c439a9f2c39", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "69102a2e-9e56-41c1-8eb7-d6df94c2a601", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "SourceSystemId": "sample string 3", "CompanyId": "95c9b1c1-7e9e-42da-8d8b-850a1f842b21", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "01f47d5d-be4c-454d-b6a5-abb35376d559", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "StateType": { "StateTypeId": "00c618ba-eb10-428b-ac47-552b1c9149be", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9fd50dc2-11ce-4fa3-b0eb-1d86f3a84aee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ccd071c-cf58-4e3c-8298-8c439a9f2c39", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a6769505-c35f-42fd-b6d9-8ef8e96b74fb", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6bf38033-6f10-4db2-8289-aa30ebf0cb4d", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "1a39b694-9d0b-45f0-83f7-ff8658e2f0b5", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "StatusType": { "StatusTypeId": "9396c74d-4c04-4c21-be76-c4d8431bdb5a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9fd50dc2-11ce-4fa3-b0eb-1d86f3a84aee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ccd071c-cf58-4e3c-8298-8c439a9f2c39", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "244fa7ef-b13e-4b11-9ac6-1762faebf796", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7f0fa983-50fb-4856-b043-94e3e2bcf4d7", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c217567d-7f62-4668-8b10-77f9cfaeaf5d", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "WellPurposeType": { "WellPurposeTypeId": "12475b85-6764-4c01-ba9f-71aa4ccbc26a", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "12e1087e-a3ff-4398-a306-25b4dda8b3b2", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6038e66a-b449-4736-94d0-67213c38957a", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "MeasurementValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "42810ba1-5f2e-49a4-bbea-16eeaeaca8e8", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-10-13T15:24:03.8509706-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "67d4e650-40d4-4eaa-9e25-a2938902348b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9fd50dc2-11ce-4fa3-b0eb-1d86f3a84aee", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1ccd071c-cf58-4e3c-8298-8c439a9f2c39", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "c6b5b1d7-3f23-44b4-a711-48425fc2f443", "Name": "sample string 1" }, "Unit": { "UnitId": "ad870f1f-ce0c-4a88-9c3e-e3711d3d39eb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0198ef97-01bb-45a7-be89-bade4181e920", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a9842de4-288d-4cc8-be46-dd0d770c4378", "FieldId": "dfbe17ed-a5e6-45dc-8411-22fe19cc7e4f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a9842de4-288d-4cc8-be46-dd0d770c4378", "FieldId": "dfbe17ed-a5e6-45dc-8411-22fe19cc7e4f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-10-13T15:24:03.8509706-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "96d619d0-f257-4f28-8606-da7472a60376", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "6e543361-36b9-4d3b-ac11-9076cb7b2abc", "CreateDate": "2025-10-13T15:24:03.8509706-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-10-13T15:24:03.8509706-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }