DELETE PropertyTypes
Deletes the given property type, including all properties of that type.
Request Information
URI Parameters
None.
Body Parameters
Property type to delete
PropertyTypeName | 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": "7a501a0f-77fe-4880-a218-9241426eea2a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "39509cde-55fb-49d8-8da0-de6351b2c212", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "077c5657-600d-414a-a635-aefe663feb7a", "CreateDate": "2025-06-27T07:24:02.991504-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:24:02.991504-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "74f91915-b4e9-46dd-b664-fd92a407beae", "Name": "sample string 1" }, "Unit": { "UnitId": "60cdcc6d-e3fa-42ee-92e1-b81f5434614c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ea58686c-00d6-4c68-9e38-1dec3136ac9d", "CreateDate": "2025-06-27T07:24:02.991504-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:24:02.991504-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "76118e2d-8d5e-40f0-9683-c8f7dea97eff", "FieldId": "baed9277-b3eb-4fca-8934-04cda7a46da1", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "76118e2d-8d5e-40f0-9683-c8f7dea97eff", "FieldId": "baed9277-b3eb-4fca-8934-04cda7a46da1", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "bed6fe9d-37fb-403d-a729-d479974494c2", "CreateDate": "2025-06-27T07:24:02.991504-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:24:02.991504-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" }