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": "d61989e8-6ded-4fe8-954f-64276d595143",
"Asset": {
"AssetId": "4faf6ea6-0174-4be6-90dc-780fbb069361",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "9a8a0650-a00d-4467-8472-633265864873",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4dda1bbd-a1d1-48fe-aedd-7a06a0d76858",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "ed8eaf23-5a05-41f6-9f38-34442ab422aa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3ab9923c-e759-4a51-8605-b34fde08d611",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "f03e0ac7-cb94-4643-b99d-d86f39f8c2dd",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"StateType": {
"StateTypeId": "81e2b46d-051e-4f08-b434-97c74d7edd8c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "9a8a0650-a00d-4467-8472-633265864873",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4dda1bbd-a1d1-48fe-aedd-7a06a0d76858",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "551f4adb-261c-4921-872e-20b2326606fc",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9fedd239-f7be-4572-9c88-c423aa33e01b",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "088f48e2-faed-49f0-aa5c-37faf1d1198b",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"StatusType": {
"StatusTypeId": "2ed98b64-b5f6-49e4-a5eb-2ef9612695e1",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "9a8a0650-a00d-4467-8472-633265864873",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4dda1bbd-a1d1-48fe-aedd-7a06a0d76858",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a70818cd-24a1-468a-a0ec-9d8cb24273c9",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b37dadb9-4199-4da8-bea7-c209385d8157",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fe620982-e1e1-4e48-b0e0-690752194b59",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "ee7486ae-f0ec-4aa5-aaf0-f01bb655bf1c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c0e6bd39-02bb-432b-a19c-30164a2a0ea5",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1a4c250a-5de9-42a8-af81-c796a129cb85",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "374eac8c-89c8-46a6-8ae8-2753f37f36d7",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "c373b057-3be5-4289-a1f6-245f6c3c01b4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9a8a0650-a00d-4467-8472-633265864873",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4dda1bbd-a1d1-48fe-aedd-7a06a0d76858",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "552d74a0-d40a-4077-a306-7067e457a748",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "40fcca7f-2299-4f56-936e-49857830b206",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "45619f81-643d-4249-b295-2d36be1cf86c",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "04046c2c-82a2-4b9f-b148-10c3b3e34d2a",
"FieldId": "5e4590ff-7889-41d4-b3f3-6e6bfd374e63",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "04046c2c-82a2-4b9f-b148-10c3b3e34d2a",
"FieldId": "5e4590ff-7889-41d4-b3f3-6e6bfd374e63",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a9470c91-18a7-4eb8-a98d-3574098bcabf",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "935e13ab-b3b0-4f83-b8da-f9f0f9aa38b8",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-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": "4d7403a4-eec3-4597-99eb-fb43ed1227e1",
"Asset": {
"AssetId": "fe81b355-7092-400c-adef-7181e2e5ed9a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "10903720-7ebb-43d3-9e9d-9a3ef22eb223",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d6142e-1bcb-46c0-b52f-83dceb89d3ff",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a07ec411-6c14-42f5-bcd1-09bbb1ecef19",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "2a3910dd-64e8-40e8-92f1-830bdb8d4b30",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "cf3f53d3-2d5d-402d-835d-a79ffa3c78a9",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"StateType": {
"StateTypeId": "a0e97095-ae0a-488a-8597-26ed6dc06cc8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "10903720-7ebb-43d3-9e9d-9a3ef22eb223",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d6142e-1bcb-46c0-b52f-83dceb89d3ff",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "99f6f6ba-0b5d-4049-94ff-764952477513",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2d687b11-14fb-4e63-97b4-205afd6c2a1c",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9997f7bd-efec-480e-8535-e3963cbd58b1",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"StatusType": {
"StatusTypeId": "fb0a35f1-7a55-4f94-9198-279b5a111fef",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "10903720-7ebb-43d3-9e9d-9a3ef22eb223",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d6142e-1bcb-46c0-b52f-83dceb89d3ff",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "9c06bfe1-e399-4827-aee1-c41a9923c081",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "81ac50f0-99f8-4eef-9d0d-3ad10705ff1d",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "da927678-627d-45a6-aa30-eec5a69496e5",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "03b3e1fb-dea6-4ee8-ae41-faf10002c17f",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "869fe0b7-6a6e-419b-ae34-ab1f979010aa",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e9dd3478-0efe-4bd8-a9b9-795e240b6cca",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"MeasurementValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ea273b8a-4aec-425a-946c-615b22e9cb35",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2026-08-24T21:34:45.4322713-07:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "a3ebd951-feea-4d26-a7f9-7ead9d98d115",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "10903720-7ebb-43d3-9e9d-9a3ef22eb223",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "46d6142e-1bcb-46c0-b52f-83dceb89d3ff",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "37c709fd-6e48-4e60-bd9b-a372d69b4245",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "025ae6bd-ca34-4212-beca-8a6ebd01e1d9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "390a2385-b7d6-4467-af2e-a318ef65e6e6",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "70d5b4a2-74b5-424d-a21f-94a4decb5cb5",
"FieldId": "9f05e6aa-f3d4-4089-90fa-d023f5b77104",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "70d5b4a2-74b5-424d-a21f-94a4decb5cb5",
"FieldId": "9f05e6aa-f3d4-4089-90fa-d023f5b77104",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-24T21:34:45.4322713-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e5f22f36-e4c4-4169-b874-4ea403a0d26f",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "e6d41298-aa3f-49e5-8a8b-57dcd07da914",
"CreateDate": "2026-08-24T21:34:45.4322713-07:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2026-08-24T21:34:45.4322713-07:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}