DELETE FormTypes
Deletes the given form type, including all forms of that type.
Request Information
URI Parameters
None.
Body Parameters
Form type to delete
FormType| Name | Description | Type | Additional information |
|---|---|---|---|
| FormTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| FrequencyNeeded | integer |
None. |
|
| ValueNeededDate | date |
None. |
|
| Active | boolean |
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": "13a1462f-a6b9-4c8f-a386-a5039aa1d758",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5862f692-c59a-49cf-92f6-be7677c90a14",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "22a55b2b-1d97-41c2-91cd-0b0988f1648b",
"CreateDate": "2026-07-12T02:22:43.2092604-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-12T02:22:43.2092604-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-12T02:22:43.2092604-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "d7e1f810-89e4-4f97-8312-4ba9f3ee5b6d",
"Section": {
"FormTypeSectionId": "a7ed5fbb-6e0f-414b-aa5b-108babf921fa",
"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": "592ef4f7-9c44-4fc5-9924-bfcb5503839e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aeb3ce93-1223-4e57-a7fd-bea8166d96a4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "92d2379b-4446-487a-8232-b93851adb2ce",
"CreateDate": "2026-07-12T02:22:43.2092604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-12T02:22:43.2092604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5b089534-634e-4104-952c-bd7b43431dee",
"FieldId": "74ab0b4c-5534-4356-bc49-3d2911487c97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5b089534-634e-4104-952c-bd7b43431dee",
"FieldId": "74ab0b4c-5534-4356-bc49-3d2911487c97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"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": "d7e1f810-89e4-4f97-8312-4ba9f3ee5b6d",
"Section": {
"FormTypeSectionId": "a7ed5fbb-6e0f-414b-aa5b-108babf921fa",
"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": "592ef4f7-9c44-4fc5-9924-bfcb5503839e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "aeb3ce93-1223-4e57-a7fd-bea8166d96a4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "92d2379b-4446-487a-8232-b93851adb2ce",
"CreateDate": "2026-07-12T02:22:43.2092604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-12T02:22:43.2092604-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5b089534-634e-4104-952c-bd7b43431dee",
"FieldId": "74ab0b4c-5534-4356-bc49-3d2911487c97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5b089534-634e-4104-952c-bd7b43431dee",
"FieldId": "74ab0b4c-5534-4356-bc49-3d2911487c97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"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 4",
"CompanyId": "da0fc80e-b1c6-4efd-abf6-8d4664bbd217",
"CreateDate": "2026-07-12T02:22:43.2092604-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-12T02:22:43.2092604-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"
}