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": "4db7da5c-3abc-483c-8586-8b2709512289", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a785bd93-31c9-4928-a299-be1b7cba8e66", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f563abf8-ff12-4e51-a3f3-2862d5b3cc79", "CreateDate": "2025-04-24T14:14:27.7656567-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:14:27.7656567-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "63ffd477-f14d-49e5-b7a5-7776aac5a4b4", "Name": "sample string 1" }, "Unit": { "UnitId": "958959df-a778-4672-82a1-f72a0e85c86e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "566acf00-9223-4eef-8f57-6203ee8a330b", "CreateDate": "2025-04-24T14:14:27.7656567-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T14:14:27.7656567-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3d11c21d-f138-4639-b351-c7bd160a0a84", "FieldId": "9c89f04a-78db-4b9c-a777-063b4c2ebc1a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3d11c21d-f138-4639-b351-c7bd160a0a84", "FieldId": "9c89f04a-78db-4b9c-a777-063b4c2ebc1a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "cec05246-69e4-473e-83cb-9482064c54af", "CreateDate": "2025-04-24T14:14:27.7656567-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T14:14:27.7656567-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" }