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": "85fc7329-2860-45f7-908d-e80b6653ba41", "Asset": { "AssetId": "9bc3577f-03da-40d1-93b1-4a7ba4677d61", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "80f8f22b-63ca-4b93-9c37-661938c81358", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "df73cbe9-b7b6-410e-9ae8-a389d32823a5", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "1d335b2b-7e7f-4ff4-ac27-a091e62526ad", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "MeasurementValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b30083e1-6f2d-4f04-b42b-ae0f51210592", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a7a92960-79d2-40ed-baa3-c8e851fa9647", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "StateType": { "StateTypeId": "f946d45c-fd40-451a-975a-e6b8853f97f3", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "80f8f22b-63ca-4b93-9c37-661938c81358", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "df73cbe9-b7b6-410e-9ae8-a389d32823a5", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "27499318-683f-4922-8e83-d508ad418fd7", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "72ed0d0b-e053-4aba-9795-92c92cce3e66", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ed64c085-cab4-4c60-ad50-f648e6e880d4", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "StatusType": { "StatusTypeId": "c75bd948-0ce8-4c9a-8c36-10d45f4151a1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "80f8f22b-63ca-4b93-9c37-661938c81358", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "df73cbe9-b7b6-410e-9ae8-a389d32823a5", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "760e1942-be90-4392-a538-231f4cb88677", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "01f64c5e-c947-4d27-a5c4-67ecb5274737", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9b3412d0-820c-483b-9c4e-56e5a3f33133", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "WellPurposeType": { "WellPurposeTypeId": "e0060327-508b-4c8c-9e89-8e55ea7bf63e", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e2fdfb3b-fa98-40a8-8d3f-9ee67fd8abd5", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "bf44864b-ce49-4186-9e39-639e43cf6267", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "MeasurementValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f25b3773-ad92-47e1-b9cd-31b9f3262f32", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "b38fbbd7-d9e7-4dd7-a192-685b47829909", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "80f8f22b-63ca-4b93-9c37-661938c81358", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "df73cbe9-b7b6-410e-9ae8-a389d32823a5", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "8e36298a-2d79-4115-ab48-879153a53cbb", "Name": "sample string 1" }, "Unit": { "UnitId": "82122609-149e-4f87-b111-460898266dfe", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "89c4549f-6d59-406f-8683-e9424ee6feae", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "419f4731-9a38-4bd7-9846-3eca8906de3b", "FieldId": "8d9c826a-2f0e-4b93-9e34-c130ceeb2703", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "419f4731-9a38-4bd7-9846-3eca8906de3b", "FieldId": "8d9c826a-2f0e-4b93-9e34-c130ceeb2703", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "1b2973e6-a5c5-4bca-86ad-a01041128de8", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "1ec7c8fa-b3dc-4082-891a-9fa33fa4acaf", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-29T17:17:19.1467712-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": "da88d692-624d-48a3-a8c4-dba51f144935", "Asset": { "AssetId": "19028af8-6d92-4e76-9a7e-cca054ecbc48", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3f9b5a8f-c7ee-4248-9293-799fa90a76fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9bd3444d-9f70-4c66-9111-de9cb79ebcfa", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "af48f294-dc6a-43f0-8d2c-38641e7fb9de", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "MeasurementValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "SourceSystemId": "sample string 3", "CompanyId": "b6bbfb2c-64ec-432c-a70a-6ea379e4faf7", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "12ece9d4-f161-4428-ba44-1b6bf30303b9", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "StateType": { "StateTypeId": "a5564f29-6dfe-489d-aeb1-dd54a6707b16", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3f9b5a8f-c7ee-4248-9293-799fa90a76fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9bd3444d-9f70-4c66-9111-de9cb79ebcfa", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "771666de-cb97-4441-b323-205436442872", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "cea7fca4-9843-49f2-8d1f-7dd064a0d004", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "7a6fd9e8-8d5c-4a9b-88c4-0c0b5fccf090", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "StatusType": { "StatusTypeId": "0f085c06-b71e-45de-88b4-36f8026242b5", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3f9b5a8f-c7ee-4248-9293-799fa90a76fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9bd3444d-9f70-4c66-9111-de9cb79ebcfa", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "8a4f33dc-9aba-4b53-ad2e-01a3f1439055", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "dee25a4a-7bc4-48dd-9e60-291d21ccbc0c", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c240e275-ef98-45ce-a126-197181963b79", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "WellPurposeType": { "WellPurposeTypeId": "08786f7a-a877-416f-9029-e19e4ba26cab", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "45e68cfb-10d1-4061-9c17-9054542f5414", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a72e1b1e-1864-43b5-b486-badb0408ab6d", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "MeasurementValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "912c4239-3136-4a6c-8123-49990342563e", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "EffectiveDate": "2025-08-29T17:17:19.1467712-07:00", "Location": "sample string 3", "MeasurementType": { "MeasurementTypeId": "b1849d7c-6584-45e5-aa42-a5d43e41352f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "3f9b5a8f-c7ee-4248-9293-799fa90a76fc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9bd3444d-9f70-4c66-9111-de9cb79ebcfa", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "9f6272fd-05e9-4b71-92eb-61df29882cbf", "Name": "sample string 1" }, "Unit": { "UnitId": "99d010f3-7ce8-4581-9987-b1d5337e88ef", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ffad73a0-0378-4d11-b2c8-b836b7f3ca40", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cfcaebe6-f887-4c60-90df-e3c478ce0677", "FieldId": "62bb1e6f-0da0-4c00-8c82-802bf8d38ba3", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cfcaebe6-f887-4c60-90df-e3c478ce0677", "FieldId": "62bb1e6f-0da0-4c00-8c82-802bf8d38ba3", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:17:19.1467712-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "191327a8-7e6e-4870-a052-fd4153af494e", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 8" }, "IsValid": true, "IsValidMessage": "sample string 5", "SourceSystemId": "sample string 6", "CompanyId": "ed7e6b70-92c6-4e48-8349-1dcc1605da46", "CreateDate": "2025-08-29T17:17:19.1467712-07:00", "CreateUser": "sample string 8", "LastModifiedDate": "2025-08-29T17:17:19.1467712-07:00", "LastModifiedUser": "sample string 9" }, "Total": 1, "Message": "sample string 1" }