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": "91be7f7c-dd10-4789-953c-26f2a40d5b32",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7269d261-13f4-40b6-84ac-193601a85211",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "de302454-c3e8-4b02-a42f-d0a71c5fbdcd",
"CreateDate": "2026-01-04T21:22:37.6654964-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-04T21:22:37.6654964-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "96359c35-8fa9-4384-ba83-96c3beee6775",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4c1503d5-4f73-439c-a7bf-281c182dc8b7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a360062-e8ab-46e1-a968-cbf10d9b5bf0",
"CreateDate": "2026-01-04T21:22:37.6654964-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-04T21:22:37.6654964-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "c467db0c-ba62-4c28-b460-d60b911537f4",
"FieldId": "af762611-d2f4-4dde-a024-0880608b5b1c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "c467db0c-ba62-4c28-b460-d60b911537f4",
"FieldId": "af762611-d2f4-4dde-a024-0880608b5b1c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c6e4b385-0016-45fa-ade2-b775df851797",
"CreateDate": "2026-01-04T21:22:37.6654964-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-04T21:22:37.6654964-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"
}