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": "25c57692-5e0e-4e51-a0be-bb89334acf1c", "Asset": { "AssetId": "c3a3798e-76d7-4d99-aaf6-a69698c92f92", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5af2044f-5d77-4c4c-9ddc-7ba63a3908bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa15220c-39ff-454b-91de-af5a2a9d70df", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "5f4d4bed-ae3a-4f77-af12-69ad1d58fe99", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "MeasurementValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "SourceSystemId": "sample string 3", "CompanyId": "641723e8-400d-4110-a2b0-0efca7b67360", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "35892690-fe4b-4a1c-a459-4ee1abec86a0", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "StateType": { "StateTypeId": "b067ebf3-9743-45de-bc9b-46d769f9f564", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5af2044f-5d77-4c4c-9ddc-7ba63a3908bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa15220c-39ff-454b-91de-af5a2a9d70df", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "d0d05d68-af1c-4893-b59c-a015af8dffa3", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "177eed81-7f7d-4094-97bd-55dd58cd37d5", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ee6a2679-0a6e-43ea-a91f-fe7c28dbf224", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "StatusType": { "StatusTypeId": "055b307f-4a71-47b5-a12d-bd8ae6d87869", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5af2044f-5d77-4c4c-9ddc-7ba63a3908bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa15220c-39ff-454b-91de-af5a2a9d70df", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "ddd0c5fa-4fa0-4ced-a626-1bd6c19d81cd", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "94886644-0d42-4c7e-8f54-a02e7ebaf53b", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9ad91f52-acb2-4875-b887-f729b5c2e941", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "WellPurposeType": { "WellPurposeTypeId": "b45e6643-dfd4-4548-8570-9e942b2f0e8d", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cd31af86-ecb5-4413-ad61-7d3ef442fc2e", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f24f1512-4c82-4091-af97-ceeac69a5461", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "MeasurementValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "98706cba-0eec-405e-9eb2-268d4a1cb08c", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "a728556f-a2f3-48e4-88e6-30f0a141448f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5af2044f-5d77-4c4c-9ddc-7ba63a3908bd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "fa15220c-39ff-454b-91de-af5a2a9d70df", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "26cf371c-2878-4c74-a068-b7826adcea7d", "Name": "sample string 1" }, "Unit": { "UnitId": "7e21eb58-072f-49f6-b249-17be703389a6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ba6e384a-1846-43dd-876d-8f57825df443", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "07c51b64-0181-42d0-aded-b4334178fb27", "FieldId": "4e06dcf1-b413-4971-9d31-b01d0b1c5136", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "07c51b64-0181-42d0-aded-b4334178fb27", "FieldId": "4e06dcf1-b413-4971-9d31-b01d0b1c5136", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "0a5f0751-b7f3-4f1b-802b-c1a2c8a7a95e", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "e88396d7-d256-4f21-bbe5-ec3804b9996d", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-07-30T23:23:09.2775186-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": "b8dbd310-35bc-4e6b-b65b-f06af28c393c", "Asset": { "AssetId": "038afcab-36e9-486d-b3c4-56a525fbb2a9", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "cc593a3b-1410-4a49-ba9e-f380207e49d4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "147975fe-4dc2-422d-a42b-a455a97cbdfe", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4957baa8-7ab3-4fd9-82f5-a3efbe23df39", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "MeasurementValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "SourceSystemId": "sample string 3", "CompanyId": "56e25ae3-5cca-46c9-9d40-a300b5a7ccb6", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "96a0cd8a-f7bc-4e26-b720-cf1041f4b502", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "StateType": { "StateTypeId": "0d93197e-ba92-479e-bb04-2cc1b80a7c89", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "cc593a3b-1410-4a49-ba9e-f380207e49d4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "147975fe-4dc2-422d-a42b-a455a97cbdfe", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b103d83b-b38b-4467-9dd2-cf8352f9d651", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "86d79a21-4f7d-4b9e-85de-977581fd0d36", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2574f9cf-2d15-4c5f-a551-fa8bf9caca3c", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "StatusType": { "StatusTypeId": "38241140-5d53-497a-8d01-3fe05ea9982b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "cc593a3b-1410-4a49-ba9e-f380207e49d4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "147975fe-4dc2-422d-a42b-a455a97cbdfe", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e213baa5-d9b1-4044-b5a1-c00dda1608e1", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f5cbe23c-2547-476a-b63b-3533d1e61bef", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4be2177f-9ab3-4d7e-8d9d-7e9fa802a5ad", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "WellPurposeType": { "WellPurposeTypeId": "d9023c24-067e-4f51-bbee-b294fddaa599", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c0931cff-e0d6-4431-bf09-c2cf4680c56a", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "17d6b0a4-78d3-4c41-809c-3c6044f4277a", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "MeasurementValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "7718c875-bca7-4353-99c4-65b4d8003a2c", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-07-30T23:23:09.2775186-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "60fde1d5-b9f9-4430-bda6-2a31d40e9ce4", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cc593a3b-1410-4a49-ba9e-f380207e49d4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "147975fe-4dc2-422d-a42b-a455a97cbdfe", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "f468b464-fcda-423f-b759-f31e2e86cccd", "Name": "sample string 1" }, "Unit": { "UnitId": "1529a31e-69ea-411f-9d3f-8c23ef59670c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e3edebd6-16e6-45a2-bb8b-efebbb868ee9", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "21ce5ad8-9dd1-4471-b072-a96a73c86c39", "FieldId": "cdb2fe20-5a57-4472-b6a1-2ced5948d2de", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "21ce5ad8-9dd1-4471-b072-a96a73c86c39", "FieldId": "cdb2fe20-5a57-4472-b6a1-2ced5948d2de", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-30T23:23:09.2775186-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "53b597e7-cd77-4cf3-b51e-bf3f46034e4e", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "f24d454f-6ab2-43d8-b2b1-1bdd47b45db0", "CreateDate": "2025-07-30T23:23:09.2775186-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-07-30T23:23:09.2775186-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }