DELETE PropertyTypes
Deletes the given property type, including all properties of that type.
Request Information
URI Parameters
None.
Body Parameters
Property type to delete
PropertyTypeName | Description | Type | Additional information |
---|---|---|---|
PropertyTypeId | 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. |
|
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:
{ "PropertyTypeId": "c59453c6-ece0-4522-8f03-bcdc07d4dd99", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d005580b-05ed-48c6-8aad-a31300bff3ea", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "84c7bc3e-662a-463c-9a42-d1bd491afae7", "CreateDate": "2025-08-29T17:22:12.4272064-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:22:12.4272064-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "dfd25f3b-bc40-4cb5-8706-5a96f9f76302", "Name": "sample string 1" }, "Unit": { "UnitId": "ef51c59d-d8e7-4d23-837b-776e0ecd2062", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d798ac38-a04c-4191-aff5-9ab99332aae7", "CreateDate": "2025-08-29T17:22:12.4272064-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:22:12.4272064-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d89a5c12-0b4f-4c87-9df0-d1bea50f42fb", "FieldId": "19817f5a-0864-4b39-aa91-73f9b8fdbca8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d89a5c12-0b4f-4c87-9df0-d1bea50f42fb", "FieldId": "19817f5a-0864-4b39-aa91-73f9b8fdbca8", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "3d3cd21e-b9e0-4964-a927-7570aa8209e5", "CreateDate": "2025-08-29T17:22:12.4272064-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:22:12.4272064-07:00", "LastModifiedUser": "sample string 7" }
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" }