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": "4963dc46-ddd8-4845-94e6-f18513f905ee", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b5c83d73-dbe5-40eb-b2ee-ea79fec4b07a", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "a8391f36-7440-48cd-84bb-23faaa10351c", "CreateDate": "2024-11-21T05:04:17.483053-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:04:17.483053-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "0afe87ca-74e0-4a0c-b9a8-31094d1a136b", "Name": "sample string 1" }, "Unit": { "UnitId": "ae433929-8c6c-4d14-a6a5-aceca9f7f85e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4f48d49d-a708-400e-b972-1b2af3083e31", "CreateDate": "2024-11-21T05:04:17.483053-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:04:17.483053-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bbab2fc5-3483-42a7-834b-d2da57ecc5b3", "FieldId": "a8773938-9eee-4bbc-b3ee-899f5c7eeacd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bbab2fc5-3483-42a7-834b-d2da57ecc5b3", "FieldId": "a8773938-9eee-4bbc-b3ee-899f5c7eeacd", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:04:17.483053-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "56249fe1-8154-4578-833b-21160ebc4ca8", "CreateDate": "2024-11-21T05:04:17.483053-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:04:17.483053-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" }