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": "f5029d7b-a1d2-4596-bc53-00d064d93810", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bfb37e8a-014e-464e-b990-b13593da2037", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a7243889-d3c4-4659-846f-d66687383464", "CreateDate": "2025-01-20T20:21:17.3861156-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:21:17.3861156-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "d9317bcf-db90-4880-b199-3210fec077b1", "Name": "sample string 1" }, "Unit": { "UnitId": "37f210c7-6988-4878-b80b-f381ea7b4cd6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "85be65b2-1ef6-4763-bb65-d8b4f2890546", "CreateDate": "2025-01-20T20:21:17.3861156-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:21:17.3861156-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b68e6d23-cb69-4acc-b751-9765d3392a0e", "FieldId": "b7733539-965a-4126-861d-f3371e029a38", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b68e6d23-cb69-4acc-b751-9765d3392a0e", "FieldId": "b7733539-965a-4126-861d-f3371e029a38", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "dc97242c-6b80-4654-be09-0d856fec4dba", "CreateDate": "2025-01-20T20:21:17.3861156-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:21:17.3861156-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" }