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": "b1495f05-a394-4488-b422-681667cf5c35", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f7dd525d-1a62-4286-8cde-07c10d9f043c", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b45ec27f-0a15-4beb-8c86-39ec06067bcb", "CreateDate": "2025-01-30T16:47:07.3101461-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:47:07.3101461-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "9c6be15b-1903-44cd-a600-d093ae06b37e", "Name": "sample string 1" }, "Unit": { "UnitId": "1d953b99-882a-40f0-8780-102ddee682cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "fb5ff98e-2140-4a47-8afb-0192f134ab1b", "CreateDate": "2025-01-30T16:47:07.3101461-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:47:07.3101461-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "61069c4f-2584-4386-80b2-c6b88f746cae", "FieldId": "18e0041b-4009-403a-b36c-ddc3e195a38a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "61069c4f-2584-4386-80b2-c6b88f746cae", "FieldId": "18e0041b-4009-403a-b36c-ddc3e195a38a", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T16:47:07.3101461-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "35419b57-1bde-4b61-a9eb-a56674afc9b8", "CreateDate": "2025-01-30T16:47:07.3101461-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:47:07.3101461-08: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" }