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": "a3b5f7a4-05d2-44a1-a7ff-df325ce2d48e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "32a90230-f323-49bd-972f-481b533b745e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "93592abe-2d5c-4706-a124-5e78dd1a02ce", "CreateDate": "2024-12-08T03:24:53.0866385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T03:24:53.0866385-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "2f7a0f87-c784-4c60-9412-0ff281d01e54", "Name": "sample string 1" }, "Unit": { "UnitId": "2f11e836-76b3-4064-90f9-11c97b553a1a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "24b75bed-a23d-47ba-bbfc-ec03ce635b3c", "CreateDate": "2024-12-08T03:24:53.0866385-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T03:24:53.0866385-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "a3606ec4-ded0-4afb-ba30-67523538c29d", "FieldId": "7ad7e531-588e-497f-bc9f-ad585a6963c5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "a3606ec4-ded0-4afb-ba30-67523538c29d", "FieldId": "7ad7e531-588e-497f-bc9f-ad585a6963c5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "da5f6e31-8cd7-4479-a30d-4239b9410405", "CreateDate": "2024-12-08T03:24:53.0866385-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T03:24:53.0866385-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" }