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": "9af67776-9ea0-44e7-ab3a-398673fbff95", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0a255fa7-7d9b-4e25-97f3-f840691eb72d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5ce67a73-1344-4f62-b9a2-cbc1fcec577f", "CreateDate": "2025-06-02T02:51:34.4605191-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T02:51:34.4605191-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "438a7362-7415-49cf-a303-d9ce7bfd574c", "Name": "sample string 1" }, "Unit": { "UnitId": "b8256c19-fb5a-4335-825d-f2a3e6a1a562", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4926f519-51db-4d62-af55-5abc961bb35f", "CreateDate": "2025-06-02T02:51:34.4605191-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T02:51:34.4605191-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2b37e96a-aabc-44fc-92b2-3ae6f2e51f7b", "FieldId": "46560402-6775-4dd2-83e3-7d9ef5b09056", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2b37e96a-aabc-44fc-92b2-3ae6f2e51f7b", "FieldId": "46560402-6775-4dd2-83e3-7d9ef5b09056", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "260fc67d-1782-46ee-8d06-7345140b5481", "CreateDate": "2025-06-02T02:51:34.4605191-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T02:51:34.4605191-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" }