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": "c19d6141-f45e-405c-9f3f-4143a11a7865",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4ab2a257-aa61-4bbc-abdb-47a0ee678641",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b88e8eb9-cf54-457c-90b8-94ec9be287a8",
"CreateDate": "2026-11-29T02:58:55.8647235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-29T02:58:55.8647235-08:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-29T02:58:55.8647235-08:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "f73c4aef-e274-4fd1-9bcf-d219bedf0ecc",
"Section": {
"FormTypeSectionId": "76015d2d-99ec-4f46-87d2-8acdd1ae864a",
"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": "dfa61a4a-aff2-4ab3-a789-c177aeed1319",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "73502013-4391-41df-87ad-3aa7d8fccf3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "274c9eca-85dc-4edd-9a3d-64030687b0ac",
"CreateDate": "2026-11-29T02:58:55.8647235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-29T02:58:55.8647235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "415540bc-9b27-4d71-b113-ab6e4a363ca5",
"FieldId": "50420dc0-51ed-47bb-b174-0152672b1c47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "415540bc-9b27-4d71-b113-ab6e4a363ca5",
"FieldId": "50420dc0-51ed-47bb-b174-0152672b1c47",
"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": "f73c4aef-e274-4fd1-9bcf-d219bedf0ecc",
"Section": {
"FormTypeSectionId": "76015d2d-99ec-4f46-87d2-8acdd1ae864a",
"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": "dfa61a4a-aff2-4ab3-a789-c177aeed1319",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "73502013-4391-41df-87ad-3aa7d8fccf3c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "274c9eca-85dc-4edd-9a3d-64030687b0ac",
"CreateDate": "2026-11-29T02:58:55.8647235-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-29T02:58:55.8647235-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "415540bc-9b27-4d71-b113-ab6e4a363ca5",
"FieldId": "50420dc0-51ed-47bb-b174-0152672b1c47",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "415540bc-9b27-4d71-b113-ab6e4a363ca5",
"FieldId": "50420dc0-51ed-47bb-b174-0152672b1c47",
"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": "9399695f-fd8c-4856-8001-3294f151a1b9",
"CreateDate": "2026-11-29T02:58:55.8647235-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-29T02:58:55.8647235-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"
}