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": "bf8be947-b674-4f03-b66a-55f299f4cba5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "aa45f122-33f1-4246-8fd4-61bc4338187a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5ccc19d5-1fb6-45d0-920c-c130324e5ff7",
"CreateDate": "2026-04-18T04:58:35.3086011-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:35.3086011-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ac01dc3b-b76b-43af-aaa6-321a59e5890d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "84f3af8b-6e9a-45ba-b7f7-3c87a2b472f7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1e2d13fc-2ce4-490d-a383-87a68bd68a02",
"CreateDate": "2026-04-18T04:58:35.3086011-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:35.3086011-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b69e66dc-bf53-47bb-bfd1-609bf976aec1",
"FieldId": "d48957ad-8c21-49c7-9763-e9a3ececf21b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b69e66dc-bf53-47bb-bfd1-609bf976aec1",
"FieldId": "d48957ad-8c21-49c7-9763-e9a3ececf21b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f0800101-6b29-4137-9d64-5e1051c3a80a",
"CreateDate": "2026-04-18T04:58:35.3086011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:35.3086011-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"
}