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 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": "f5222285-98f9-43a2-ad63-7f5653646ab5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "abc4f74f-6242-4eda-a8e8-ab320cf0f0bd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "244c3eb4-0b25-45cd-a0a9-3fc4ad0f501f",
"CreateDate": "2025-12-13T01:13:39.2416847-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:13:39.2416847-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0f500671-78e9-468d-b0f1-456b6d69d8e1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ada06e59-56ed-471a-a09e-b67ff70caabf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0aa0d1d7-5a38-49d2-864a-f6922142f34b",
"CreateDate": "2025-12-13T01:13:39.2416847-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T01:13:39.2416847-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1acf65ca-b64a-4ac3-b2e6-850533aa4d7c",
"FieldId": "9180cc9a-81a3-4a69-bd9c-4efcc8b7304c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1acf65ca-b64a-4ac3-b2e6-850533aa4d7c",
"FieldId": "9180cc9a-81a3-4a69-bd9c-4efcc8b7304c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "220f2710-2a40-4626-a8cb-6bd7c9c1f68d",
"CreateDate": "2025-12-13T01:13:39.2416847-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T01:13:39.2416847-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"
}