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": "a6f71e00-7247-4575-ab61-6280737eb562",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9d0dacd9-c843-4dd3-85a3-6a1484e6da15",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4183cd94-cade-432a-b8d4-6ba1623355cb",
"CreateDate": "2025-12-30T17:40:45.0491135-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-30T17:40:45.0491135-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "eed36d8b-52b7-4030-a413-30a1903da11f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ee9a8d40-5db0-4e4d-93d0-385dc2ce32de",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b4e87d5f-f14c-4de9-ae7a-b03dded8c622",
"CreateDate": "2025-12-30T17:40:45.0491135-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-30T17:40:45.0491135-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d1be032e-3889-4b72-b6a7-9bccbb7673f0",
"FieldId": "39ded473-8da1-4152-9e34-4afe19210b89",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d1be032e-3889-4b72-b6a7-9bccbb7673f0",
"FieldId": "39ded473-8da1-4152-9e34-4afe19210b89",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "79a48953-eac6-488d-abf7-e10906b202d8",
"CreateDate": "2025-12-30T17:40:45.0491135-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-30T17:40:45.0491135-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"
}