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": "3ac2ee85-1a0d-49c6-913a-974ff7fb72f2",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "41f74087-9a51-4c5f-ab63-a976cc503549",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9bf4ab8a-2923-4378-aa6e-d28dfdc76124",
"CreateDate": "2026-06-06T00:41:17.1030502-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-06T00:41:17.1030502-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-06T00:41:17.1030502-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "653baefa-3ed5-4d9b-820d-62bd0bce9234",
"Section": {
"FormTypeSectionId": "bc0e9de2-ccb4-4967-b70a-716c29be843c",
"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": "9676f1fd-6026-4cb9-b79c-6fecb123532c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a38c48a8-00b4-4e2c-b810-48a3ab306d33",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4dced561-5f2c-4e6f-849c-43979f03ce09",
"CreateDate": "2026-06-06T00:41:17.1030502-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-06T00:41:17.1030502-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3ef6b376-f602-4853-995e-73f451f65dd1",
"FieldId": "13db1275-c71c-4f0f-9d45-54da4a96b260",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3ef6b376-f602-4853-995e-73f451f65dd1",
"FieldId": "13db1275-c71c-4f0f-9d45-54da4a96b260",
"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": "653baefa-3ed5-4d9b-820d-62bd0bce9234",
"Section": {
"FormTypeSectionId": "bc0e9de2-ccb4-4967-b70a-716c29be843c",
"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": "9676f1fd-6026-4cb9-b79c-6fecb123532c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a38c48a8-00b4-4e2c-b810-48a3ab306d33",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4dced561-5f2c-4e6f-849c-43979f03ce09",
"CreateDate": "2026-06-06T00:41:17.1030502-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-06T00:41:17.1030502-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3ef6b376-f602-4853-995e-73f451f65dd1",
"FieldId": "13db1275-c71c-4f0f-9d45-54da4a96b260",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3ef6b376-f602-4853-995e-73f451f65dd1",
"FieldId": "13db1275-c71c-4f0f-9d45-54da4a96b260",
"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": "a262c9f5-fc25-46fb-b1e9-c98f323ed570",
"CreateDate": "2026-06-06T00:41:17.1030502-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-06T00:41:17.1030502-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"
}