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": "b3de9bce-9901-4ee3-aec3-9cebc7d31439", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "41f49d9f-4834-4343-aae3-df90a5250770", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b94ea7a7-2558-4ef8-ad8f-c9b9cb58eac1", "CreateDate": "2024-12-21T19:27:21.7338408-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T19:27:21.7338408-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "a14b6230-a0be-4ec7-aeaa-558a7d7b5b60", "Name": "sample string 1" }, "Unit": { "UnitId": "1a902a6b-8849-4c30-b309-6fb75af6112e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6daefe4e-6ddd-4b04-8397-445d21cebf58", "CreateDate": "2024-12-21T19:27:21.7338408-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T19:27:21.7338408-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d3d9d2b9-8151-4471-826c-b007b1ca149c", "FieldId": "0e7cbd1b-e58d-4e19-bb3b-79650ac287c0", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d3d9d2b9-8151-4471-826c-b007b1ca149c", "FieldId": "0e7cbd1b-e58d-4e19-bb3b-79650ac287c0", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "7fc20e25-74ab-41c1-9a60-dbf4face1daa", "CreateDate": "2024-12-21T19:27:21.7338408-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T19:27:21.7338408-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" }