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": "fceac32c-86b1-44a2-b5fd-cd951d9eb01c",
"Asset": {
"AssetId": "4976cfac-bd36-4500-8c51-54700a4decc7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "73686faf-fce5-47c6-8fdb-45f53c2ed51d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "758fff52-b08c-420e-8992-7c77018941cb",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "3a2662be-e811-4cd0-8841-27e7536800de",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "00a90d06-8b19-4fa4-b8ac-088d2af7778c",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "50b654af-4a70-439c-8a3c-14fc118ee3a1",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"StateType": {
"StateTypeId": "42ae5b99-bc52-4773-82f2-ad278ee63d57",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "73686faf-fce5-47c6-8fdb-45f53c2ed51d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "758fff52-b08c-420e-8992-7c77018941cb",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d4a426fa-2866-41a7-abb9-3de53d71f4f7",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d2cfedfa-6623-4fd0-9a03-ccdc42ad23fe",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "5e1eb6d9-389e-4a36-b34f-190c145898af",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"StatusType": {
"StatusTypeId": "e7fbb738-63a1-4492-b374-b8b29722600e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "73686faf-fce5-47c6-8fdb-45f53c2ed51d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "758fff52-b08c-420e-8992-7c77018941cb",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6a526bb2-ed27-48a6-8aec-d5c0459bc053",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e5bf154f-be1e-43cf-ab08-074fbdaef128",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "826c8e00-d904-4b60-9773-2b4cc384e722",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "5ae04cf2-8d3d-46a4-83ec-a63ca2eff2cc",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0798a8ac-2244-48a8-9e16-10c5fbf8e855",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a8ce90cf-0584-448c-af1f-a16c1131a679",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "77710ffe-5f2e-400d-9e88-04a8e03f4731",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "286b5fc2-2da5-4898-bae9-c762c14fe9e5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "73686faf-fce5-47c6-8fdb-45f53c2ed51d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "758fff52-b08c-420e-8992-7c77018941cb",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9e4c9fbc-cec8-45b5-95e7-5896177beeb2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d49b997d-13bd-4020-b609-8efb282df0f4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c1912712-63bc-434e-b21f-e673ba7d463f",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6d474880-4e09-426a-b079-3ef740e8dcdd",
"FieldId": "cce45a4e-df4d-4744-91b5-84a4c7c5f52b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6d474880-4e09-426a-b079-3ef740e8dcdd",
"FieldId": "cce45a4e-df4d-4744-91b5-84a4c7c5f52b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "30f17b21-10ea-437a-b623-76608761109a",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "99f0b631-cda7-4fb6-8967-1b14ef84aff1",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-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": "9dee27e9-b18d-4c02-959b-2cf6a3562de5",
"Asset": {
"AssetId": "bdd1e2b1-1f3d-4532-9a08-13cc2181d0d2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "755f4078-dc03-444e-88a7-9703befe0e68",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f219030d-8794-47ce-a0fb-ee60eb3a41c0",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "b0fc754b-e9c6-4e8e-9f46-e52e79a8782c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ef9d1f00-8e1e-4968-85b8-8902c344b457",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "462b60d8-01d7-4b55-a5c4-a2331c30ab4e",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"StateType": {
"StateTypeId": "dd82edb0-a21f-4119-acc3-352cf5c9540c",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "755f4078-dc03-444e-88a7-9703befe0e68",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f219030d-8794-47ce-a0fb-ee60eb3a41c0",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "06399121-022a-41e7-9b13-1997a55ebbf9",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "829a549b-b110-4498-ab5b-3e9cb30e4276",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "98e73367-9f6c-42ab-996d-d3487a99ec26",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"StatusType": {
"StatusTypeId": "aee8fdc9-b43c-4981-82d3-8f5257a678f7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "755f4078-dc03-444e-88a7-9703befe0e68",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f219030d-8794-47ce-a0fb-ee60eb3a41c0",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "8274d762-b13b-456d-8057-e98e08f27f54",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "20987380-2707-4af0-9461-21101936cd7e",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "80292613-276b-4f71-87af-3e66e3ecdc12",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "b5eb8837-1687-4b02-90e0-f4db16717c2c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ea717237-2aec-475c-a8cd-d22284215869",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c4021548-bbf3-475f-8037-56d0272bc446",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "30f7501c-8ec7-4c28-bdd0-779b24b2a7c5",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"ValueText": "sample string 1",
"DisplayText": "sample string 2",
"EffectiveDate": "2025-11-04T16:56:40.6493699-08:00",
"Location": "sample string 3",
"MeasurementType": {
"MeasurementTypeId": "baa04b08-2b65-461e-979e-ad63a48ab7f4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "755f4078-dc03-444e-88a7-9703befe0e68",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f219030d-8794-47ce-a0fb-ee60eb3a41c0",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d59c05e8-7447-48cb-9b01-abb89a4c6476",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c7adda24-e2bb-4a52-8c18-aa3527174e30",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a3395cdd-0d40-43b0-9dd7-0546c669b14f",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "eb288d0f-ed9a-40e9-ac15-c2b7053737d3",
"FieldId": "c17127b4-bd65-498e-81b2-68e2685862cc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "eb288d0f-ed9a-40e9-ac15-c2b7053737d3",
"FieldId": "c17127b4-bd65-498e-81b2-68e2685862cc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T16:56:40.6493699-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "dc30a3b9-d83b-498e-8497-679bf7013849",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 8"
},
"IsValid": true,
"IsValidMessage": "sample string 5",
"SourceSystemId": "sample string 6",
"CompanyId": "85f5103c-628c-45cc-8a82-e91ba715620b",
"CreateDate": "2025-11-04T16:56:40.6493699-08:00",
"CreateUser": "sample string 8",
"LastModifiedDate": "2025-11-04T16:56:40.6493699-08:00",
"LastModifiedUser": "sample string 9"
},
"Total": 1,
"Message": "sample string 1"
}