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": "77ebc4b6-1e23-4ebb-bdd3-43b6b24f1da6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "75d25663-1746-4f99-ab62-a4ef81e657eb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "58e0f8fb-23b0-4115-9ecb-b70a75a758cd",
"CreateDate": "2026-03-03T23:34:29.9996555-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-03T23:34:29.9996555-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "87ba8a17-89e5-4539-a27c-94621491b7a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1d991e08-0c1c-4392-af26-7aea86bba8e6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f3877e24-88c6-4ed2-94c9-6d974b0ec320",
"CreateDate": "2026-03-03T23:34:29.9996555-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-03T23:34:29.9996555-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "af740a20-d0f0-4d33-b28f-49f4bd855e2e",
"FieldId": "2940ca8c-a518-4cd7-8a2d-9bc196a82191",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "af740a20-d0f0-4d33-b28f-49f4bd855e2e",
"FieldId": "2940ca8c-a518-4cd7-8a2d-9bc196a82191",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ff62561a-88d7-4495-9443-4183e2abb96e",
"CreateDate": "2026-03-03T23:34:29.9996555-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-03T23:34:29.9996555-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"
}