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": "d0b3fa28-415e-40c5-b280-74f8f1776021",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "55332692-7ed9-41aa-a1df-01e00aefffe5",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2a4564fe-dbf6-4051-935d-d0a0650287cf",
"CreateDate": "2026-03-29T02:59:40.4111166-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-29T02:59:40.4111166-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "887e5346-a071-40f3-b02b-256b831b2277",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "da5ad9dc-2244-4b42-8989-af657843665b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b1263f57-c16c-4e75-a518-540306643535",
"CreateDate": "2026-03-29T02:59:40.4111166-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-29T02:59:40.4111166-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "77a686d3-cb99-4801-9931-176f7d8707f7",
"FieldId": "35b6f1c2-8d72-4a96-ac4d-872e2c0da406",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "77a686d3-cb99-4801-9931-176f7d8707f7",
"FieldId": "35b6f1c2-8d72-4a96-ac4d-872e2c0da406",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f39ab031-1324-47e2-845d-e7350c27a3f7",
"CreateDate": "2026-03-29T02:59:40.4111166-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-29T02:59:40.4111166-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"
}