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": "e54ed09a-3677-4089-8dd2-0d9dad2f6fb7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e6586d2a-c1ef-4848-a245-5d836b013b9d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1cb73293-77fb-47ca-a48d-87fb3a9c4aa5", "CreateDate": "2024-11-21T04:49:29.4256668-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:49:29.4256668-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "53f36585-bea6-4646-8330-f86ad7513181", "Name": "sample string 1" }, "Unit": { "UnitId": "b92eb49c-24f8-4d96-ae3e-0a10ea13c605", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "98b495c9-89d1-4afd-8bf0-a7d5c8fb42ee", "CreateDate": "2024-11-21T04:49:29.4256668-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:49:29.4256668-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e7572e9a-640e-42c4-b1e5-3fdeff7aa8f6", "FieldId": "d795eda6-cf31-44b7-b39f-72e205bfe714", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e7572e9a-640e-42c4-b1e5-3fdeff7aa8f6", "FieldId": "d795eda6-cf31-44b7-b39f-72e205bfe714", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T04:49:29.4256668-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "bbc06436-9a38-41b5-ade9-6a95a70027cb", "CreateDate": "2024-11-21T04:49:29.4256668-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:49:29.4256668-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" }