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": "1b9cf7b2-0ee7-439d-939c-80e434db1e30",
"Asset": {
"AssetId": "bc74d679-7938-4d58-911a-11629f99835b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9cf45f9b-025a-4b55-9cfc-5edf08d3cc20",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce881c6b-8b0d-4ce1-af30-a8e86335753e",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "08f15fe0-99a8-496c-91a1-c786fc79f133",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:38:11.6745343-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:11.6745343-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "96ea643c-7dfc-47a5-a71a-d55e288b5487",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "643d295a-1225-4d80-b375-7f77c7265c4e",
"EffectiveDate": "2026-09-13T23:38:11.6745343-07:00",
"StateType": {
"StateTypeId": "b2c7ea97-bd34-4a83-815f-c6e4c722d1e3",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9cf45f9b-025a-4b55-9cfc-5edf08d3cc20",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce881c6b-8b0d-4ce1-af30-a8e86335753e",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d136efb1-7486-4be1-a895-4c80fdd19353",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f39417b4-b491-4403-82b8-0c261d9b82ef",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "490348a0-f193-42f5-b297-d3a909430642",
"EffectiveDate": "2026-09-13T23:38:11.6745343-07:00",
"StatusType": {
"StatusTypeId": "9e22abd4-7146-4219-8f69-153b86ac073f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9cf45f9b-025a-4b55-9cfc-5edf08d3cc20",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce881c6b-8b0d-4ce1-af30-a8e86335753e",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9ea3c7ec-53ac-4652-bfd4-86044130a270",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "120ffc6a-186a-4cdd-af20-ae13a5f62692",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e617c966-793c-4837-bfc6-3ae4058c6a4d",
"EffectiveDate": "2026-09-13T23:38:11.6745343-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9a0c43a8-77ef-42ff-997a-cffc542fa9ae",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c831c042-6a81-4358-8f9c-995b8094565d",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ac69d370-480a-4056-be22-a6b33ff41f54",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:38:11.6745343-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:11.6745343-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5de9adf1-1d50-4e9d-bd9e-5ae58f675a13",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-09-13T23:38:11.6745343-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "607ebe04-210a-4e74-acd1-de538b695ea4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9cf45f9b-025a-4b55-9cfc-5edf08d3cc20",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ce881c6b-8b0d-4ce1-af30-a8e86335753e",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6c6a226f-5fd5-4188-ab6e-bcfa05dfeb6d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "89340f3a-16a1-4840-922d-eb8e03181f55",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a890f10b-a2a6-49c1-83b5-b939adffaa03",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e935c493-e4a9-4963-b656-be1f1ab0d8ec",
"FieldId": "866967cd-2005-4684-9b2e-2ab194dcc5b8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e935c493-e4a9-4963-b656-be1f1ab0d8ec",
"FieldId": "866967cd-2005-4684-9b2e-2ab194dcc5b8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:38:11.6745343-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3e3ea086-2c95-4d2b-9c1e-7f81f13f6c68",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "55627133-11cc-482e-9fd3-1edbb7fae1c1",
"CreateDate": "2026-09-13T23:38:11.6745343-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-09-13T23:38:11.6745343-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": "8881eb45-9249-42c1-ae56-fd04bef6e071",
"Asset": {
"AssetId": "4cd4a752-fc84-4713-bdd5-5c9e8a14978f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "aa8cd53e-69b9-4797-8a35-39a0bd990aa8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f02a2fba-7337-4b15-b665-e49349d6ac3e",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "5e16c2e5-f2dd-4488-8933-7453bf576aca",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-13T23:38:11.6901021-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:11.6901021-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "36b55d2a-0c09-4296-a89c-064f2fcea221",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "30c20ec4-216c-44c3-bc9e-c476719f48e0",
"EffectiveDate": "2026-09-13T23:38:11.6901021-07:00",
"StateType": {
"StateTypeId": "94be2e80-5b07-4199-adef-c57aa4ace286",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "aa8cd53e-69b9-4797-8a35-39a0bd990aa8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f02a2fba-7337-4b15-b665-e49349d6ac3e",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "c423d235-0277-4c0d-b62c-65b88e1bd9e6",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "16910ad7-8013-4157-b7f9-94231a0cec7b",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5de2bf55-6176-41a3-9660-83b7aa897072",
"EffectiveDate": "2026-09-13T23:38:11.6901021-07:00",
"StatusType": {
"StatusTypeId": "ecdf9416-35ce-46e9-9e3a-ed9d34d2d0f1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "aa8cd53e-69b9-4797-8a35-39a0bd990aa8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f02a2fba-7337-4b15-b665-e49349d6ac3e",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "2b833b6f-436d-4905-9973-30e602a821c7",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ed899362-1798-4a13-b957-b721a63671dc",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "4319f1da-7709-4a74-834d-fb41e9a34120",
"EffectiveDate": "2026-09-13T23:38:11.6901021-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "7d452aad-7b60-4814-9d3d-f004ffc263c8",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ba4752af-3a24-4a66-a1a7-7d3f2e067a29",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "831bdd9a-c227-40fb-a55a-fc8aacf46019",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-13T23:38:11.6901021-07:00",
"MeasurementValueNeededDate": "2026-09-13T23:38:11.6901021-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "beaec5c8-c29b-4274-a14e-82dace146743",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-09-13T23:38:11.6901021-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "ad0379fc-547d-4f07-bb51-ab0f0cb0ce67",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "aa8cd53e-69b9-4797-8a35-39a0bd990aa8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f02a2fba-7337-4b15-b665-e49349d6ac3e",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "24535859-4b8a-4890-b812-b32772899ebd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "837a4561-a0d9-408b-b5ce-da2666415b3a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4384e548-7641-49dd-8f94-c0f633d945c1",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1dbe92f3-b459-4349-8fc1-3ae5e50a04bf",
"FieldId": "31d7b0b5-c2aa-42e4-9df5-6692d3247684",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1dbe92f3-b459-4349-8fc1-3ae5e50a04bf",
"FieldId": "31d7b0b5-c2aa-42e4-9df5-6692d3247684",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-13T23:38:11.6901021-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1c6171b1-6a0e-47c3-949f-6c4771100336",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "2952dd8e-b73d-407d-9b5d-769b6975193d",
"CreateDate": "2026-09-13T23:38:11.6901021-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-09-13T23:38:11.6901021-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}