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": "0055d7e1-73fc-404e-bcbc-d17a86714fa0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0b5a7708-9641-4d7a-9083-2521e7022dcf",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8e491227-89f6-4bb5-be60-aac68e0d716d",
"CreateDate": "2026-10-23T04:08:23.6779414-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-23T04:08:23.6779414-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6f0e52cb-515f-4903-a3fd-413a4db9be07",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6a3b3056-9b45-42e2-b3d5-46659a91b5cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "abf04ebd-a8db-41ec-9c43-2dec2439f813",
"CreateDate": "2026-10-23T04:08:23.6779414-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-23T04:08:23.6779414-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2f75de60-9c74-41d0-964e-b5908f428300",
"FieldId": "95b5323c-b66c-42b8-9d91-58c30efe2e7c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2f75de60-9c74-41d0-964e-b5908f428300",
"FieldId": "95b5323c-b66c-42b8-9d91-58c30efe2e7c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b88b0b3e-c18f-4fe9-a0f9-6f66ad03f194",
"CreateDate": "2026-10-23T04:08:23.6779414-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-23T04:08:23.6779414-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"
}