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": "3e5b4e1a-c76a-4d41-9df2-a4cbf809f713",
"Asset": {
"AssetId": "fe6b9fe0-689a-487f-b6d5-c581aeeda042",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "28337bb5-2a83-41f9-8c05-f7f646a6cc8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3470caf3-738b-44d8-93b1-bbd5ba1e0c5f",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f81d1238-36b4-4e25-b89e-7bcec877c275",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c8e44b86-4e6e-4b3e-867f-992c422834da",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "c9a409b1-ead0-40ab-b432-2ac00f69bf78",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"StateType": {
"StateTypeId": "4fbe7f2f-2e09-4af9-b370-b874ffc274a7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "28337bb5-2a83-41f9-8c05-f7f646a6cc8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3470caf3-738b-44d8-93b1-bbd5ba1e0c5f",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0c0c291c-defb-4108-a1d0-c51673fed161",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fa896cbe-1920-43e4-a4a9-7ff9577f0f21",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f510ba8f-ba4d-4660-a3a9-0352856db892",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"StatusType": {
"StatusTypeId": "901cf94d-61fc-481a-bfa0-cccc1bf30c78",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "28337bb5-2a83-41f9-8c05-f7f646a6cc8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3470caf3-738b-44d8-93b1-bbd5ba1e0c5f",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "fef4b98a-84cf-483a-a8d4-88ad8080ee57",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b304bdf6-6bca-4319-8269-03a33e537a1d",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "1b37c2e5-9dd2-4b72-b127-497b2bc4bdb3",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "90b32912-3f92-4aa0-acaf-5d22fa0d4ff7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "05372feb-279d-4d04-9fbe-87866e43edb6",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "50dd2a87-7fe5-4c10-95ab-e112a7257a17",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "04cd69ee-c466-4402-9a8d-8dcdeecbd270",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "ac53ce69-4e7a-4986-b619-517bc8e0835e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "28337bb5-2a83-41f9-8c05-f7f646a6cc8f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3470caf3-738b-44d8-93b1-bbd5ba1e0c5f",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a83726f7-0b55-4aa0-858c-1092f8992533",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6cb6b621-4635-4930-aec0-c821ec9aa3fc",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "24cc73bb-0fae-46e3-8d43-80b239b47095",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6fa24cc8-252f-41d3-b746-74eee2e80b6d",
"FieldId": "b5843454-80f7-499e-984c-594cf7039b2b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6fa24cc8-252f-41d3-b746-74eee2e80b6d",
"FieldId": "b5843454-80f7-499e-984c-594cf7039b2b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8d5dc9e-2db7-4f0f-8a09-88634def4a80",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "7025c004-d19f-490f-ab5e-ee907486d337",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-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": "d247941d-750f-4219-b9a8-ca1e504c4d6e",
"Asset": {
"AssetId": "45cf6394-8d11-4e27-a362-d85f1f149ea9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9c2de60c-e84c-4247-9cea-8c7b89205101",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3382f58d-99d3-43de-8479-4db9351878a5",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ed76b5c5-582f-480d-9186-26d1ab6bd298",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "d27f2a79-5fbe-435c-b5c1-580f9a3f1e7a",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "7e2122d5-2eee-4a6b-b37d-2bb4046c5447",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"StateType": {
"StateTypeId": "ba4ba105-9e11-4901-99c0-0aee8db3b72d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9c2de60c-e84c-4247-9cea-8c7b89205101",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3382f58d-99d3-43de-8479-4db9351878a5",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9f2352c6-70d1-423e-b5ab-974379aa7f18",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a34df061-f0ac-4779-9d4c-b95484b3eda6",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c392fcb9-8d6a-4b76-87f2-4b42bdf16023",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"StatusType": {
"StatusTypeId": "d13cb39f-6a38-4758-88a1-5ee6366a3bb6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9c2de60c-e84c-4247-9cea-8c7b89205101",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3382f58d-99d3-43de-8479-4db9351878a5",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "95073255-1781-4d2a-b143-8f8f4d70b11b",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "009cf40c-662e-4854-8164-4ac2b005011d",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "976ae017-a80f-4343-a515-3a866e87f9c2",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "8f87f157-8abf-4a5b-b08d-5e7202bac785",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9f579fe3-6f16-48b1-97f7-f8227d05e63d",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "235ce60a-2517-48a0-87ec-f28d08e1cd44",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a22e92e4-6da9-4d00-b932-d2d8785ed24e",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-06-01T20:27:36.1320481-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "109e5b40-795a-40dd-b1a7-3c31f0b5f48d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9c2de60c-e84c-4247-9cea-8c7b89205101",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3382f58d-99d3-43de-8479-4db9351878a5",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "b2c8720d-5419-4e6b-a79a-098fb4de6cba",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b2de84f0-a88e-477e-8845-29a448f58c1c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cbdab006-3bd6-428b-9fe2-2af2dcead2d5",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bb0869a7-c174-4de4-b64a-6624248d9752",
"FieldId": "6dec7705-fd44-42e0-b33c-b09b1d5f5402",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bb0869a7-c174-4de4-b64a-6624248d9752",
"FieldId": "6dec7705-fd44-42e0-b33c-b09b1d5f5402",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-01T20:27:36.1320481-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c80e9faa-4f56-4a4a-871f-bf87f85e4e71",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "0b24e0bc-17f7-4714-8c85-1acc1b115f95",
"CreateDate": "2026-06-01T20:27:36.1320481-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-06-01T20:27:36.1320481-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}