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": "c520d766-c738-43a7-8122-bb197f644c13", "Asset": { "AssetId": "8d8b60a1-53aa-417f-8db6-5b5b54f11d0f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f16103d8-5456-4465-9420-b3981312ec57", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a3913619-1799-4203-bb19-651df8298a50", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "a96e25a9-529b-4d62-a6f2-5d6126e7cda3", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:03:57.2530413-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:57.2530413-08:00", "SourceSystemId": "sample string 3", "CompanyId": "ccc4e7ac-18d0-4df7-bdbc-47f98acca846", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "8debf41e-7b5e-4fdd-b7d2-8f00b8c89ee5", "EffectiveDate": "2024-11-21T05:03:57.2530413-08:00", "StateType": { "StateTypeId": "29500a42-9365-435c-83f6-61f292499faa", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f16103d8-5456-4465-9420-b3981312ec57", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a3913619-1799-4203-bb19-651df8298a50", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "f8d65d70-b0d9-4c5e-901e-1abb2ca35263", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "c2be011e-242e-4fec-81fd-fc56cea2c2cc", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2e2b5579-9b51-4cf7-81a0-99c9c8dd67d8", "EffectiveDate": "2024-11-21T05:03:57.2530413-08:00", "StatusType": { "StatusTypeId": "5ee6f252-74f0-4d22-aa5d-b618903fbd26", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f16103d8-5456-4465-9420-b3981312ec57", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a3913619-1799-4203-bb19-651df8298a50", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "e43bb87a-ece4-4998-88b7-463e3ff6b7ed", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "139ca82e-7591-479d-b0b2-25b572fc8aaf", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2589b019-62b7-4d9f-8753-f9b8070c7e32", "EffectiveDate": "2024-11-21T05:03:57.2530413-08:00", "WellPurposeType": { "WellPurposeTypeId": "f5859d96-6988-4776-baac-bb92142a412f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3faf0b10-2c7c-437f-b72d-e934a6424ab0", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "af1c7863-e80a-40b9-b56e-5a7b98799605", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:03:57.2530413-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:57.2530413-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6d4ef48b-0ae0-4247-8e51-f0a0bdd5c657", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-21T05:03:57.2530413-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "e00dd372-a0e5-40ca-a516-5456839742da", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f16103d8-5456-4465-9420-b3981312ec57", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a3913619-1799-4203-bb19-651df8298a50", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "8b50b371-2fd5-4d97-b65d-bc9245edbd17", "Name": "sample string 1" }, "Unit": { "UnitId": "3bd5fed7-fa7f-4b81-a935-a4db07b5080e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e7a08d47-ed8f-495d-97c7-85cfbf7cc978", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6554eef8-de60-443f-a798-9767a145273c", "FieldId": "888ecaee-befd-45d9-b038-c843ae5fd6be", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6554eef8-de60-443f-a798-9767a145273c", "FieldId": "888ecaee-befd-45d9-b038-c843ae5fd6be", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:03:57.2530413-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e5702713-1fb5-493a-b6ca-86228b1d2e75", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2530413-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "3eb7ca9d-3191-4b1d-8dcd-c4c6cced4821", "CreateDate": "2024-11-21T05:03:57.2530413-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-21T05:03:57.2530413-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": "1dede4d6-267d-47dd-9e94-1fc5b41d0b6e", "Asset": { "AssetId": "e3751ce2-614b-4a35-b568-ff969a646fd7", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bfb5fbc6-df29-496b-b92e-48c3b714e2cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "db70e271-8d07-4e26-a3ee-5473d94e5666", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8ffbc025-ace1-437b-83c2-dafb4b5303b5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:03:57.2686681-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:57.2686681-08:00", "SourceSystemId": "sample string 3", "CompanyId": "3f2e1218-9327-469c-893c-cf78cd9986b3", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "19436cf8-d6fc-41f7-a83e-ac2b9b1dbdc8", "EffectiveDate": "2024-11-21T05:03:57.2686681-08:00", "StateType": { "StateTypeId": "8c073093-3e5e-4254-ae44-0d52f8429d85", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "bfb5fbc6-df29-496b-b92e-48c3b714e2cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "db70e271-8d07-4e26-a3ee-5473d94e5666", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "70af5c4d-7d4d-4e72-bf3b-3a3e868d1a50", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1be58e08-7a05-48a7-a194-910d2814d2d7", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "0c4b006a-4591-4034-adf4-1daa671690ba", "EffectiveDate": "2024-11-21T05:03:57.2686681-08:00", "StatusType": { "StatusTypeId": "ac4f9148-3c7d-4fdc-baeb-fb3b9194e113", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "bfb5fbc6-df29-496b-b92e-48c3b714e2cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "db70e271-8d07-4e26-a3ee-5473d94e5666", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "acc900be-98e6-4616-a853-68e38cda7f67", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "89747fff-e22d-4d8c-99a8-879b06d6ae4f", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "2aec2a41-e4bc-4d6b-be6b-cdec419c1647", "EffectiveDate": "2024-11-21T05:03:57.2686681-08:00", "WellPurposeType": { "WellPurposeTypeId": "da489150-a926-4392-961b-3597beba809f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fcc74c68-c5eb-4f8d-b926-587fed25f21a", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cc54bec4-5a4d-464c-a777-e61eaab03aa9", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-11-21T05:03:57.2686681-08:00", "MeasurementValueNeededDate": "2024-11-21T05:03:57.2686681-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "66638c2e-4391-4e8c-926c-e42c5f75be19", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2024-11-21T05:03:57.2686681-08:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "08b32d16-6ac1-4900-990c-3d05894dc776", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bfb5fbc6-df29-496b-b92e-48c3b714e2cf", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "db70e271-8d07-4e26-a3ee-5473d94e5666", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "f264736c-082d-4bcc-af14-433821c9925b", "Name": "sample string 1" }, "Unit": { "UnitId": "b89bb676-b375-46d3-b5ef-f674a8d933c1", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1d0217e5-c80e-4524-bb5a-c6fa53010622", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "30701718-c7b8-4261-9890-ac9890ae66e1", "FieldId": "f69ccc05-0d25-40a6-b6ae-3fc9ded2c7f4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "30701718-c7b8-4261-9890-ac9890ae66e1", "FieldId": "f69ccc05-0d25-40a6-b6ae-3fc9ded2c7f4", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:03:57.2686681-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "1e1fb2d0-e27b-4dac-86df-ed01f6dd7577", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "90bd36e9-3086-4f0d-b1a4-7c2edbb5caf4", "CreateDate": "2024-11-21T05:03:57.2686681-08:00", "CreateUser": "sample string 8", "LastModifiedDate": "2024-11-21T05:03:57.2686681-08:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }