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": "f52c2656-26e1-42a4-b1dd-c9bbb0216ba2",
"Asset": {
"AssetId": "034c3c27-a63f-4f58-81b5-45982e41e7cb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8c60131b-c260-4572-9ac2-a95d653ecfb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c6dda23b-1cb5-4c04-a8f6-91b5459ed169",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3d8a0727-3888-4354-8516-f95efe4e39f8",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"MeasurementValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "f92ac055-f09f-4e9b-82da-10df79fd23e0",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "93723bb4-6297-497c-b7b8-a949e61f1436",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"StateType": {
"StateTypeId": "296a40dc-8959-4bbd-9178-b61936482e46",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8c60131b-c260-4572-9ac2-a95d653ecfb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c6dda23b-1cb5-4c04-a8f6-91b5459ed169",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "de419d46-213d-464b-bee8-62e0bc169178",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "cbdb6fce-4f34-4f69-9fd9-2ba9c5450735",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "09c2a378-63bb-4f94-a9d2-bd2c5367c884",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"StatusType": {
"StatusTypeId": "e6d13e94-d181-4da1-b332-5a807d4f7812",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8c60131b-c260-4572-9ac2-a95d653ecfb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c6dda23b-1cb5-4c04-a8f6-91b5459ed169",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "17d62e8e-dbfd-4da6-a791-f6cbbb0ff8d2",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "93fb6fe3-838c-4849-9873-9a9ae03c18e6",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6917d810-4b42-47ae-82c3-78a21a0c3276",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "00ec94ba-82a9-4fde-8a55-a57c6fa4b43e",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f0c78b40-4ed4-4a16-b1fe-1daa3bd8d8c2",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "827d90aa-fb75-4c32-8722-3ee2327a221e",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"MeasurementValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a47e7ff9-9244-4078-bdaf-078e87ed0ee9",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "1def0aa2-8f0b-4d53-aa00-2542b18bc04e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8c60131b-c260-4572-9ac2-a95d653ecfb8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c6dda23b-1cb5-4c04-a8f6-91b5459ed169",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5d4b7362-d494-476d-b457-07432754d0ea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "93cd18cd-b07a-4ba0-aed3-542ebdcdba82",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d6014b24-091e-47b5-b23f-f69cf8e7673a",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c4f0ad03-2d1b-411e-adfd-5af471ab3494",
"FieldId": "9b67973e-864a-4ce8-98c8-fe64fff62e80",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c4f0ad03-2d1b-411e-adfd-5af471ab3494",
"FieldId": "9b67973e-864a-4ce8-98c8-fe64fff62e80",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d6a6f28a-467b-45f2-a427-63cb7de78212",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "abc4d258-cb17-4f36-a651-baf8a0595023",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-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": "4b422faf-44f4-4921-acdc-224e48d0d3ac",
"Asset": {
"AssetId": "0ca7e69e-80f6-478c-96dd-650bb3ff0204",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4ad7a240-9b16-4ebe-8d0e-ae6bea761950",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7cc9d98b-fa40-4ab6-8994-df77bfa24b27",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "cf7d6b90-a0d8-494e-8817-1c64c9dbf465",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"MeasurementValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "94ee99fd-233d-44d3-9ad0-7cd7406950e8",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "1628db5e-aca6-4efd-b257-0d52cd4492f6",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"StateType": {
"StateTypeId": "22c11e28-d743-4f24-8f02-04930c93e358",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4ad7a240-9b16-4ebe-8d0e-ae6bea761950",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7cc9d98b-fa40-4ab6-8994-df77bfa24b27",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "846ef931-86e7-4ee8-bb8b-cb3e38d7e87a",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f861cc75-278e-4574-8bef-0c3f370a486c",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "f7167b78-283b-4963-8369-f13a46f2ed72",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"StatusType": {
"StatusTypeId": "79a50625-ccaf-417f-99b6-5ed2b9122cdc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4ad7a240-9b16-4ebe-8d0e-ae6bea761950",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7cc9d98b-fa40-4ab6-8994-df77bfa24b27",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "72127db0-fa83-48e0-928c-1399e3e89e38",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c272366d-4b97-4377-b471-7f916d84d288",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "464595e5-4ad3-4634-881a-d54b1fc27093",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a8b56e7b-867b-48fc-b27b-6d27644635a4",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d9dffc9f-51eb-484e-8b71-018aae490abb",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "49b726ff-e0f3-455c-94cf-c4287fab4b53",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"MeasurementValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c1b9574a-697a-4879-a69b-7167c38066bf",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-02-02T10:51:33.1273393-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "cd372db3-5f98-4efd-b560-d02882b9e61e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ad7a240-9b16-4ebe-8d0e-ae6bea761950",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7cc9d98b-fa40-4ab6-8994-df77bfa24b27",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a9b390f4-c08b-4899-aaf8-ceeda5f4743e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "22aab3cd-5453-4cc4-b61e-4e9baae0e993",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "221b55b5-d88d-4af3-b73a-688f55bdbe79",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f4cafd42-ed54-4ca2-a83e-736455946c21",
"FieldId": "2948001e-1c25-44c3-bb06-738dea00df59",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f4cafd42-ed54-4ca2-a83e-736455946c21",
"FieldId": "2948001e-1c25-44c3-bb06-738dea00df59",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T10:51:33.1273393-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b92ed1d7-fc1a-4141-aacf-2d53f422a417",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "40499996-54de-4d4f-b99f-6973360b0e36",
"CreateDate": "2026-02-02T10:51:33.1273393-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-02-02T10:51:33.1273393-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}