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": "cdf38ea1-eaa3-49a5-9077-9ea40906b51e",
"Asset": {
"AssetId": "8b9cd7d1-c319-4efc-91b1-e61c12ff03da",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "2f858244-fc78-4a19-8dec-35399aff1125",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3cbd49b6-f44e-490e-af07-6817518a30a6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e550727a-1520-44ba-8679-3604dce40f90",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"MeasurementValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b1a0fe33-66a9-4441-9734-0b9677c8fd4f",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5528bc9a-0c02-4c69-a5c7-8fe7e42c3cca",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"StateType": {
"StateTypeId": "0bc75710-92c3-4e95-becb-7088d4798549",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "2f858244-fc78-4a19-8dec-35399aff1125",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3cbd49b6-f44e-490e-af07-6817518a30a6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d57ea165-47f5-4d64-b0b0-b4f68d9cf928",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2e7fad37-0789-49ca-8268-a3a1304a9bf4",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b8e99196-d865-42ac-a04e-8feb364d60e5",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"StatusType": {
"StatusTypeId": "a8a2f7e7-3daf-4e77-905a-c57286755998",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "2f858244-fc78-4a19-8dec-35399aff1125",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3cbd49b6-f44e-490e-af07-6817518a30a6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "bfa841fa-d1d3-4d32-a7bb-705342653bfc",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d675bf2-dede-4686-847a-4389442d84ce",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "52c21cd2-9a3d-47ce-b8be-f5049c4ff731",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "63fc46b8-228e-4575-bc37-2206b742708e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "133aa2dd-a051-4ddc-8808-62eced7e5d94",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2b1fd9e6-f053-4c66-9974-e6fadbee5aed",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"MeasurementValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d09321c9-32d1-4988-b853-d3f33de72890",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "4cc3032c-faea-4a4a-9ef1-221990bbcb3a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2f858244-fc78-4a19-8dec-35399aff1125",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3cbd49b6-f44e-490e-af07-6817518a30a6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "56b25499-3ac3-49bb-aaf9-455a4750f072",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "06bffa0c-35a5-4a1a-8271-ecd8f5f4afdd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "440d6894-5b78-4ab4-aa70-18223032055b",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "62baf5a8-cab0-46eb-849a-5e59a67378f9",
"FieldId": "f1bdae0a-2a49-4dad-9abd-4d36ea35f5e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "62baf5a8-cab0-46eb-849a-5e59a67378f9",
"FieldId": "f1bdae0a-2a49-4dad-9abd-4d36ea35f5e5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a6748da3-4d4b-4911-8d72-8bb577faeb8d",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "2c1320c8-64e7-48a6-a9dc-21a649fdbf67",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-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": "6e4c95e9-381e-4df5-b83e-5bf02910e426",
"Asset": {
"AssetId": "751bf82b-08b0-4067-95af-7900f83896a0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "1d236bde-c795-4c89-98b4-6cd44989a4e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aad0759f-54bd-416c-b467-d99ac5aee2c5",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6839bf5c-7412-4bab-84ec-7f7720025bd2",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"MeasurementValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "94fa6ceb-c2ed-4cd3-8eb8-96c8ff496cd7",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "52aa10cb-778b-4360-9c04-f8b941c66ace",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"StateType": {
"StateTypeId": "0dfc6bf7-5b5c-4442-915f-8a319040995d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "1d236bde-c795-4c89-98b4-6cd44989a4e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aad0759f-54bd-416c-b467-d99ac5aee2c5",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "34648376-bac2-40b4-b76b-50a7de052f4d",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ac041776-d922-4fba-b40a-f8b01d57d86c",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "dd5b7a3a-fe82-4dd9-8f60-9e89ceba3096",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"StatusType": {
"StatusTypeId": "bcb3757e-7d0a-4c6f-87a1-53cb9569a742",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "1d236bde-c795-4c89-98b4-6cd44989a4e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aad0759f-54bd-416c-b467-d99ac5aee2c5",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "590327d7-e417-4a83-a0f8-f52eef826904",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "21b19fec-baba-475f-a271-3be6c5ab7bc6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d7cbcd7e-9182-4414-a3ee-3ce397620f76",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "30da8538-2018-4c1b-821a-39b8f46d3c33",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "910362b0-e826-4947-8299-24c55a2e838c",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "adeb4412-f1d4-45fe-bd4f-4f13e579a5f7",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"MeasurementValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f0a6d158-8825-492f-a56c-6b7c292252d2",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-09T21:09:56.8963652-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "efd87a51-81b8-428e-adc5-db77031a68de",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1d236bde-c795-4c89-98b4-6cd44989a4e0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aad0759f-54bd-416c-b467-d99ac5aee2c5",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "23a5be67-ea20-447b-8a04-c9268aa39292",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5de18f9d-a5d2-4b7c-9bd7-88eb36fec010",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3147cce8-7ed3-4a0a-87ed-67c899be23a3",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ff162d40-94e9-4536-9e8d-3831f678be63",
"FieldId": "36502329-94ba-415d-961c-e8debe596e99",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ff162d40-94e9-4536-9e8d-3831f678be63",
"FieldId": "36502329-94ba-415d-961c-e8debe596e99",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-09T21:09:56.8963652-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d3dccce3-f198-4415-a831-ad4962835017",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "03e47c06-92a8-4f8b-a747-b9b2b8f1c4d6",
"CreateDate": "2026-03-09T21:09:56.8963652-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-09T21:09:56.8963652-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}