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": "5c882b57-6e09-4113-9663-d11482f5d29e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a414a280-a757-4590-8d75-9d7e7f392c11", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "816e5926-abc3-4cb9-a140-80c4f559f21b", "CreateDate": "2024-12-08T14:01:48.6480992-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T14:01:48.6480992-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "91e0db97-1421-4463-abc0-94275403a5a5", "Name": "sample string 1" }, "Unit": { "UnitId": "b88002c6-8994-4adc-bb71-88320d4ba948", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f6361e3d-5c69-4ff0-b9fd-42b59177ab9e", "CreateDate": "2024-12-08T14:01:48.6480992-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T14:01:48.6480992-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d319743b-b8b2-4d0c-a6c8-81cbe8a63e72", "FieldId": "540d418a-84e1-4057-afce-72fcc6f13822", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d319743b-b8b2-4d0c-a6c8-81cbe8a63e72", "FieldId": "540d418a-84e1-4057-afce-72fcc6f13822", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-08T14:01:48.6480992-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "490f1042-2714-46ca-b589-0d039fe16050", "CreateDate": "2024-12-08T14:01:48.6480992-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T14:01:48.6480992-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" }