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": "cd502055-8159-4290-b63c-83f6122fc568", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "89bc7a36-e13a-4ea3-b138-171072c0af7f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9cdd5251-11d9-40f0-995f-3f887983a36f", "CreateDate": "2024-11-21T04:41:40.6018288-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:41:40.6018288-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "fa29f9b0-a6b4-48f4-a7b5-ba1cb68a45a2", "Name": "sample string 1" }, "Unit": { "UnitId": "e0cafca7-e73b-4947-8c58-c72930ac475c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "3910ca75-7600-4255-b6c6-4ffd38546ada", "CreateDate": "2024-11-21T04:41:40.6018288-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:41:40.6018288-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b1ce8e27-d606-416d-a8f0-820a35247569", "FieldId": "52f27dc8-f987-45d4-ad1e-cede70e2df4f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b1ce8e27-d606-416d-a8f0-820a35247569", "FieldId": "52f27dc8-f987-45d4-ad1e-cede70e2df4f", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "a7b9496d-4c2d-4a08-80d2-74b36d73cb05", "CreateDate": "2024-11-21T04:41:40.6018288-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T04:41:40.6018288-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" }