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": "3751a9d6-e5dd-493f-818d-18501a0ce96a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a21df128-9037-4263-ad30-8fc717d8d12c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ac7743b6-a2bb-408b-8f50-5e18413e35b3",
"CreateDate": "2026-03-30T17:26:24.2164419-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T17:26:24.2164419-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "b1eedd71-903c-481b-a4d0-4a48254b3737",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "221052b8-cff9-4df1-b2c0-c83c74037ce5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3c63c3a5-47b6-4523-91fe-b100d37c9a83",
"CreateDate": "2026-03-30T17:26:24.2164419-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T17:26:24.2164419-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ba94dcfb-bf2c-48b3-a7d8-8ab41a526e61",
"FieldId": "11096a6a-3016-4acf-acd2-a154e5458a62",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ba94dcfb-bf2c-48b3-a7d8-8ab41a526e61",
"FieldId": "11096a6a-3016-4acf-acd2-a154e5458a62",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "bc5f271e-ef39-4e2a-9028-d66abbce68bb",
"CreateDate": "2026-03-30T17:26:24.2164419-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T17:26:24.2164419-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"
}