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": "848d1a6b-863c-44b8-956e-583a9ed3e073",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4a5336d6-e015-41b9-8540-74c218f4fe91",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6a2fe0d2-1ae8-4b28-aaac-652b94f71025",
"CreateDate": "2026-09-25T17:14:11.2524114-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-25T17:14:11.2524114-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d8f72a39-3683-44ef-8156-8cc16869c890",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "62798da2-4d6d-4c74-b3c9-77e941b2f469",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c3f4e603-cef9-4cc6-8210-e3acfb157cba",
"CreateDate": "2026-09-25T17:14:11.2524114-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-25T17:14:11.2524114-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0338ca0c-2aff-49b3-9c32-cfa83a74fc0a",
"FieldId": "6b0bac81-d419-4fc1-9ea3-a2a4a8932840",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0338ca0c-2aff-49b3-9c32-cfa83a74fc0a",
"FieldId": "6b0bac81-d419-4fc1-9ea3-a2a4a8932840",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "765a8533-6b18-420f-bfd1-1d7976203e58",
"CreateDate": "2026-09-25T17:14:11.2524114-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-25T17:14:11.2524114-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"
}