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": "6894ac13-7cd5-422d-a587-1ee48c86ee9b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9e59f708-dcaf-4746-8b0e-eefcafc672e4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "084adeec-0c0a-4e95-996b-45168a905ef0", "CreateDate": "2025-04-03T15:24:14.5917801-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:24:14.5917801-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b3518a6b-68a6-42ce-bc2e-19177705e010", "Name": "sample string 1" }, "Unit": { "UnitId": "674d3be4-755f-4874-a62c-e71e81ca8b16", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "971804f3-fbf2-47be-a0c0-70f3922f484e", "CreateDate": "2025-04-03T15:24:14.5917801-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:24:14.5917801-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "dd682200-427f-4b6c-a08e-dee8e7aae00a", "FieldId": "f1d804b9-d6aa-40d3-95ff-2edb230dff68", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "dd682200-427f-4b6c-a08e-dee8e7aae00a", "FieldId": "f1d804b9-d6aa-40d3-95ff-2edb230dff68", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "99d43e3a-3a3f-47dc-ae78-d935dba2a38f", "CreateDate": "2025-04-03T15:24:14.5917801-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-03T15:24:14.5917801-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" }