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": "718bd92e-02bb-4a80-ac26-4ac3b82d0f1f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b804e034-5986-414e-a4e4-fd824c86e76a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1cb19d1a-83b0-416d-89a2-b0d3af15ac69",
"CreateDate": "2026-11-12T07:51:35.3186426-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T07:51:35.3186426-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "40e0bacf-553a-41b5-9886-22ef206feca3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5b4794a0-e2d7-4a08-9240-cc68f016fd6f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "919ad83c-81bf-4b46-9b0d-afcd36077482",
"CreateDate": "2026-11-12T07:51:35.3186426-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T07:51:35.3186426-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "293d738c-d39f-450c-a02c-e2c567abac24",
"FieldId": "3c3bbfe2-a5c1-4a2d-98f1-f1e8509bfa31",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "293d738c-d39f-450c-a02c-e2c567abac24",
"FieldId": "3c3bbfe2-a5c1-4a2d-98f1-f1e8509bfa31",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a185db3c-f36c-406d-98f7-08986a91b035",
"CreateDate": "2026-11-12T07:51:35.3186426-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-12T07:51:35.3186426-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"
}