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": "8c01aae3-5a7b-4c7c-b794-5f7ced2144a1", "Asset": { "AssetId": "dd699539-a42c-4d89-b441-660f60bf66bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "578ac16a-cee9-4ab9-b48e-de79a14eabf5", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e6e1e663-7f5b-4eca-81d1-e4a098cb1532", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "61684284-b2c4-4fba-b25b-a577450c9e17", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "340e4f9a-b3be-469d-a72e-856462ca8133", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "0679d650-204f-4ab4-b5e6-8bdff1f1d08c", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "StateType": { "StateTypeId": "1936b2cd-1fff-4bdd-99fa-f5cf7feaf5e1", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "578ac16a-cee9-4ab9-b48e-de79a14eabf5", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e6e1e663-7f5b-4eca-81d1-e4a098cb1532", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "870d2781-596d-4ea2-ab43-5fb2d6b9b162", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "752fb960-7eec-4b22-a4cf-3479f81e8848", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "edba7a6d-7c3b-4822-a6b7-23b0c3f4f45e", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "StatusType": { "StatusTypeId": "65acd8a4-ce2b-44ce-98e5-c4548fc32e5c", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "578ac16a-cee9-4ab9-b48e-de79a14eabf5", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e6e1e663-7f5b-4eca-81d1-e4a098cb1532", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e4416b5a-1ce5-4574-9034-ea5a1a535db3", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "72ddad8a-58b7-4f5a-acd3-8fe52b8f7ffc", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0d6411bc-939c-4903-88bc-4fcfe05b0d48", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "WellPurposeType": { "WellPurposeTypeId": "112e5c6a-0fa6-4c2e-bf27-064955b79b71", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1ee03eca-6337-47b7-856d-de79af6a0bb9", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "f5745559-efec-4044-869d-db4c43a5d4f5", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "2d6ff441-063c-49d5-a3aa-947753ea6762", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "fb13c99a-0dff-4a78-bfc5-019f55dde32d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "578ac16a-cee9-4ab9-b48e-de79a14eabf5", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e6e1e663-7f5b-4eca-81d1-e4a098cb1532", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "a0718a82-8778-4d03-9717-cf9410af2ca1", "Name": "sample string 1" }, "Unit": { "UnitId": "a821536a-8aa0-4326-885b-e14f4ce89b31", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "13ef58cb-3b5f-4661-a40f-841cb8027f46", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3f209e85-7e48-4a2e-91d0-85af24f223ce", "FieldId": "d0e8d16b-8dc9-48e9-9b78-939fd16b89f0", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3f209e85-7e48-4a2e-91d0-85af24f223ce", "FieldId": "d0e8d16b-8dc9-48e9-9b78-939fd16b89f0", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a96b3900-d0f9-4d03-8f55-f0d7e3c39dd9", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "a92a9ae1-0018-46c4-a73e-55f1af10f0f6", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-21T19:06:06.3570109-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": "c4c634f1-0fa3-4f57-bce8-01c8cef3c465", "Asset": { "AssetId": "a9564874-67d3-4d78-8380-170ee9bb9c1a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5f3a8e73-1751-4327-957d-2676efb7de09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64a9751a-2769-48c5-849c-b661fca53a77", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "561cdd8f-0a48-4d31-a096-6b70f1bf9c2e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "SourceSystemId": "sample string 3", "CompanyId": "996f5b8a-ded2-4e87-adc1-db55ac0acecd", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "9d009dd5-63cf-4851-8e0b-a7885738527d", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "StateType": { "StateTypeId": "14d20f4e-79e2-4448-b0f6-9361f146a2b3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5f3a8e73-1751-4327-957d-2676efb7de09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64a9751a-2769-48c5-849c-b661fca53a77", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3e561371-8ae6-40bb-b3f9-bae0697ece38", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "d068f9b5-6a6c-4120-accb-a4b4f0707d01", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "a50bdd68-818f-48a0-9d34-2fb1397023ca", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "StatusType": { "StatusTypeId": "91e5a1bc-6ec2-4d9b-9043-d983ed3f08b8", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5f3a8e73-1751-4327-957d-2676efb7de09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64a9751a-2769-48c5-849c-b661fca53a77", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5c954876-cf62-4362-9eb2-a7cf37514419", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "ab5b9c0c-8a59-47f3-abb9-af504dc25773", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a978200f-0c49-468e-ab73-2659f08a5135", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "WellPurposeType": { "WellPurposeTypeId": "c5e29adf-291d-4b46-b4aa-f688d6b23d2f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "97a431c7-a95a-45e8-9f51-af00f4ed90d6", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7de355b8-bbb8-4e78-9e70-62ba3435a3fe", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "MeasurementValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f29cc143-583c-4c88-88ea-98662217006f", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-12-21T19:06:06.3570109-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "2983a006-0f33-43ed-92bf-63d0a25c3929", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5f3a8e73-1751-4327-957d-2676efb7de09", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "64a9751a-2769-48c5-849c-b661fca53a77", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "23c469fd-fd54-4167-8efd-237d2ace2c48", "Name": "sample string 1" }, "Unit": { "UnitId": "65bc9dbe-768d-429e-93bf-d090b135c775", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ea4ab5d7-f2c2-43c1-b296-55a04ea1cbca", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "ea1267e0-417c-4bf9-aa7a-13dd28b0a87b", "FieldId": "58b7959b-afed-469a-a193-ffeb0f4b1616", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "ea1267e0-417c-4bf9-aa7a-13dd28b0a87b", "FieldId": "58b7959b-afed-469a-a193-ffeb0f4b1616", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:06:06.3570109-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "877de161-8a16-4bc1-b73a-6a4734b84962", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "cefe2b18-4e8a-49d2-be53-3f61f8f910f8", "CreateDate": "2024-12-21T19:06:06.3570109-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-12-21T19:06:06.3570109-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }