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 string |
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": "b9f8420e-1a87-464b-8562-53cd2862831d", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5be575fc-8b78-4102-8434-82b3fe067ccd", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "82fa8be5-0763-44b3-9e6e-1776e545e8a0", "CreateDate": "2024-12-21T19:08:13.2051022-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:08:13.2051022-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "8eff9afc-1ebe-4ffa-a853-ca925fe0b5fa", "Name": "sample string 1" }, "Unit": { "UnitId": "cdce76d0-04b2-48a8-9370-d0443d97476f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "27d75459-694c-462a-b962-6f4423a9766d", "CreateDate": "2024-12-21T19:08:13.2051022-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:08:13.2051022-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T19:08:13.2051022-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "e08d4751-ab24-49f3-9d3e-90ca279ae4df", "CreateDate": "2024-12-21T19:08:13.2051022-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:08:13.2051022-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" }