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 string |
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": "92905c62-7ac9-4911-a5a4-0ae20930f5aa", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b4dd8e2e-c3dd-4ee9-8070-46c0e06adcda", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "943b998f-40ee-4027-bdde-56346495833d", "CreateDate": "2024-12-21T19:30:22.9174687-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:30:22.9174687-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "399df011-6ab6-4d64-abaa-5057d2572086", "Name": "sample string 1" }, "Unit": { "UnitId": "bc922355-4d31-4efe-9e74-74a318e635d5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "29c13ace-ec25-4d84-abc9-55a9986b3760", "CreateDate": "2024-12-21T19:30:22.9174687-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:30:22.9174687-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "1c5bc5d6-58c5-470d-8175-2e29708e957a", "CreateDate": "2024-12-21T19:30:22.9174687-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:30:22.9174687-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" }