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": "d7760fd0-3a29-483b-8510-b0e2138aa10f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7c2743b1-6bd6-424a-9563-1d1bd608ea95", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d8bf155c-00cf-48af-98a5-f2a4a6125623", "CreateDate": "2025-04-17T04:28:16.4445799-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-17T04:28:16.4445799-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "10e38ff5-6d23-43c4-a868-3ebca9913f6d", "Name": "sample string 1" }, "Unit": { "UnitId": "a7be6100-21af-4238-841e-a32fa585142e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b56fb088-daef-4bfa-80c2-d45f2b5a6942", "CreateDate": "2025-04-17T04:28:16.4445799-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-17T04:28:16.4445799-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f18ecddc-3b69-488c-b725-3b290b739b68", "FieldId": "c6476ac8-4002-449b-8f0d-7b5739f376da", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f18ecddc-3b69-488c-b725-3b290b739b68", "FieldId": "c6476ac8-4002-449b-8f0d-7b5739f376da", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "16014a82-bcc3-4e77-88ad-aabd03c4d7d4", "CreateDate": "2025-04-17T04:28:16.4445799-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-17T04:28:16.4445799-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" }