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": "f1d70a09-73ff-4a75-9eb3-7fea35e9366b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6f55d654-e07c-4dca-b0f7-f786a74c9d89",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3c24678-1657-4f3f-a192-d48a8821d707",
"CreateDate": "2025-12-21T19:36:45.0379181-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T19:36:45.0379181-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-21T19:36:45.0379181-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "f62c0486-e3bb-4cb8-8021-ec80caa3a5f3",
"Section": {
"FormTypeSectionId": "f012ad7f-65d6-4ee6-b553-7e4e34aa292c",
"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": "0fa87d49-4df7-4874-b052-abbb32b506ec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dbb66107-88cd-4711-aa35-e26568a6e317",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1eb948ff-6fe0-4fea-85a0-7ca1240edcf3",
"CreateDate": "2025-12-21T19:36:45.0379181-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-21T19:36:45.0379181-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "187ff7d1-a505-4aba-83fd-38fddb73ea42",
"FieldId": "03f27f91-f957-43a9-ac52-13fc354e181d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "187ff7d1-a505-4aba-83fd-38fddb73ea42",
"FieldId": "03f27f91-f957-43a9-ac52-13fc354e181d",
"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": "f62c0486-e3bb-4cb8-8021-ec80caa3a5f3",
"Section": {
"FormTypeSectionId": "f012ad7f-65d6-4ee6-b553-7e4e34aa292c",
"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": "0fa87d49-4df7-4874-b052-abbb32b506ec",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dbb66107-88cd-4711-aa35-e26568a6e317",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1eb948ff-6fe0-4fea-85a0-7ca1240edcf3",
"CreateDate": "2025-12-21T19:36:45.0379181-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-21T19:36:45.0379181-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "187ff7d1-a505-4aba-83fd-38fddb73ea42",
"FieldId": "03f27f91-f957-43a9-ac52-13fc354e181d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "187ff7d1-a505-4aba-83fd-38fddb73ea42",
"FieldId": "03f27f91-f957-43a9-ac52-13fc354e181d",
"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": "303b1fed-c3fd-4377-b368-e48ecaf6f78f",
"CreateDate": "2025-12-21T19:36:45.0379181-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-21T19:36:45.0379181-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"
}