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": "f898cd77-aa49-4431-b28d-b41d95d41b12",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7aa38e43-589f-485b-89a5-3d8aae944e01",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e20a37f9-652e-4d15-90a9-9e3d237219ae",
"CreateDate": "2026-09-01T23:18:26.8974907-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-01T23:18:26.8974907-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "fbcaa52b-1109-4f41-88bc-78312ea64b4c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9fbf52ff-fd42-4a99-b3a6-fc78a073fed5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c2d28fcd-0837-4823-bcdc-f1dca8443fca",
"CreateDate": "2026-09-01T23:18:26.8974907-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-01T23:18:26.8974907-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c3e7a715-d05d-424e-91e3-95dabacc1d0d",
"FieldId": "c5c89cc8-8c18-4a5b-84f9-742f17ad39cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c3e7a715-d05d-424e-91e3-95dabacc1d0d",
"FieldId": "c5c89cc8-8c18-4a5b-84f9-742f17ad39cf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "46e18242-0e6a-49b2-abd8-38084f2673fb",
"CreateDate": "2026-09-01T23:18:26.8974907-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-01T23:18:26.8974907-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"
}