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": "306a19f3-4922-442c-861f-33854d95c4da",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "15c7caff-6dcc-4e9f-9b1e-2ad48dbfbb99",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "06fe9a11-c571-4807-ab03-47911bed4581",
"CreateDate": "2026-11-01T20:58:09.2337043-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T20:58:09.2337043-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-01T20:58:09.2337043-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "6cd2fd37-dcc2-4d8e-ab25-158ba352f977",
"Section": {
"FormTypeSectionId": "ea6c2621-1030-426f-977a-4214506350f4",
"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": "3b04e373-9db8-435c-af10-fbb0f01e1753",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "46b09d75-ddf7-4716-af7c-e5205502deac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5412cfad-e796-4a17-9144-583513a29397",
"CreateDate": "2026-11-01T20:58:09.2337043-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T20:58:09.2337043-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b05d5a8c-ad59-4aeb-9e89-43c7ef047847",
"FieldId": "434c5807-77a3-44a7-afd2-be795649f36d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b05d5a8c-ad59-4aeb-9e89-43c7ef047847",
"FieldId": "434c5807-77a3-44a7-afd2-be795649f36d",
"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": "6cd2fd37-dcc2-4d8e-ab25-158ba352f977",
"Section": {
"FormTypeSectionId": "ea6c2621-1030-426f-977a-4214506350f4",
"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": "3b04e373-9db8-435c-af10-fbb0f01e1753",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "46b09d75-ddf7-4716-af7c-e5205502deac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5412cfad-e796-4a17-9144-583513a29397",
"CreateDate": "2026-11-01T20:58:09.2337043-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T20:58:09.2337043-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b05d5a8c-ad59-4aeb-9e89-43c7ef047847",
"FieldId": "434c5807-77a3-44a7-afd2-be795649f36d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b05d5a8c-ad59-4aeb-9e89-43c7ef047847",
"FieldId": "434c5807-77a3-44a7-afd2-be795649f36d",
"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": "c527335e-bf86-46ce-8c60-5c24b0044952",
"CreateDate": "2026-11-01T20:58:09.2337043-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T20:58:09.2337043-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"
}