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": "0819c7e6-f232-4a37-bfdc-c1e2e88833ee", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "815ffcdf-a91b-4d4b-97bf-d40d1557546d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "4887ba9f-616b-47c0-aaef-651fa67f9166", "CreateDate": "2025-07-31T03:19:23.3768657-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:19:23.3768657-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "388b5b74-eeb9-4d4a-adb5-3bd798db2d8f", "Name": "sample string 1" }, "Unit": { "UnitId": "e7484838-11f0-468c-8f07-b379d2125763", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "02bb290c-e0f1-45d9-a150-9bff8093ef06", "CreateDate": "2025-07-31T03:19:23.3768657-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-31T03:19:23.3768657-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b744b0f7-9939-42b0-a633-0183d979f1d7", "FieldId": "4484f3be-96fd-4aa7-bc2b-4d2c80a921a0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b744b0f7-9939-42b0-a633-0183d979f1d7", "FieldId": "4484f3be-96fd-4aa7-bc2b-4d2c80a921a0", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "16acada9-2a5e-4025-95cf-6b56a17ed828", "CreateDate": "2025-07-31T03:19:23.3768657-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-31T03:19:23.3768657-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" }