DELETE MeasurementTypes
Deletes the given measurement type, including all measurements of that type.
Request Information
URI Parameters
None.
Body Parameters
Measurement type to delete
MeasurementTypeName | Description | Type | Additional information |
---|---|---|---|
MeasurementTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
AssetType | AssetType |
None. |
|
DataType | DataType |
None. |
|
Unit | Unit |
None. |
|
MinValue | decimal number |
None. |
|
MaxValue | decimal number |
None. |
|
MinLength | integer |
None. |
|
MaxLength | integer |
None. |
|
HasValidValues | boolean |
None. |
|
ValidValues | Collection of ValidValue |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
IsAccumulator | boolean |
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:
{ "MeasurementTypeId": "32c309d8-9454-44b8-a7a3-f6a52fb79a3f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "6988a510-7d1e-4004-a196-1426f9edf6c4", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "841c2b41-f15c-48a8-a564-99de459f18d9", "CreateDate": "2025-08-29T17:18:09.3769028-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:18:09.3769028-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "1145c95e-0af6-4bce-8d28-62ffac2eae14", "Name": "sample string 1" }, "Unit": { "UnitId": "249c8166-254a-46b7-861f-fb7ead297ed3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bb031e15-9b16-4494-92aa-eb5c3c17b630", "CreateDate": "2025-08-29T17:18:09.3769028-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:18:09.3769028-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c48d67ac-0f1e-4992-a79d-30b017dd4c6e", "FieldId": "a900472e-9dd0-4a77-9a4c-255de458798d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c48d67ac-0f1e-4992-a79d-30b017dd4c6e", "FieldId": "a900472e-9dd0-4a77-9a4c-255de458798d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:18:09.3769028-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "1890d9e8-8b1c-4795-9d7b-2c69f1063a13", "CreateDate": "2025-08-29T17:18:09.3769028-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:18:09.3769028-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Total": 1, "Message": "sample string 2" }