DELETE PropertyTypes
Deletes the given property type, including all properties of that type.
Request Information
URI Parameters
None.
Body Parameters
Property type to delete
PropertyType| Name | 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 string |
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": "18b4e21e-284d-42a1-80ee-fabc17790865",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "eea8c5ff-4e9d-48ea-b3ef-cc0e5e82d321",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e040bb76-679f-4a8a-a17b-539628ac2907",
"CreateDate": "2025-11-05T00:24:43.5091359-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:24:43.5091359-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "1bd5af99-311c-41c6-9cbc-6f9ce6208d2b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9df0c550-8890-42d5-9402-b481cf1efc45",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "980f9157-35f6-454e-8511-aa8054154942",
"CreateDate": "2025-11-05T00:24:43.5091359-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:24:43.5091359-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "f4cf1f78-81da-4951-a25f-0326de2aa567",
"CreateDate": "2025-11-05T00:24:43.5091359-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-05T00:24:43.5091359-08: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"
}