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": "34a510b1-cb5b-4691-b704-f864e03d887c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9ae31f2b-016b-473a-8a08-a2bafd7b689e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ea2f432a-96bf-49b5-9fa7-a25c35d32320", "CreateDate": "2025-05-09T16:02:13.4744134-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T16:02:13.4744134-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "b6f4a174-2ad9-4003-88f0-133fe371ff88", "Name": "sample string 1" }, "Unit": { "UnitId": "1dfbd5b6-14ed-457e-85cc-8b542d9f590b", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "1c3374b7-682f-4ef2-b395-504b6a378a63", "CreateDate": "2025-05-09T16:02:13.4744134-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T16:02:13.4744134-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2f59607c-2d4d-4a0f-bd3c-54c0e27b208f", "FieldId": "f0c8c8fb-5223-4013-ac62-b5c90397b1aa", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2f59607c-2d4d-4a0f-bd3c-54c0e27b208f", "FieldId": "f0c8c8fb-5223-4013-ac62-b5c90397b1aa", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "2ba1651f-8882-447b-90cf-04f03e3747ea", "CreateDate": "2025-05-09T16:02:13.4744134-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T16:02:13.4744134-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" }