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": "37e9932b-dc40-4762-8fc3-7b372dcc6aef",
"Asset": {
"AssetId": "6d37ccfe-4b67-4d1c-9502-8258a7cc4869",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f797f0d1-fa77-4a28-aa38-bc10ad847f4d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d8808d12-68eb-4a61-8f65-975444d99956",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3b9295b0-291b-41b8-a441-681e52ffa0eb",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"MeasurementValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "0e53b263-226d-406f-8a26-cc9107cc6cd9",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a97a7b69-17f2-44a0-ac82-35a81dc73623",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"StateType": {
"StateTypeId": "8de5a936-7998-4b3e-9eb1-a960c58b2741",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f797f0d1-fa77-4a28-aa38-bc10ad847f4d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d8808d12-68eb-4a61-8f65-975444d99956",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "2e78d4d6-8ed4-4205-86ce-e935897755bb",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ec580c5b-fd9c-4d55-82e8-e7cd7083594e",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "e316e99c-a08e-4c9e-985b-8e18da054ca2",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"StatusType": {
"StatusTypeId": "44e5d618-1494-44f0-aa2f-4a37491ea330",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f797f0d1-fa77-4a28-aa38-bc10ad847f4d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d8808d12-68eb-4a61-8f65-975444d99956",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "338171a7-db1c-448b-86cf-77e4e1e5f01d",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "157c96d3-2e8a-4672-a4ab-1ad85f58c634",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "17c17d30-3263-47f3-9e73-0cee73fa4dc4",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "571c6261-50ba-439e-a2e8-2b843b9765ee",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3602dbad-8cd9-466c-af58-758af0f789d7",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "30a316dd-0a96-47b9-b215-ae73a87dc0bb",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"MeasurementValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0ccd5290-2d46-4920-bb48-317fa82e5769",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "a7289082-e93e-45f0-b93c-0a78d723004f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f797f0d1-fa77-4a28-aa38-bc10ad847f4d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d8808d12-68eb-4a61-8f65-975444d99956",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f0049600-95d3-43dd-8c4f-3a1c121ed8a5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40062031-f53b-49e5-b1d1-e02f8c47b83e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e2bd6466-ea98-4329-835f-06e4b5f20e75",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1607b2a6-eafa-47d8-93ce-e496a774f2fd",
"FieldId": "83cabb5d-7e50-4920-bb3e-805d0000b9f2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1607b2a6-eafa-47d8-93ce-e496a774f2fd",
"FieldId": "83cabb5d-7e50-4920-bb3e-805d0000b9f2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "257a64d7-2d1e-4e2c-8a89-d40cd378368b",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "e5b0ca4e-2779-40bc-91a4-f2efd405d4b2",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-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": "f9527887-56b4-4784-b4bf-b32129e94aa0",
"Asset": {
"AssetId": "768736bc-2228-4a3b-9cc5-a8d93b07373c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "71578081-2aec-4ec9-9d45-c1191c1c4b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2c21a49-ff4c-4628-8d0e-4276fe5d1e93",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "d80f0247-a9e0-47ee-bc0a-29b48e3c5dd0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"MeasurementValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "306e11ce-e95d-4aec-9c4c-02ea6fdabf0a",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6a43adb7-ea6f-4738-b70e-8702fecb8649",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"StateType": {
"StateTypeId": "2a2399e5-3070-444e-91b0-9c06a72cae78",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "71578081-2aec-4ec9-9d45-c1191c1c4b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2c21a49-ff4c-4628-8d0e-4276fe5d1e93",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b40076b5-fb00-484d-a4f0-58566db646b0",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cd9561ad-22a5-4cc2-bf65-56d144c73faf",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "45ef93eb-db01-4a7a-ab14-b2e7347b0778",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"StatusType": {
"StatusTypeId": "9ee9e132-8296-4837-b8e4-85c547e208be",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "71578081-2aec-4ec9-9d45-c1191c1c4b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2c21a49-ff4c-4628-8d0e-4276fe5d1e93",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4c93fc95-77f2-4a3c-977d-bf41cf39cf82",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9b80baa3-c140-4655-8691-f106a5144f64",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "274a4d17-a51f-476f-a3e0-8d1f1c97273c",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "f3637148-cc7c-42fe-91ab-6affe46f12ee",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1ea851d9-3ea9-4573-9b90-144f3e6461eb",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "de602498-9edb-433e-910d-b5072b5865af",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"MeasurementValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4ab86787-fddf-424d-8b0d-77cae293c7c3",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-03-30T11:42:34.1133923-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "65698ec7-0208-46c7-94ed-8a1a54560007",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "71578081-2aec-4ec9-9d45-c1191c1c4b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2c21a49-ff4c-4628-8d0e-4276fe5d1e93",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "71e0ad62-4cce-473c-a279-c455097bb4c0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bb5d2ff7-ac25-4b96-a24c-5216405ce64e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2b532e31-fe6a-4785-b392-843b88054f3d",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "16ae7bf5-d85e-4584-8bdf-751f2c272145",
"FieldId": "51e4b8cc-6aa2-49c0-ac15-3d6cc8814f22",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "16ae7bf5-d85e-4584-8bdf-751f2c272145",
"FieldId": "51e4b8cc-6aa2-49c0-ac15-3d6cc8814f22",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-03-30T11:42:34.1133923-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d63e465e-37c1-45a8-963e-ecd95108c225",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "5617f37c-4b30-4aef-9e40-bf92544355fc",
"CreateDate": "2026-03-30T11:42:34.1133923-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-03-30T11:42:34.1133923-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}