DELETE FormTypes
Deletes the given form type, including all forms of that type.
Request Information
URI Parameters
None.
Body Parameters
Form type to delete
FormTypeName | Description | Type | Additional information |
---|---|---|---|
FormTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
AssetType | AssetType |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
Fields | Collection of FormTypeField |
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:
{ "FormTypeId": "fb6e0e80-73c7-443d-bf15-ee09461e1eab", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dd9647c1-2ddd-424d-a749-6ffefbbb5aad", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3d61dc2d-c7a3-4974-8535-1efe5ff99d4d", "CreateDate": "2024-10-10T15:21:55.9201069-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-10-10T15:21:55.9201069-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-10-10T15:21:55.9201069-07:00", "Fields": [ { "FormTypeFieldId": "75663945-9887-4ab8-822c-6f7390964493", "Section": { "FormTypeSectionId": "2f093da6-e91f-44c8-94b5-f81785bf730e", "Name": "sample string 1", "Label": "sample string 2", "DisplayOrder": 1, "IsRepeatable": true, "VisibleExpression": "sample string 4", "SourceSystemId": "sample string 5" }, "Name": "sample string 1", "Label": "sample string 2", "Description": "sample string 3", "DataType": { "DataTypeId": "7005c58f-7997-4581-9931-ac2610b4553f", "Name": "sample string 1" }, "Unit": { "UnitId": "c19fa65b-608d-4395-a494-0d9a1f1d7753", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a364c4b8-dcc4-4876-b41e-6ed8a7848876", "CreateDate": "2024-10-10T15:21:55.9201069-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:55.9201069-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "ValueExpression": "sample string 5", "RequiredExpression": "sample string 6", "IsAttachment": true, "DefaultValueExpression": "sample string 8", "IsAccumulator": true, "IsMultiline": true, "IsRepeatable": true, "VisibleExpression": "sample string 12", "SourceSystemId": "sample string 13" }, { "FormTypeFieldId": "75663945-9887-4ab8-822c-6f7390964493", "Section": { "FormTypeSectionId": "2f093da6-e91f-44c8-94b5-f81785bf730e", "Name": "sample string 1", "Label": "sample string 2", "DisplayOrder": 1, "IsRepeatable": true, "VisibleExpression": "sample string 4", "SourceSystemId": "sample string 5" }, "Name": "sample string 1", "Label": "sample string 2", "Description": "sample string 3", "DataType": { "DataTypeId": "7005c58f-7997-4581-9931-ac2610b4553f", "Name": "sample string 1" }, "Unit": { "UnitId": "c19fa65b-608d-4395-a494-0d9a1f1d7753", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a364c4b8-dcc4-4876-b41e-6ed8a7848876", "CreateDate": "2024-10-10T15:21:55.9201069-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:55.9201069-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "ValueExpression": "sample string 5", "RequiredExpression": "sample string 6", "IsAttachment": true, "DefaultValueExpression": "sample string 8", "IsAccumulator": true, "IsMultiline": true, "IsRepeatable": true, "VisibleExpression": "sample string 12", "SourceSystemId": "sample string 13" } ], "SourceSystemId": "sample string 3", "CompanyId": "228eee16-d2bc-4b14-b78c-f7c8185e6829", "CreateDate": "2024-10-10T15:21:55.9201069-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:21:55.9201069-07:00", "LastModifiedUser": "sample string 6" }
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" }