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": "c5771596-8e7c-4c59-949d-4936c25332bb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b2fe8b13-6d46-4ea3-ac25-d950465eefc1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "77569be7-ce0d-4172-9677-8506bb0b0c44",
"CreateDate": "2026-08-24T20:06:18.6035775-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-24T20:06:18.6035775-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "4c322f9f-21f3-489c-9362-f333d232a47f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d2a2db9b-aab5-469b-8c96-a969e8df5a17",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ad518cfb-df68-4750-ae4f-b0567cd29a15",
"CreateDate": "2026-08-24T20:06:18.6035775-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-24T20:06:18.6035775-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bfaae8c5-5727-4eb6-a17e-6e5b3c848552",
"FieldId": "3c2f901c-b3c6-49ec-9327-d304a4cefa2a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bfaae8c5-5727-4eb6-a17e-6e5b3c848552",
"FieldId": "3c2f901c-b3c6-49ec-9327-d304a4cefa2a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ce094bb2-50e2-4546-9415-f2635d658d2e",
"CreateDate": "2026-08-24T20:06:18.6035775-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-24T20:06:18.6035775-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"
}