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": "d6104316-0de5-48b7-b603-b8e8d2555790", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c5c9c43a-632b-428a-a55c-5a65b660ed1c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "858723cd-defb-4c48-9682-5d4615580840", "CreateDate": "2025-04-03T19:43:42.0052186-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T19:43:42.0052186-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "c08dddd2-f764-47ce-8bfa-340b4d888f17", "Name": "sample string 1" }, "Unit": { "UnitId": "2a0b0b27-1250-42ea-9245-db5c7bf6f140", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "125f3ca5-f256-43d3-ae72-e7f78cc32744", "CreateDate": "2025-04-03T19:43:42.0052186-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T19:43:42.0208444-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "684ca676-434a-4ca8-b37d-3deef4a2ae7f", "FieldId": "49fe1786-a3f1-4f2d-9629-2eb15d7becff", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "684ca676-434a-4ca8-b37d-3deef4a2ae7f", "FieldId": "49fe1786-a3f1-4f2d-9629-2eb15d7becff", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "7521eb07-15ae-4a13-bc2a-0ba6b3677603", "CreateDate": "2025-04-03T19:43:42.0208444-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T19:43:42.0208444-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" }