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": "94de339a-7822-4adc-b3bf-948baa63371e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "06162fdb-5ba1-482b-a531-f69d0d9dea2e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b8b18c09-72e3-44fb-94b3-63448109c47e",
"CreateDate": "2025-12-18T02:43:08.3998762-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-18T02:43:08.3998762-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5204131b-4eb4-49f6-8214-271d4cea3871",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1682c639-44b4-48a2-a787-7ecf7ec5b280",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "18129e69-505f-4a20-9504-81c317dd40ae",
"CreateDate": "2025-12-18T02:43:08.3998762-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-18T02:43:08.3998762-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "649c326c-1069-41bc-ab13-fdb47db5cc15",
"FieldId": "6840a152-6b63-44e3-9886-7e9493416d32",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "649c326c-1069-41bc-ab13-fdb47db5cc15",
"FieldId": "6840a152-6b63-44e3-9886-7e9493416d32",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "17d9ce70-2518-486a-9a9f-93411dd1ec42",
"CreateDate": "2025-12-18T02:43:08.3998762-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-18T02:43:08.3998762-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"
}