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": "a0b05523-08b2-4704-a394-6efaddbcc000",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9987aba8-e151-49c4-b37c-65719662900e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5f61f748-8238-4bf2-93d4-687785680934",
"CreateDate": "2026-05-12T17:06:43.1637949-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-12T17:06:43.1637949-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "109dc0d7-befb-4eab-8bac-b411e0494568",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "12c13818-4bcb-4e50-becd-36fd406fbff8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "15ac4150-f01d-4190-94eb-01d056cbe0a0",
"CreateDate": "2026-05-12T17:06:43.1637949-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:43.1637949-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ed640c1c-3bb1-4dea-9154-015455399a10",
"FieldId": "5bd744a5-4be9-4865-b3c0-5cb983daf0f3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ed640c1c-3bb1-4dea-9154-015455399a10",
"FieldId": "5bd744a5-4be9-4865-b3c0-5cb983daf0f3",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f2ae1a64-97ba-4638-9702-d4c79b665ada",
"CreateDate": "2026-05-12T17:06:43.1637949-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-12T17:06:43.1637949-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"
}