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": "8337c283-ff76-46d5-99bf-ec5e2871be26",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0254714a-c384-47ea-bfc0-5108be898ea1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d1259c09-e602-4fda-9cd7-40f589029204",
"CreateDate": "2026-08-11T22:25:44.5484561-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:25:44.5484561-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e4615380-2958-4042-909f-e8d4c85bee31",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2962965b-77c5-4a0d-8748-9e8f4720df9f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d69048be-6f7d-42b5-9bbf-46374e9aed3f",
"CreateDate": "2026-08-11T22:25:44.5484561-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:25:44.5484561-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a559eab1-012b-4b35-a9af-c341b44a3a34",
"FieldId": "592205fd-a6f2-4eb4-a626-6a647fa5b55e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a559eab1-012b-4b35-a9af-c341b44a3a34",
"FieldId": "592205fd-a6f2-4eb4-a626-6a647fa5b55e",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5e7656c3-0674-443a-83ef-c62e289d00eb",
"CreateDate": "2026-08-11T22:25:44.5484561-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:25:44.5484561-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"
}