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": "8e48753f-ddc3-4dbc-b2ce-89a5a9e79487",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0f0dd8b9-e7eb-4c11-a43b-dd3b68d21662",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "52737bd0-aea9-4a9f-b3be-86eb73961d2a",
"CreateDate": "2025-11-26T11:56:26.4108888-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-26T11:56:26.4108888-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "1674ee2e-7f5b-4875-83ea-9a5f75a288f9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cca49346-a839-4fc5-b4ae-ff5e9ca187b9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "299516e2-31bf-4416-9bde-621ea39ccb37",
"CreateDate": "2025-11-26T11:56:26.4108888-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-26T11:56:26.4108888-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4d605dc5-dcc4-41ae-a030-566524721a34",
"FieldId": "db76ebf2-c6ea-4da8-9ce2-4f8441679cd8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4d605dc5-dcc4-41ae-a030-566524721a34",
"FieldId": "db76ebf2-c6ea-4da8-9ce2-4f8441679cd8",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "42918104-6463-4bdc-b0c6-19d87c71151f",
"CreateDate": "2025-11-26T11:56:26.4108888-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-26T11:56:26.4108888-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"
}