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": "6ef41d72-b355-4ec1-bba7-06f5409be78d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2ad086bb-6230-426a-9476-caf6758ebd4f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01c64150-928c-48cd-b036-0d9126915139",
"CreateDate": "2026-01-26T00:03:23.3014576-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-26T00:03:23.3014576-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "00d0024e-d64e-4573-8226-a86c96256f70",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "92e8467b-f8b2-475e-a97a-4f0fa171b63e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "42220154-d1db-4dd8-879f-73fa5e2e6232",
"CreateDate": "2026-01-26T00:03:23.3014576-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-26T00:03:23.3014576-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c33be392-4175-44c1-971c-ceb33ed82b31",
"FieldId": "749ed236-6e35-4212-96bb-3405a5d499ea",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c33be392-4175-44c1-971c-ceb33ed82b31",
"FieldId": "749ed236-6e35-4212-96bb-3405a5d499ea",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "59bdefb3-2e4f-4ee1-8eba-643d3728741f",
"CreateDate": "2026-01-26T00:03:23.3014576-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-26T00:03:23.3014576-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"
}