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": "8f0db38c-138f-41ef-bb9f-9d3f64f50291",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "99502658-2401-400f-a28c-d6a7353013cb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6348ca28-6c31-4681-a578-7d3edb89f04e",
"CreateDate": "2026-07-15T13:21:43.6437569-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:43.6437569-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "31fb2e0d-537e-40f4-8ee8-d8c38fcd48db",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3693a4f0-3466-41d1-91b3-182769005550",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1932accb-635a-4e32-951d-91586c77857b",
"CreateDate": "2026-07-15T13:21:43.6437569-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:43.6437569-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a8909519-7096-4f34-80dd-8f6086f03a90",
"FieldId": "316dde2b-3aa3-4634-b4ed-6ab2c033af7d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a8909519-7096-4f34-80dd-8f6086f03a90",
"FieldId": "316dde2b-3aa3-4634-b4ed-6ab2c033af7d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e4028048-bbbc-4faa-a24c-8fc158107e51",
"CreateDate": "2026-07-15T13:21:43.6437569-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:43.6437569-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"
}