POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
Measurement| Name | 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": "acf86783-1198-46af-ac2c-06583e306480",
"Asset": {
"AssetId": "494bced2-d10c-4e99-b354-9440cb4d406a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0a0d663e-9715-48f0-8e76-ff121b50f680",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "374336ea-3f51-44c3-904b-1895aa510c4c",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "717c9aa4-31d1-499e-a34e-10a52ba52a79",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"MeasurementValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "e4d69135-a8ea-40be-8c22-b30ca9db27f1",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "20f7f587-41ba-4028-a789-8ab6144f7a86",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"StateType": {
"StateTypeId": "adb97311-13f1-40f5-b455-4eb28c11c7be",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0a0d663e-9715-48f0-8e76-ff121b50f680",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "374336ea-3f51-44c3-904b-1895aa510c4c",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9802d3a5-80be-4e6b-8c16-b9839a7e2a19",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b5b5c923-15c3-4ae2-99d9-eff248ada8b4",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "42370671-b55b-403e-a0bc-892b06e532f5",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"StatusType": {
"StatusTypeId": "fbff4479-81ad-46d8-bd85-ed2f2bcaef17",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0a0d663e-9715-48f0-8e76-ff121b50f680",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "374336ea-3f51-44c3-904b-1895aa510c4c",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "60e3d555-39bb-4d5e-ac1c-14d4ce70cd09",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ae8a1a8c-a6a6-4bbf-94dc-076cc229827b",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "5e476bb4-9d22-43ff-92f3-0f44e08e3221",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "824a0082-2e9c-4e26-8a2a-cbdf54dac736",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8825b32b-9511-4af8-ae44-ee07b2502589",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b1290f66-1b64-408d-9db4-3ab198865206",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"MeasurementValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "aa967c6a-9678-4339-a193-22c7586a7bd1",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "8ea2b7f7-ad81-42b3-96f2-6714937f4132",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0a0d663e-9715-48f0-8e76-ff121b50f680",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "374336ea-3f51-44c3-904b-1895aa510c4c",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4f1f7d32-78ee-42dd-8868-3da3e50552b6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ef1c8d64-5844-48a2-a73d-f1b0de261b9b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0bd6ecb8-bf54-412e-941b-d5eb50f493fc",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5da25937-aeec-4388-ae98-17c881537014",
"FieldId": "79dc8add-be62-4f1c-91f8-bcb56fe56b51",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5da25937-aeec-4388-ae98-17c881537014",
"FieldId": "79dc8add-be62-4f1c-91f8-bcb56fe56b51",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e6793169-9160-40df-aaa6-7947ea87f2c0",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "f21aae15-e6dd-403e-bab3-8a56887ce632",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08: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": "88ac7816-f697-45f9-ac6b-c82ff4e0b6c3",
"Asset": {
"AssetId": "63ba774b-ea07-4da4-8eb2-fe2a22dd2f59",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1f796589-8bbc-4d94-a539-56ed1bbd88e3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1361d082-287d-4762-9888-524c66d68526",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "67c610ee-9b7d-407e-83fa-ed6f23147647",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"MeasurementValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d4a8ba50-58b0-41d4-98cf-4caa66726c41",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3843fb10-9d3e-4075-90c6-0a780cd1338b",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"StateType": {
"StateTypeId": "ac5f01c3-2039-428b-b52c-7cffe866a4f3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1f796589-8bbc-4d94-a539-56ed1bbd88e3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1361d082-287d-4762-9888-524c66d68526",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "53b3a80a-ae7f-402f-ad04-7f62e2998b31",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8b3f0ffd-f26e-42fd-ad8b-d9b909be6582",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "8a5bd69b-c578-42cf-a8e8-08311e82d348",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"StatusType": {
"StatusTypeId": "c6657f53-936e-4f97-85ac-7b89d8fa6d95",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1f796589-8bbc-4d94-a539-56ed1bbd88e3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1361d082-287d-4762-9888-524c66d68526",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e391de40-e302-47c4-a8a1-6a96efc31ba4",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "23277e83-0fa1-4ad9-932d-003287aab1df",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "319a991d-5ce4-48bd-8851-74d573a25953",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f4bf8089-770f-410a-867b-1e5d569a8ae3",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1610c9db-a8cc-477d-98a0-4ac866bf1f42",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "70ecb8e8-d89a-488d-a51e-fa9fa8ba94f9",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"MeasurementValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "19e499ce-d144-45be-a2f3-d180305d47bb",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-21T06:43:30.4194996-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "068a32de-2520-433a-a983-5941d29085fd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1f796589-8bbc-4d94-a539-56ed1bbd88e3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1361d082-287d-4762-9888-524c66d68526",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1c4a496e-cde3-417d-89be-b7b2cb65c7c0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "15654fcf-a2f6-43e9-a98a-5a9d7bae134c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d1eecb3e-cb49-4808-97fe-50b0785c0cbd",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b764b013-3620-4e12-a9c8-c1f21a8380f3",
"FieldId": "2bfde8f9-7974-4073-bc98-039fd3cfa277",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b764b013-3620-4e12-a9c8-c1f21a8380f3",
"FieldId": "2bfde8f9-7974-4073-bc98-039fd3cfa277",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-21T06:43:30.4194996-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9539f8b0-9fcb-4c62-9f96-6c1ea59a4327",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "a09d8293-b56a-4c4d-960a-37de094ca8f3",
"CreateDate": "2026-11-21T06:43:30.4194996-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-21T06:43:30.4194996-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}