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": "ae178e9b-4641-407a-b836-abdff07f2af3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "79dd76a5-f996-425c-a597-eeebe7096e60",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "583f8afe-8fe1-4983-ae79-1a7225cbc9e7",
"CreateDate": "2026-09-11T02:55:09.1256777-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-11T02:55:09.1256777-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-11T02:55:09.1256777-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "c99b5c62-4978-41a0-b0ea-54752979b35e",
"Section": {
"FormTypeSectionId": "3d37fe6a-fc45-4328-be46-e4f40f35cc4a",
"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": "04c936c0-f0a6-43ea-810e-6fd7a2b9a454",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ae550b81-2095-455f-9212-82f5c70d4956",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a79e0e95-abf1-4559-8387-9d4436132957",
"CreateDate": "2026-09-11T02:55:09.1256777-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-11T02:55:09.1256777-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b771b0f7-55c8-4b5a-80b2-1b4e4c49a6d1",
"FieldId": "fdd07191-8d40-45f7-adf0-156cf01d0dca",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b771b0f7-55c8-4b5a-80b2-1b4e4c49a6d1",
"FieldId": "fdd07191-8d40-45f7-adf0-156cf01d0dca",
"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": "c99b5c62-4978-41a0-b0ea-54752979b35e",
"Section": {
"FormTypeSectionId": "3d37fe6a-fc45-4328-be46-e4f40f35cc4a",
"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": "04c936c0-f0a6-43ea-810e-6fd7a2b9a454",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ae550b81-2095-455f-9212-82f5c70d4956",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a79e0e95-abf1-4559-8387-9d4436132957",
"CreateDate": "2026-09-11T02:55:09.1256777-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-11T02:55:09.1256777-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b771b0f7-55c8-4b5a-80b2-1b4e4c49a6d1",
"FieldId": "fdd07191-8d40-45f7-adf0-156cf01d0dca",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b771b0f7-55c8-4b5a-80b2-1b4e4c49a6d1",
"FieldId": "fdd07191-8d40-45f7-adf0-156cf01d0dca",
"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": "6cf70558-1c2e-48f4-92ca-8cbf6955c995",
"CreateDate": "2026-09-11T02:55:09.1256777-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-11T02:55:09.1256777-07: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"
}