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": "cd3ca1bd-a44d-47e6-9202-7ed15cdc4d67",
"Asset": {
"AssetId": "94685a8c-b679-487f-b1cc-0088a95d0198",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "361f92a2-3d3c-43ea-9a2b-aa6e8d1580db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8bbce9e8-06d1-4b76-bb35-c840d088a63f",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "dc8f496c-1011-4ec6-85e6-8900b4f2c422",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T07:29:26.7363499-08:00",
"MeasurementValueNeededDate": "2026-11-01T07:29:26.7363499-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3c7a8779-f197-446d-8e55-7e6f18047f20",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3e08a1f1-9032-4a5f-a5e7-e27674302a11",
"EffectiveDate": "2026-11-01T07:29:26.7363499-08:00",
"StateType": {
"StateTypeId": "7b73d942-09bb-468c-92e9-9e46bdb4282d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "361f92a2-3d3c-43ea-9a2b-aa6e8d1580db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8bbce9e8-06d1-4b76-bb35-c840d088a63f",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "cc43a860-94e1-43b6-9285-042c5a5f1f9f",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e77d0efe-1577-4e82-aa1d-efae4f991230",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "51b7b633-e751-44a4-83a3-e4dc2b264446",
"EffectiveDate": "2026-11-01T07:29:26.7363499-08:00",
"StatusType": {
"StatusTypeId": "234883c9-13f4-4fe3-b141-17dc684978d9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "361f92a2-3d3c-43ea-9a2b-aa6e8d1580db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8bbce9e8-06d1-4b76-bb35-c840d088a63f",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "21d401d7-9ba3-4ed2-890d-c1c057925eeb",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ed8871b6-2935-4e4d-9f64-e0054e55ea95",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "db148daa-9d01-4bd8-928a-cbdd8b59aa8e",
"EffectiveDate": "2026-11-01T07:29:26.7363499-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "0433a722-3e86-4fce-b8cf-54bf61c46e17",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "17b1a161-8b70-46de-a315-0bba295ad9cf",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dde58ff2-9678-49ae-8443-2d7654ab3fb7",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T07:29:26.7519998-08:00",
"MeasurementValueNeededDate": "2026-11-01T07:29:26.7519998-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6899af67-8967-4737-9552-ba4e6d8eddf6",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-01T07:29:26.7519998-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "ba85b1a4-9e6d-4e3f-a244-6f47934f93af",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "361f92a2-3d3c-43ea-9a2b-aa6e8d1580db",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8bbce9e8-06d1-4b76-bb35-c840d088a63f",
"CreateDate": "2026-11-01T07:29:26.7363499-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7363499-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fc2cc7bf-76cc-41e8-b8ad-30a7f77ddb9e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2328a946-e7ec-43cb-a5c5-981bf24077cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c674caba-5c78-49fe-8870-c0715466384a",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fc2a2a8d-d09f-434d-ac87-c8b97ea19aaf",
"FieldId": "ca3ff6b7-d7e0-4b16-a809-7f2ece673c0b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fc2a2a8d-d09f-434d-ac87-c8b97ea19aaf",
"FieldId": "ca3ff6b7-d7e0-4b16-a809-7f2ece673c0b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-01T07:29:26.7519998-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ac1e381a-f68e-40cf-af0d-c87acb06cd7f",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "f66c2adb-4027-4e09-93d7-5f2970df0af1",
"CreateDate": "2026-11-01T07:29:26.7519998-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-01T07:29:26.7519998-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": "c55a9dc8-da08-4c41-800b-6f16aad55fbf",
"Asset": {
"AssetId": "979adf5d-253c-485c-9240-3ef1563cd12c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "eeb495f2-005c-4a83-bf44-3fc367e68958",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec1c00e6-8651-4b2c-89ac-d688252d87e9",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "29aea98d-e442-4a80-a7b3-6f371735a710",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T07:29:26.8144085-08:00",
"MeasurementValueNeededDate": "2026-11-01T07:29:26.8144085-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2b0c073f-3556-4441-8138-ac13bae60001",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "921f4817-aaba-4894-90b7-b41e42a98f7e",
"EffectiveDate": "2026-11-01T07:29:26.8144085-08:00",
"StateType": {
"StateTypeId": "e4d6e52f-0f42-4a2e-8360-1f33b29c905f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "eeb495f2-005c-4a83-bf44-3fc367e68958",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec1c00e6-8651-4b2c-89ac-d688252d87e9",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b3efa6fd-2f15-4cbb-82ab-2c382daa57f4",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "60b2a549-0cd4-4713-ad9d-1082bc539117",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "01964b00-c2ef-48ff-8b6b-a397adb7ecc9",
"EffectiveDate": "2026-11-01T07:29:26.8144085-08:00",
"StatusType": {
"StatusTypeId": "ad57b6f3-d217-4a79-83d6-71da12b9d28d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "eeb495f2-005c-4a83-bf44-3fc367e68958",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec1c00e6-8651-4b2c-89ac-d688252d87e9",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "e8d3c932-dd46-446b-94bc-e054e02646b2",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a2b68301-77e0-4d55-937e-1ad4973b0640",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d1fe5128-3051-4e00-81cd-377a4b9a5a5e",
"EffectiveDate": "2026-11-01T07:29:26.8144085-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "fa8cef8a-b039-4c61-b27f-3a88cd53e532",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "111cb841-7c8d-4ced-af12-ef85edb68538",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "20554f9d-7ea6-4b9b-a755-03897478ddf7",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T07:29:26.8144085-08:00",
"MeasurementValueNeededDate": "2026-11-01T07:29:26.8144085-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ae486c53-ff9a-4da9-92c3-eafd5724aa2f",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-11-01T07:29:26.8144085-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "2d6b4695-91c3-45ea-b32d-d30cfc6bf6ab",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eeb495f2-005c-4a83-bf44-3fc367e68958",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ec1c00e6-8651-4b2c-89ac-d688252d87e9",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a593f706-28b4-48fe-a3e4-246e89ba660e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "befba78f-9909-4b2e-a44d-4a809b871b97",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "acf769d3-26ec-4425-a72f-f3116ce18bb4",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "55e5c655-2441-45a3-b8fc-e71c9fd1f947",
"FieldId": "5ee551a0-5fc3-4150-b93b-65aa96fa381f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "55e5c655-2441-45a3-b8fc-e71c9fd1f947",
"FieldId": "5ee551a0-5fc3-4150-b93b-65aa96fa381f",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-01T07:29:26.8144085-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "95a5f16a-2e90-4c52-93a5-f8d7ff364d9a",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "02a654de-1f0f-4b59-8464-cfc6183a5590",
"CreateDate": "2026-11-01T07:29:26.8144085-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-11-01T07:29:26.8144085-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}