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": "ec29f68a-6f64-4f86-9981-756af73808e4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6bc36d3-e404-4a98-bd19-f64ba5ef3751",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f1d04b96-6cf1-4e60-be9a-335e4c69c13e",
"CreateDate": "2026-01-16T16:20:15.2263431-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:20:15.2263431-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-16T16:20:15.2263431-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "69ff0f24-2f45-424d-9bea-3a26028ebb14",
"Section": {
"FormTypeSectionId": "28733ce0-05a2-423b-be1c-de9d032cb9b0",
"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": "563edfad-782d-46b8-84ba-ea271fb0a877",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ae112489-2d9f-4bb8-9e65-afbdb23dd9d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3bed331e-be71-4890-aec9-95f8c1ed0dfc",
"CreateDate": "2026-01-16T16:20:15.2263431-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:20:15.2263431-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6fcdfb3b-605e-41da-adf3-1a67ea5c733c",
"FieldId": "cddd9c6d-5977-42c1-807e-1d678b11119c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6fcdfb3b-605e-41da-adf3-1a67ea5c733c",
"FieldId": "cddd9c6d-5977-42c1-807e-1d678b11119c",
"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": "69ff0f24-2f45-424d-9bea-3a26028ebb14",
"Section": {
"FormTypeSectionId": "28733ce0-05a2-423b-be1c-de9d032cb9b0",
"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": "563edfad-782d-46b8-84ba-ea271fb0a877",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ae112489-2d9f-4bb8-9e65-afbdb23dd9d8",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3bed331e-be71-4890-aec9-95f8c1ed0dfc",
"CreateDate": "2026-01-16T16:20:15.2263431-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:20:15.2263431-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6fcdfb3b-605e-41da-adf3-1a67ea5c733c",
"FieldId": "cddd9c6d-5977-42c1-807e-1d678b11119c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6fcdfb3b-605e-41da-adf3-1a67ea5c733c",
"FieldId": "cddd9c6d-5977-42c1-807e-1d678b11119c",
"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": "4cc70860-cd52-4a2d-98a1-391a03532cf4",
"CreateDate": "2026-01-16T16:20:15.2263431-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:20:15.2263431-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"
}