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": "95266bbe-d6d7-478d-af37-ae10009261c0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ddca6bbb-ba7e-4941-9479-d4a5375c752a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "28253bb9-4e63-4513-992e-b4a6fe5fee7b",
"CreateDate": "2026-01-02T22:56:30.6523229-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-02T22:56:30.6523229-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "df5cf806-1fcf-4f0e-8c70-776927793d9f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c6255e92-de22-4f98-bbe9-9bc7dce84788",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "517dd588-8968-4c89-9014-e5b812a0023b",
"CreateDate": "2026-01-02T22:56:30.6523229-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T22:56:30.6523229-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "96cd2bcd-01a3-447e-8ef6-c8cc47f2725d",
"FieldId": "9109611c-2519-40c2-adde-62e14e2a73a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "96cd2bcd-01a3-447e-8ef6-c8cc47f2725d",
"FieldId": "9109611c-2519-40c2-adde-62e14e2a73a5",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "8db8d6ef-9119-4d74-925f-446ac0cd6130",
"CreateDate": "2026-01-02T22:56:30.6523229-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T22:56:30.6523229-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"
}