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": "9a1acd3b-75e3-4008-8872-f555be5b6322", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c2c2509c-5fbe-4578-bf8b-674df1bb8aa9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fee8bd59-a183-4b15-a944-c5461bf63279", "CreateDate": "2024-12-22T02:48:49.39815-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:49.39815-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "eae15723-b6b5-4acc-9b92-7f2c3bd0c4ab", "Name": "sample string 1" }, "Unit": { "UnitId": "c480d267-6ef4-4009-b3be-7a159007a34a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "17e6adb7-d90d-40f7-9105-dab70da967dd", "CreateDate": "2024-12-22T02:48:49.39815-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:49.39815-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "76df4e30-5626-417d-8131-df0b79323022", "FieldId": "8983d229-661a-4bc2-9e15-c7243d681fa7", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "76df4e30-5626-417d-8131-df0b79323022", "FieldId": "8983d229-661a-4bc2-9e15-c7243d681fa7", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:48:49.39815-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d6d165bd-2c46-4c5d-a3aa-7dc81d3ca56d", "CreateDate": "2024-12-22T02:48:49.39815-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:48:49.39815-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" }