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": "8dc37fe3-1a58-4003-9ced-c9861bf75dc2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bcaa29a1-206b-446d-b099-2ae7ef6cb5ff",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1310afbf-8153-4a26-a8ef-fa0e9a658ed7",
"CreateDate": "2026-03-13T07:55:47.5838997-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-13T07:55:47.5838997-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d5eb1cd0-5cad-4109-b27f-fc1ef033ecbe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dcc67b7d-3ece-4098-b003-5fbae6584233",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "32f8b250-5dad-4768-bcc5-ac0c9e7366f5",
"CreateDate": "2026-03-13T07:55:47.5838997-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T07:55:47.5838997-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b02a65fe-6829-46ff-a404-42f546e1254c",
"FieldId": "477cc3e4-535c-432c-9cd6-588337fe73bc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b02a65fe-6829-46ff-a404-42f546e1254c",
"FieldId": "477cc3e4-535c-432c-9cd6-588337fe73bc",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "85cfafbe-9aa6-4ba2-a592-91732bd82a9e",
"CreateDate": "2026-03-13T07:55:47.5838997-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T07:55:47.5838997-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"
}