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": "98150b53-f9a7-4d7e-872a-ba4031ef7374",
"Asset": {
"AssetId": "fe618fde-8710-4dd3-b290-fbf5e9b0884a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5d274c18-074a-4cdc-bef6-ca57ec69e505",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "962950ba-9a3e-442d-83e0-e7fd25fcbbdc",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "43d02b9c-eb01-49d1-a8fe-9f5a36627c35",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3418203d-0311-4ea7-9e22-dceac9b6f4f8",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "ee8802c0-eb39-43a0-97a3-153cfd87c728",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"StateType": {
"StateTypeId": "745671e4-112f-4114-8f84-8821bc61d9ef",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5d274c18-074a-4cdc-bef6-ca57ec69e505",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "962950ba-9a3e-442d-83e0-e7fd25fcbbdc",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "54c15aee-8dd7-4856-b13f-910b0b008183",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "822f9613-e984-489d-aa7a-d4d86a5ad1a0",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "870cf6db-1769-459a-a5e9-e1a9189cb246",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"StatusType": {
"StatusTypeId": "14607ff0-c5ae-4e76-8797-72bcf98d706d",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5d274c18-074a-4cdc-bef6-ca57ec69e505",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "962950ba-9a3e-442d-83e0-e7fd25fcbbdc",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a1db3c05-bce8-450b-91bd-2d4c9283b273",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "124ebdbf-b5b3-4475-8d62-d6ce842251a1",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "19e3eef8-22a7-4fe1-bc12-ae140979dbf9",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "24e283a3-1ae3-49dc-9059-ff475b390197",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7227fc03-0b54-4832-b16a-dfee283b5812",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "98ec210d-7ddb-443c-bf8b-063f742331a5",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f0f85904-49f4-4b2c-a8cd-806c2219d636",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "166c024b-f499-46d2-83c3-d90fdbd8fa36",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5d274c18-074a-4cdc-bef6-ca57ec69e505",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "962950ba-9a3e-442d-83e0-e7fd25fcbbdc",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a72f133f-35bd-4eb6-b3f8-a71e1b6a33a8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eedccf3d-f934-4fd6-bb4c-06290c284476",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "960969de-d1d1-4b0b-a037-f2d0118d37dd",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3c56b2f6-27b1-47ee-834c-a5b37ac11456",
"FieldId": "6285112c-886f-4e3c-8136-d5c47d376b25",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3c56b2f6-27b1-47ee-834c-a5b37ac11456",
"FieldId": "6285112c-886f-4e3c-8136-d5c47d376b25",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "1ea17be1-adf5-4002-bfb5-4f3502a513e6",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "3ba9621d-1807-405d-bcb2-9d2b3aa4ff39",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-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": "8ab576ad-d85f-41d9-ba60-d826e7675af2",
"Asset": {
"AssetId": "bbae5592-a16e-4605-84e7-38757a08bc39",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "e24e4b73-163e-4c6e-91fb-63bf3d65a70c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b762e575-c8ac-48a4-a917-7081fce4938d",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "497b1396-2216-4ad8-85cf-4e0162fa7730",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "06a3bc09-5d81-4758-8e74-7517b4c6dc8e",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9f15b31c-fe8e-4298-a6b3-b3971d9101d8",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"StateType": {
"StateTypeId": "ab29a2ae-346a-4edc-a7eb-2e9a40bcd7e7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "e24e4b73-163e-4c6e-91fb-63bf3d65a70c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b762e575-c8ac-48a4-a917-7081fce4938d",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8b54c5b3-e4d7-41dc-ab26-02d4e76c33a5",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "63fb7210-a9c6-436a-b772-798a2bb27779",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "c7cb3fdd-9971-47d6-8148-4b13af98ec51",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"StatusType": {
"StatusTypeId": "3a3c7217-0c8c-4302-ac37-827dda983e2e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "e24e4b73-163e-4c6e-91fb-63bf3d65a70c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b762e575-c8ac-48a4-a917-7081fce4938d",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8f233995-e753-4085-a11e-5b930f8ebf99",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2bc51405-1968-4052-bb67-b5dabec80bb3",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "46e01dc9-0dac-481d-a7bb-cadad4000b65",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "a92d97a1-6210-4d30-bb7e-40ca68f24403",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6ee22dcf-e233-4564-b72a-0fb5fdc64764",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "92e002c1-e385-4e3b-b6c0-d61eca8a69b4",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"MeasurementValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "16698cd9-32e0-4fb7-bc1d-a5972660c60a",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-12-17T01:43:38.5542677-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "6baec1bd-bfc2-4361-879d-d742662c840a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e24e4b73-163e-4c6e-91fb-63bf3d65a70c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b762e575-c8ac-48a4-a917-7081fce4938d",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9df3c04a-ac73-4dea-a09d-a7ed0487c1a4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "80d542fc-3bed-4757-8274-8ddc79123516",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4055f058-51ad-40a2-adbe-88ad36bd26ca",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b3ee949a-e2d6-4ee1-b045-9d2f49ef5f66",
"FieldId": "8b31883d-adfa-471f-bec0-987bc28afbb9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b3ee949a-e2d6-4ee1-b045-9d2f49ef5f66",
"FieldId": "8b31883d-adfa-471f-bec0-987bc28afbb9",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T01:43:38.5542677-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "02fe2182-26cc-4e97-89a0-106dc96e8a9c",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "103de1f0-9b1d-4ba1-a7ea-d2c72d656895",
"CreateDate": "2025-12-17T01:43:38.5542677-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-12-17T01:43:38.5542677-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}