POST Measurements
Creates a new measurement.
Request Information
URI Parameters
None.
Body Parameters
The measurement to create. MeasurementId should not be filled in.
MeasurementName | 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": "7705e63c-277d-42f9-b196-2ac518e8f812", "Asset": { "AssetId": "10f1824a-53c9-45c9-9899-97b49f68c73b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bc16b2e4-571d-4e08-a367-b5a13d92395f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4bbcc452-4e35-4e2d-af71-0990c82b6ba3", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "0996be79-6eed-4108-8d3f-007971cf802b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T13:10:55.706771-07:00", "MeasurementValueNeededDate": "2025-06-02T13:10:55.706771-07:00", "SourceSystemId": "sample string 3", "CompanyId": "43454a03-24ac-443b-9f6b-8029e54be6f2", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "3def715f-19a0-4d15-92e8-12a1beaf29d9", "EffectiveDate": "2025-06-02T13:10:55.706771-07:00", "StateType": { "StateTypeId": "1cd4b870-68af-4b3b-8e1d-873dab9d77c2", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "bc16b2e4-571d-4e08-a367-b5a13d92395f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4bbcc452-4e35-4e2d-af71-0990c82b6ba3", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1e4a3254-6867-4a3a-9193-c4615e48feb5", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "ea95e3e4-6ca9-41a8-81c8-13e7ca67269b", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "508aa72d-1317-491c-9275-293487624f37", "EffectiveDate": "2025-06-02T13:10:55.706771-07:00", "StatusType": { "StatusTypeId": "89cd178c-8b97-48f8-a36c-350710f1aed9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "bc16b2e4-571d-4e08-a367-b5a13d92395f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4bbcc452-4e35-4e2d-af71-0990c82b6ba3", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "6a459ac4-2ac2-4193-accd-bd19dff99391", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ccf52c8a-e37a-4ba9-ad5d-af96f313b9e3", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7dab4099-4ac3-44c2-8e37-652cd6b9dd8a", "EffectiveDate": "2025-06-02T13:10:55.706771-07:00", "WellPurposeType": { "WellPurposeTypeId": "5eabeeff-4e6a-4296-96a2-d231e39679f5", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ba08ed6c-837f-4289-9d9d-b548fb3e75d8", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f7f5de89-e358-4509-8918-d6c82b191804", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T13:10:55.706771-07:00", "MeasurementValueNeededDate": "2025-06-02T13:10:55.706771-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "98162691-f87e-467d-ac9c-22d10e830838", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-06-02T13:10:55.706771-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "c7167708-1184-4951-bd20-13982c3efbba", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bc16b2e4-571d-4e08-a367-b5a13d92395f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4bbcc452-4e35-4e2d-af71-0990c82b6ba3", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "335b48fb-f6fb-434b-ac90-d290b2157456", "Name": "sample string 1" }, "Unit": { "UnitId": "c40392e3-898a-4c64-9a59-5444cc9c5728", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1ec74d46-93d5-40df-b410-c5e2d0d0ee85", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b30d703d-2bad-4238-80bc-bd2851121a76", "FieldId": "593f8987-50e4-4391-9f13-d8e496e2b752", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b30d703d-2bad-4238-80bc-bd2851121a76", "FieldId": "593f8987-50e4-4391-9f13-d8e496e2b752", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T13:10:55.706771-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "dc16c603-8067-458a-ae5a-32445bc92a20", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.706771-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "5d8c651e-9927-4c41-8dca-e92411f6032a", "CreateDate": "2025-06-02T13:10:55.706771-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-06-02T13:10:55.706771-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": "998dfe3d-a886-4142-acb1-1d8893dd3dba", "Asset": { "AssetId": "2827a173-ec85-4d83-99b9-4f92de8d58f6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "8d534758-fba5-4445-8e82-fca424014933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "557d9775-82f4-473b-84e4-6179cbccac0f", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d039b374-bbc1-4766-925d-27fd513d065a", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T13:10:55.7223656-07:00", "MeasurementValueNeededDate": "2025-06-02T13:10:55.7223656-07:00", "SourceSystemId": "sample string 3", "CompanyId": "9129e4f4-b904-4e13-8604-e95922e520d4", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "2141e740-b594-43e7-b0e9-df61f2684e80", "EffectiveDate": "2025-06-02T13:10:55.7223656-07:00", "StateType": { "StateTypeId": "66ee3864-2c2d-4158-9dea-3932deeef9c3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "8d534758-fba5-4445-8e82-fca424014933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "557d9775-82f4-473b-84e4-6179cbccac0f", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "94f49b56-6830-403a-b9ff-658cca17c095", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "6bcaeb0c-31c6-4194-aaf8-05ed0d316022", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2137df52-f5fc-44c4-a998-9e7a304a4e53", "EffectiveDate": "2025-06-02T13:10:55.7223656-07:00", "StatusType": { "StatusTypeId": "85da8e61-205f-4c28-962d-854d0ab65cf2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "8d534758-fba5-4445-8e82-fca424014933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "557d9775-82f4-473b-84e4-6179cbccac0f", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8655c344-69d4-4eb4-91ec-378300df0a3e", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "24d29d95-a6dc-4b4f-bae6-008647bd4443", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "21532733-c300-4e3a-805e-bfab2afc8636", "EffectiveDate": "2025-06-02T13:10:55.7223656-07:00", "WellPurposeType": { "WellPurposeTypeId": "985e040b-73f5-40c6-bdc7-732d6c7a8eb9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9afbd697-efaf-4db1-8f67-47647d32c3d5", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1acbc1af-e7e0-40cc-af18-787459d8ac41", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T13:10:55.7223656-07:00", "MeasurementValueNeededDate": "2025-06-02T13:10:55.7223656-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "5c32bfd5-8cd3-4859-9b99-362ddcdac93b", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-06-02T13:10:55.7223656-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "2f84cd04-8e83-415d-ade7-34e395afe260", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8d534758-fba5-4445-8e82-fca424014933", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "557d9775-82f4-473b-84e4-6179cbccac0f", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "5b5a2a38-75b6-4477-a98f-5b0b73c20b6f", "Name": "sample string 1" }, "Unit": { "UnitId": "4e8fee78-5826-4d9e-a8b3-9cd3d14a69a8", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "59136053-afa9-47dc-9025-c4aa575705f0", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6111a8d4-e36f-471f-b800-007096699d5f", "FieldId": "6bf58639-cd61-4799-8613-e90928c4e800", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6111a8d4-e36f-471f-b800-007096699d5f", "FieldId": "6bf58639-cd61-4799-8613-e90928c4e800", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T13:10:55.7223656-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "6173e4e8-5c83-497b-81dd-da1784e9dbb3", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "d73ea03d-07bc-4139-a753-d5d0f233bb2b", "CreateDate": "2025-06-02T13:10:55.7223656-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-06-02T13:10:55.7223656-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }