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": "0f864e77-6636-4dea-bbcc-9f7aa4e81e4c", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8e38128e-c5e6-4209-ac20-dd0edf1ced20", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "c0e0605f-f7da-4217-8071-c24b753d6140", "CreateDate": "2025-01-30T17:02:23.2408649-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:02:23.2408649-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "666399be-c3a9-4296-8242-f6f11ae8969e", "Name": "sample string 1" }, "Unit": { "UnitId": "83319504-a2a9-45c2-956c-7315f2ef092f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bfef5195-4dff-474a-9736-671bfbafa766", "CreateDate": "2025-01-30T17:02:23.2408649-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:02:23.2408649-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b2d55db0-10ea-488b-8f7e-9b60fd88638f", "FieldId": "3dad2ce1-04f9-4b32-b801-5be32ac8848d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b2d55db0-10ea-488b-8f7e-9b60fd88638f", "FieldId": "3dad2ce1-04f9-4b32-b801-5be32ac8848d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "1f4134c3-df3d-4396-8213-c3a6e99c2b5b", "CreateDate": "2025-01-30T17:02:23.2408649-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:02:23.2408649-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" }