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": "378fa2c6-d58e-43db-8542-c7a9d9113404",
"Asset": {
"AssetId": "846652e4-35cb-4401-ab2f-9c1e31bb595f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "85c19767-e2c4-4db9-8446-6edc25e72150",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8b809199-7d0c-48ce-a6b8-4491428931b6",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "93214d0c-e0b7-4170-9c96-53ef4b9c4ff7",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:56:47.5709427-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:56:47.5709427-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b2d8c13a-35f3-4f0a-95b7-1e222af53385",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "a9c2c519-e1e9-4de9-b868-7a27edceee94",
"EffectiveDate": "2025-11-17T18:56:47.5709427-08:00",
"StateType": {
"StateTypeId": "41f0ed34-1f08-4d8a-8af5-ae272b88877f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "85c19767-e2c4-4db9-8446-6edc25e72150",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8b809199-7d0c-48ce-a6b8-4491428931b6",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9f9556a3-1ecd-4cd8-b0e5-749d897c4890",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a3be3631-e767-40e8-9fd5-e723f39648c3",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d2bdc2bf-e347-4d6e-b714-f2e0c82cf943",
"EffectiveDate": "2025-11-17T18:56:47.5709427-08:00",
"StatusType": {
"StatusTypeId": "dd712d25-1d52-4515-9fc3-dfbbb3275350",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "85c19767-e2c4-4db9-8446-6edc25e72150",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8b809199-7d0c-48ce-a6b8-4491428931b6",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0b18a91f-acb5-41b6-8df8-6d4b9b93b8aa",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "faf253f5-ca88-4646-a1d9-c598f481d75b",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "af765be4-4d91-4218-ac1f-b5341acca1af",
"EffectiveDate": "2025-11-17T18:56:47.5709427-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "3dd71003-b9d4-4e07-b242-32c89195cab1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9ce8f851-6f61-480e-9573-cbf070879c4f",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f0e330fb-3952-4b07-8201-a4be59896258",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:56:47.5709427-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:56:47.5709427-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "349c6ac5-af19-43ab-9e8d-8e77ecd87d5e",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-17T18:56:47.5709427-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "6f95188e-ed2a-4989-af5d-b8f86be3d2ba",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "85c19767-e2c4-4db9-8446-6edc25e72150",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8b809199-7d0c-48ce-a6b8-4491428931b6",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "73a9b5d9-e0ab-4ceb-9e58-bd0ad0b17629",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "014c0081-1d4e-4fc9-b17f-e7602c01be36",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2090d7c5-3ea7-4425-aade-b0ac3a7af9ec",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "363a2c70-0fef-4505-bd15-3f2f797d734c",
"FieldId": "38b5a1a9-b4e7-4755-ab37-a590f51787a9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "363a2c70-0fef-4505-bd15-3f2f797d734c",
"FieldId": "38b5a1a9-b4e7-4755-ab37-a590f51787a9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:56:47.5709427-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b7df2ab4-7ac0-4eb3-85f8-00746e3fdf76",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "c72af447-aa6a-4e03-8022-77273c89e658",
"CreateDate": "2025-11-17T18:56:47.5709427-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-17T18:56:47.5709427-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": "4504e2f8-54c6-4505-8eaf-b680e6d59567",
"Asset": {
"AssetId": "25f76351-5aaf-4d13-b18f-c4a4f806ecac",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "379a7318-7e40-430e-8151-61b987312b2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ab50641-234d-4a26-89a3-08d23b92d466",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c3a01431-0642-4995-ab7b-1e2306b89794",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:56:47.5865683-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:56:47.5865683-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9ea07eb6-cf86-44c2-aea4-d15176c9680b",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "45f12a21-32d9-445f-a418-49196038c910",
"EffectiveDate": "2025-11-17T18:56:47.5865683-08:00",
"StateType": {
"StateTypeId": "ead43473-098b-4a81-a97f-0ae12e49a3c0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "379a7318-7e40-430e-8151-61b987312b2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ab50641-234d-4a26-89a3-08d23b92d466",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "dd5d9735-b6af-44bb-ac0a-eff01ec193bf",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "40e44690-403f-4247-b5f6-24ebd1fe0dbb",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "a79b3ee2-7105-43a5-9d16-67701058c7c1",
"EffectiveDate": "2025-11-17T18:56:47.5865683-08:00",
"StatusType": {
"StatusTypeId": "3a2cb19a-9191-4be6-a9da-5dc3a1d0dc94",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "379a7318-7e40-430e-8151-61b987312b2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ab50641-234d-4a26-89a3-08d23b92d466",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "4c449941-bd4b-4850-9a84-b7b29e2e913f",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "40b9bcb1-55b0-4a2b-a2b1-006e180540dd",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "17df959e-ae79-432d-b2e2-cfc6b3170a0f",
"EffectiveDate": "2025-11-17T18:56:47.5865683-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "c79d0041-4c4b-4ac2-88c5-7ba6294c95a6",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b49e9f4a-bddb-4555-8e83-b87d56b7eb20",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e3e134fe-d730-4444-bb8c-85e3005c71db",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:56:47.5865683-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:56:47.5865683-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b202fe7e-377b-4b7b-95b7-5414dae14e90",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-17T18:56:47.5865683-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "a5b5fc50-0e0f-4c20-a9af-caa75ec4a915",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "379a7318-7e40-430e-8151-61b987312b2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8ab50641-234d-4a26-89a3-08d23b92d466",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "95829a55-20d7-456f-9b03-8369d6d2f619",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0f0d23ff-6101-4d35-8eb2-888476920e3a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "20e6090e-9c93-4d17-af08-56e2d22bb5ac",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "aa4f1450-2094-456d-afa8-59fc3ec04f49",
"FieldId": "10348f63-bd3e-4f44-b853-d7cd36dc49a2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "aa4f1450-2094-456d-afa8-59fc3ec04f49",
"FieldId": "10348f63-bd3e-4f44-b853-d7cd36dc49a2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:56:47.5865683-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b5fc24ab-2613-4c19-b55f-0867a9800620",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "167c24e2-1f44-45cb-b002-38b1ebf92397",
"CreateDate": "2025-11-17T18:56:47.5865683-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-17T18:56:47.5865683-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}