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": "2aede231-062a-4749-8425-3b19e3895d3f", "Asset": { "AssetId": "2968f4ce-2e38-44fd-b2f8-e4f7f17966e5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "97aeed02-1899-4c44-86ee-acacbbb737c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1dd810f0-122d-47cf-9888-ab09e00303d9", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b589a0f9-811f-411b-a33d-5166b374d0de", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "MeasurementValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "SourceSystemId": "sample string 3", "CompanyId": "52f27073-d6ea-4bbb-8e24-8dc0653e0a72", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a686e041-168b-4aef-aaa2-788b13be3ec8", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "StateType": { "StateTypeId": "46b007b4-1e88-479b-929a-9295ad74a45f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "97aeed02-1899-4c44-86ee-acacbbb737c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1dd810f0-122d-47cf-9888-ab09e00303d9", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b727e0c2-e647-48e9-96dd-475c09f76a98", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "27d90a0f-52fb-4e46-a034-8a064f32414e", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b59a3b4c-d840-4289-8b7c-d8bd1a2863f0", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "StatusType": { "StatusTypeId": "600042ac-ed06-40d9-ad8c-606982455720", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "97aeed02-1899-4c44-86ee-acacbbb737c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1dd810f0-122d-47cf-9888-ab09e00303d9", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "d61204d4-cdcd-4615-9adb-da6a529ecf7c", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "46fd0930-e0cd-4fee-b757-8d266bdc5fe1", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "08b89d82-a831-44c3-aed9-ecdee15e2921", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "WellPurposeType": { "WellPurposeTypeId": "caa15598-343a-4231-b790-e902afba0bd0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "99ebca81-aaa7-4705-b0a2-75f79b79df92", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "370e49ee-f4bd-4a09-afd5-e610fbb6e267", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "MeasurementValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "9a852a76-41c5-4103-9b9d-7e19ac00c4b7", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "dfb09d92-51fb-4d5c-94a7-171803bdba34", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "97aeed02-1899-4c44-86ee-acacbbb737c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "1dd810f0-122d-47cf-9888-ab09e00303d9", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "790d3cc9-5e79-414d-8f7d-fe0fc53f050d", "Name": "sample string 1" }, "Unit": { "UnitId": "99f74dde-a8bc-4bd9-b6f4-f67e1424e438", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "27aed616-0d10-46f9-9cd4-bb481c99c6f7", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f13b4fd8-9b63-4894-ab2c-144448e40c93", "FieldId": "89bdfbcb-1ae7-4b82-be6d-08483834f148", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f13b4fd8-9b63-4894-ab2c-144448e40c93", "FieldId": "89bdfbcb-1ae7-4b82-be6d-08483834f148", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ebfb5041-e89b-44f1-8a21-c667aa5bec33", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "36155a4b-f69b-4683-bd78-c891dafee3b5", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-01-30T12:07:41.1738521-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": "ceaba38f-3992-4ff2-9036-abb7bde73aa3", "Asset": { "AssetId": "bdc4f24a-00f1-4d24-8023-6012c84a0492", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7aca27e9-bbe8-4551-aab5-04984321116a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6bbc21ce-e97d-4d43-8aa0-699c56192f58", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4e4099e1-0983-4cb3-9c5e-a0c94511201d", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "MeasurementValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ec5477d0-cf92-47b5-b1a8-44c3dd72bc7b", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "79fd84f1-e2e8-4b97-ae01-efb37748074e", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "StateType": { "StateTypeId": "2583b33a-0e9b-40b4-a7a7-b985d1c3da42", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7aca27e9-bbe8-4551-aab5-04984321116a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6bbc21ce-e97d-4d43-8aa0-699c56192f58", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "5534e57a-43e3-4c2a-ba5a-5b32dd686b13", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "79757af2-8c08-497d-8734-a94b40bba1f8", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "28d97452-bb01-48ea-99c6-b7f90f839d77", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "StatusType": { "StatusTypeId": "81b808ca-62f9-4f59-9a31-abcb74137dbc", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7aca27e9-bbe8-4551-aab5-04984321116a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6bbc21ce-e97d-4d43-8aa0-699c56192f58", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e7376ad9-ea95-4947-84bb-3b80ed90127d", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bca0d9ab-4acf-4e99-b2fe-ef195d96a9d4", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "a95536c4-a1e5-4580-b227-019d831139ab", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "WellPurposeType": { "WellPurposeTypeId": "f7676ec8-0234-4cc9-bf2c-3c7bb4bba2d9", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f08a821f-1f92-4eeb-a392-d71ebcc22e9a", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1c09440b-cb0b-44d4-ad63-bd74bb957d56", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "MeasurementValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "28d78488-fe47-4c69-8910-43c3dc7eff00", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-01-30T12:07:41.1738521-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "11c74353-c12c-4780-b414-adf6728d7798", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7aca27e9-bbe8-4551-aab5-04984321116a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6bbc21ce-e97d-4d43-8aa0-699c56192f58", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "44b8c189-a923-471d-adad-172db7e92d62", "Name": "sample string 1" }, "Unit": { "UnitId": "1250b06c-f194-4c21-adcc-c261b423d3d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dc342187-a71a-4254-83d7-0fecab77798c", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "62352fc8-f69d-44b6-aaa7-1350f36de787", "FieldId": "fad2635a-bb2f-49c4-8f0f-450fcc4498bc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "62352fc8-f69d-44b6-aaa7-1350f36de787", "FieldId": "fad2635a-bb2f-49c4-8f0f-450fcc4498bc", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T12:07:41.1738521-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "2117d311-e736-44ae-8831-0195c1a37cc0", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "03622d78-8542-4afa-b98b-b993c9a64d28", "CreateDate": "2025-01-30T12:07:41.1738521-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-01-30T12:07:41.1738521-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }