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": "7e870715-3eed-4c22-8846-c92a726553ef",
"Asset": {
"AssetId": "60943123-2875-41a0-8fa0-45748a4a0e42",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "04f80ef8-f79e-43cf-99a7-8351acf195ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ca92d74a-e490-41e7-924d-de5369361ea5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "72211ac0-ed3c-4edd-a2fe-045f4151b573",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"MeasurementValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c3207101-aba9-4c31-bb07-b3b0428cd024",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "34193164-2b91-4b55-a79a-e68f58e21903",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"StateType": {
"StateTypeId": "7f9aa338-4a3c-48f7-b0d8-7362f5c017bd",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "04f80ef8-f79e-43cf-99a7-8351acf195ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ca92d74a-e490-41e7-924d-de5369361ea5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "40747acc-ccd8-47bd-889e-8813a10e56c4",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e98062bd-4cfc-4110-b857-58cc8f6cd86a",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "677a5c55-c5a5-459c-8231-a8bb0e39053a",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"StatusType": {
"StatusTypeId": "d877c6b9-1508-48a1-80c6-5e69f26356b9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "04f80ef8-f79e-43cf-99a7-8351acf195ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ca92d74a-e490-41e7-924d-de5369361ea5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "03d6cd22-6e62-47d0-ad50-1108c98d498f",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c37c0ecd-07d9-405d-9594-6138ab159869",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f3480b14-77a0-4671-9494-3de54fbae492",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "57e51b8d-308e-4a55-83d7-7e6337bef26a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b434b765-ba69-4734-9166-0ffa1a5411aa",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9d131bf9-4829-46ef-8cc5-b51c2048f872",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"MeasurementValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6a5d7ac6-972d-47e9-bb85-5325bee5f89d",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "57166d3d-2e3c-4d96-b97d-b77552964e55",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "04f80ef8-f79e-43cf-99a7-8351acf195ce",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ca92d74a-e490-41e7-924d-de5369361ea5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "aecbcd2b-534d-4298-ba7a-972f6564c8c6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7cae4fc2-2a17-4a65-9aec-dd48b3930964",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "58e43423-b4a6-403f-94a2-fe16f39e1df5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cbd71f46-eb98-49d7-91d2-244145a5249b",
"FieldId": "c499255b-b376-4c8f-a365-b593f8efcce2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cbd71f46-eb98-49d7-91d2-244145a5249b",
"FieldId": "c499255b-b376-4c8f-a365-b593f8efcce2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dd34f991-86b9-442c-99b2-01abb0cfebc2",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "9108d63b-c3e3-433f-b544-999c9f07abf6",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-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": "91c379d7-514e-4b5b-a9cc-3fb58139b5af",
"Asset": {
"AssetId": "0ba78690-ac1c-4c1b-815d-f29c03cb150f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "a7103b18-96cd-4dcf-9722-dd95e8cc7c52",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d7c80946-f5f6-4e71-8063-0ed2244ac879",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "424e34ed-3f78-42e6-bc3f-140cf60cc45c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"MeasurementValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "56c8263a-42b0-4492-be52-55c63f93c472",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9d5195bf-df12-44e6-9192-0e4be18626f8",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"StateType": {
"StateTypeId": "faa4297e-5406-4c42-8b06-0c1def61b7c9",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "a7103b18-96cd-4dcf-9722-dd95e8cc7c52",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d7c80946-f5f6-4e71-8063-0ed2244ac879",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9771c1cb-942a-4039-8dfc-037b278dbe2c",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "34b2e7a2-0d1c-48fe-921e-f8dd89197031",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "66685e26-6d0b-48e7-b219-6bc4db842c11",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"StatusType": {
"StatusTypeId": "ab1655a1-a7e4-453e-abef-70ed05220fc6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "a7103b18-96cd-4dcf-9722-dd95e8cc7c52",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d7c80946-f5f6-4e71-8063-0ed2244ac879",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5f4b95fd-83c0-491d-9537-be5d208c89b5",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "05775578-d283-4a87-bbc3-705500d22946",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fb9fd3a4-06ed-435f-bc93-694a0121c6af",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "fb309220-2eb9-4a30-94a2-0190ed5f8caa",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "936c05fe-e738-45ee-9465-57db27f0ba69",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "571e4bf6-c94f-4157-a4d5-bede55a02241",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"MeasurementValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4412a492-1eac-4290-96f8-505285b103b4",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-23T04:51:36.0938441-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "2a91eefb-5d89-4001-b206-dc38847b684d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a7103b18-96cd-4dcf-9722-dd95e8cc7c52",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d7c80946-f5f6-4e71-8063-0ed2244ac879",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d9c9b6a2-e64a-45bb-aca4-19d3fd310e82",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f76e582e-52b8-4010-b14b-935b7e2e7e35",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ea432e22-cf3d-4c27-afa3-bc73c6d2456d",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bf9a38c4-76f3-4562-9086-2433c9d19e86",
"FieldId": "1acde412-0c62-426a-ab44-eb8d70c49c52",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bf9a38c4-76f3-4562-9086-2433c9d19e86",
"FieldId": "1acde412-0c62-426a-ab44-eb8d70c49c52",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-23T04:51:36.0938441-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "06d01717-9f88-4c07-94bd-e2e2a925ec57",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "a2408c9e-12a1-4521-8096-338b749d9ac4",
"CreateDate": "2026-02-23T04:51:36.0938441-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-23T04:51:36.0938441-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}