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": "d7232f9b-c89c-4968-a685-2e2bc4c5d04e",
"Asset": {
"AssetId": "43e260a0-9084-4c04-9057-87efa42a4778",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9b4c919f-c6d3-47dc-a381-0058be920523",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0072ea85-cb2c-4f91-bf46-108405ee54b0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c7f6271b-db47-4814-9a14-db749f980f85",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "6d512913-26b0-4c0e-8d95-ef523d0071e0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "0f7c599b-0d39-4f95-a948-1394b9cb2362",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"StateType": {
"StateTypeId": "b5ae6dfa-98d9-43ad-9328-08386aa0a282",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9b4c919f-c6d3-47dc-a381-0058be920523",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0072ea85-cb2c-4f91-bf46-108405ee54b0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "a1fb7d44-40a6-41c8-969b-b821a1588538",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b6eee0e8-f165-4da9-99d6-8a4478fc09e4",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c36693cc-cc26-4736-9a0a-d70df2bba3d7",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"StatusType": {
"StatusTypeId": "2685dbab-ec72-4cca-8d3b-1dd27331251e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9b4c919f-c6d3-47dc-a381-0058be920523",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0072ea85-cb2c-4f91-bf46-108405ee54b0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "c534af94-e0d8-4971-80c6-ed2d611d7e42",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bc66853b-27d8-4a42-915b-bfb007621c44",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "79ff51c0-181b-4711-9f18-3f34d8b8263b",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "00c023ce-3dae-4481-998d-970a64606a5d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3f3e2cb4-b4d9-427c-8ccd-001f9ded4a47",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1e0d86e2-3f6f-44e2-bc4b-aa4b91052b26",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "21a9260c-e323-44ac-91d6-92a32a988fb6",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "25f8b656-2a50-4767-a115-4bd9a8c9003d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9b4c919f-c6d3-47dc-a381-0058be920523",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0072ea85-cb2c-4f91-bf46-108405ee54b0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9024f1c9-34c4-4f4b-89b5-3f4cef21e580",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "675499a3-3e24-4548-a321-7a89c0aeea3d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "84bc8088-eaaf-4e74-b38f-a8d1b571952d",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8dfa46f5-50c3-4e97-a2ae-29c586e78a3f",
"FieldId": "1ed6a67b-b481-450b-bdd6-af89b95ced9b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8dfa46f5-50c3-4e97-a2ae-29c586e78a3f",
"FieldId": "1ed6a67b-b481-450b-bdd6-af89b95ced9b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "67e6b605-07ba-456a-a97f-2c4cfe32a16c",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "79479f2b-539d-42b5-8f97-3b47d7219ff5",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-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": "6dd8d7c7-66cd-4f59-9392-d35caa201115",
"Asset": {
"AssetId": "800b8590-81f6-4baa-abc7-8b3cdb4ffbe0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a2c30561-6897-4db5-9c71-ee52ed02b581",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0c710deb-5b89-4e8f-a4e5-946b96511d52",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "07955536-94b7-4fdc-8776-f39b51dcd718",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c30d1d32-3f10-49b0-99f5-b9e0a22e35e8",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5faf723a-25eb-4caf-895e-133b8e50d68c",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"StateType": {
"StateTypeId": "bc6bb067-e8b3-442d-b5d2-d78be36b7d1b",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a2c30561-6897-4db5-9c71-ee52ed02b581",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0c710deb-5b89-4e8f-a4e5-946b96511d52",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "3b81791b-4e02-4a12-8e93-f9c9cc81d377",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "21ecbc32-b3dd-42b3-9d7b-ccc7cb4799ba",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ae5d9bb4-0815-4e19-b550-01a1fea5fad2",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"StatusType": {
"StatusTypeId": "907b9a17-8fca-441e-9be9-9fb27fd034e8",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a2c30561-6897-4db5-9c71-ee52ed02b581",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0c710deb-5b89-4e8f-a4e5-946b96511d52",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6754267f-2d42-4cfb-abdb-137ed26cbf7f",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5f2addc5-3cf7-4c11-aced-e1c63199fad8",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "b5a644d6-be2a-415d-80e2-b20c8f052c88",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "e1b2f1e0-a9b5-4ada-ac3b-59617abdc6c2",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3c6f4e0a-bb47-4f6a-a07b-06399bb36de0",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "7093eeab-3ea4-4cfd-a31a-cb0cc15a5902",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"MeasurementValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "830c8713-cfb9-4408-925f-d5590546edd3",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-17T17:27:16.5590497-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "9b20f089-0bc3-493d-9fc4-d1fac946501a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a2c30561-6897-4db5-9c71-ee52ed02b581",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0c710deb-5b89-4e8f-a4e5-946b96511d52",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "579ec8a5-1ee5-4640-bdb7-3c44ddcd03e6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "31577b29-538f-4a93-b136-410ef659e62c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ec72693e-53ad-4adc-be20-2c88e99d1b7d",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d7155b78-08d1-4968-9030-086e30431ff5",
"FieldId": "c6c528d6-f408-42f7-a7dd-31b3ddae83e9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d7155b78-08d1-4968-9030-086e30431ff5",
"FieldId": "c6c528d6-f408-42f7-a7dd-31b3ddae83e9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:27:16.5590497-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "23f442e7-5b90-44f3-868d-6486ffcb673c",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "e7bb3eb4-26db-4fce-9892-33f9d4378d68",
"CreateDate": "2026-06-17T17:27:16.5590497-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-17T17:27:16.5590497-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}