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": "b18672c3-ad2d-4a02-b871-4d54f2192255",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97e9cabe-ae85-4ea7-8b8b-25989978a713",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "71a5d5cb-e79c-4dc4-bdf5-813719edb8cf",
"CreateDate": "2026-11-07T21:23:05.3440222-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-07T21:23:05.3440222-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-07T21:23:05.3440222-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "0b8ac85d-ee3e-4e81-9293-3b9a6983cd22",
"Section": {
"FormTypeSectionId": "528a4c6a-510c-436f-89c7-b3b0b7c07ff5",
"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": "f7c8aac5-1a92-4773-8dda-31d801c346cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "51ea44cd-f727-4730-8bf4-1f9a0633f430",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bb03e78c-3431-4ef5-b18f-bdf808c00853",
"CreateDate": "2026-11-07T21:23:05.3440222-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-07T21:23:05.3440222-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "98252bad-92aa-4638-ba23-ce83eadc98e2",
"FieldId": "c0ec446f-a5e5-47b9-97fe-3fe028b99bc6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "98252bad-92aa-4638-ba23-ce83eadc98e2",
"FieldId": "c0ec446f-a5e5-47b9-97fe-3fe028b99bc6",
"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": "0b8ac85d-ee3e-4e81-9293-3b9a6983cd22",
"Section": {
"FormTypeSectionId": "528a4c6a-510c-436f-89c7-b3b0b7c07ff5",
"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": "f7c8aac5-1a92-4773-8dda-31d801c346cc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "51ea44cd-f727-4730-8bf4-1f9a0633f430",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bb03e78c-3431-4ef5-b18f-bdf808c00853",
"CreateDate": "2026-11-07T21:23:05.3440222-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-07T21:23:05.3440222-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "98252bad-92aa-4638-ba23-ce83eadc98e2",
"FieldId": "c0ec446f-a5e5-47b9-97fe-3fe028b99bc6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "98252bad-92aa-4638-ba23-ce83eadc98e2",
"FieldId": "c0ec446f-a5e5-47b9-97fe-3fe028b99bc6",
"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": "1b56303e-32c3-49db-a8f0-b044a2d7d81a",
"CreateDate": "2026-11-07T21:23:05.3440222-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-07T21:23:05.3440222-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"
}