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": "19147aa1-c72b-4108-a7e4-8d3db55b019c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7e7662d7-8559-43cf-860d-40d97c31eef5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "912b58ac-b516-43a0-9058-13fcb1ed6c2b", "CreateDate": "2025-02-22T09:25:41.6680929-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-22T09:25:41.6680929-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "4dc354fe-9a3f-4886-942c-316ddf386d78", "Name": "sample string 1" }, "Unit": { "UnitId": "df9d0551-a629-465e-8d42-ab37ed7b9e3c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "83e8cbe4-fb85-4940-b463-771ecb6d56e7", "CreateDate": "2025-02-22T09:25:41.6680929-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-22T09:25:41.6680929-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "975e67b9-81ec-499c-84cd-108c8d35080b", "FieldId": "310c426a-a4fc-4c46-beec-07788d41a3d8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "975e67b9-81ec-499c-84cd-108c8d35080b", "FieldId": "310c426a-a4fc-4c46-beec-07788d41a3d8", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "2a04a3d5-0a4d-44f0-a627-eb185f9c7f1a", "CreateDate": "2025-02-22T09:25:41.6680929-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-22T09:25:41.6680929-08: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" }