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": "26c91c6c-8be6-4ce2-8e44-7b916849ff49",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "033d1313-a3d9-4662-ae11-0d7d3ab99ade",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d2233f85-2e82-4fac-ad15-08633cae0ece",
"CreateDate": "2026-01-10T05:57:08.4754023-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-10T05:57:08.4754023-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-10T05:57:08.4754023-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "9266d28c-a780-4f6f-a621-47d5095e289c",
"Section": {
"FormTypeSectionId": "8dcd5bd2-39cd-4d11-816a-fdf759c4da2f",
"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": "5598bca7-86db-48f6-b188-9976e89150ea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dab8ad8f-4805-4ce8-861d-237927c346a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6a1ab7e4-d54a-4729-ba0f-9479867c8b0d",
"CreateDate": "2026-01-10T05:57:08.4754023-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-10T05:57:08.4754023-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0befdb8d-cf6f-4ae5-8a27-52222895f518",
"FieldId": "be70136e-4f50-41b8-b7b6-efedff1aa8ac",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0befdb8d-cf6f-4ae5-8a27-52222895f518",
"FieldId": "be70136e-4f50-41b8-b7b6-efedff1aa8ac",
"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": "9266d28c-a780-4f6f-a621-47d5095e289c",
"Section": {
"FormTypeSectionId": "8dcd5bd2-39cd-4d11-816a-fdf759c4da2f",
"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": "5598bca7-86db-48f6-b188-9976e89150ea",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "dab8ad8f-4805-4ce8-861d-237927c346a0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6a1ab7e4-d54a-4729-ba0f-9479867c8b0d",
"CreateDate": "2026-01-10T05:57:08.4754023-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-10T05:57:08.4754023-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0befdb8d-cf6f-4ae5-8a27-52222895f518",
"FieldId": "be70136e-4f50-41b8-b7b6-efedff1aa8ac",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0befdb8d-cf6f-4ae5-8a27-52222895f518",
"FieldId": "be70136e-4f50-41b8-b7b6-efedff1aa8ac",
"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": "4ab6bd81-d9fb-482c-b305-e6a651f470c7",
"CreateDate": "2026-01-10T05:57:08.4754023-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-10T05:57:08.4754023-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"
}