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": "87a2cbb9-94b0-486c-b31f-c3c90a73ab48", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d373ef13-b88f-4441-9477-24471d48e47d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0ae390fe-6b2f-4de0-b5d6-53c512646d96", "CreateDate": "2025-04-30T14:52:10.3978214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:52:10.3978214-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "f6718d27-8154-4a36-a671-9a55604e37ce", "Name": "sample string 1" }, "Unit": { "UnitId": "bbcb8cf3-2854-418e-9b95-28f21860294a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f7da1ca6-548a-46d8-90bf-8fddd25a277d", "CreateDate": "2025-04-30T14:52:10.3978214-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:52:10.3978214-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9f9ce15f-dcc1-4ada-9ce3-ffff2f1c2b79", "FieldId": "2888e65b-961d-45f1-a87e-13610642ccc5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9f9ce15f-dcc1-4ada-9ce3-ffff2f1c2b79", "FieldId": "2888e65b-961d-45f1-a87e-13610642ccc5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "af24ec28-9dc7-4b13-ada5-7c0e5031d457", "CreateDate": "2025-04-30T14:52:10.3978214-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:52:10.3978214-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" }