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": "84bba82a-813d-4277-adaa-7daf3c485e40",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3dd3bec3-d391-438e-883e-7beeefa8809c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b561a693-c036-48c5-921f-f17db586ee91",
"CreateDate": "2026-06-01T20:28:10.9260458-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:28:10.9260458-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d8eab24d-07cf-4ae2-bfd7-65f13e9ba838",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bd38253d-81c7-4711-bbb3-faa2aa40148b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5fcdf14e-6782-42d0-a6e0-1f9e9b75e8b8",
"CreateDate": "2026-06-01T20:28:10.9260458-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:28:10.9260458-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "557f6f1d-bbc0-4d29-acd5-15ec38984263",
"FieldId": "974d6807-e908-4c89-a206-6474f41d70ec",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "557f6f1d-bbc0-4d29-acd5-15ec38984263",
"FieldId": "974d6807-e908-4c89-a206-6474f41d70ec",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9364775b-ac07-4214-b20b-0b8d289e5001",
"CreateDate": "2026-06-01T20:28:10.9260458-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:28:10.9260458-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"
}