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": "4bb5b979-31ec-49d5-8bf8-bed260ff4c1e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cc201b6a-44c9-4a60-868d-769388a145c9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e1baeca2-92f9-4544-a807-c4971b60ab91",
"CreateDate": "2025-10-26T19:22:36.6264765-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-26T19:22:36.6264765-07:00",
"LastModifiedUser": "sample string 7"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-10-26T19:22:36.6264765-07:00",
"Active": true,
"Fields": [
{
"FormTypeFieldId": "357b3441-2d54-4d97-87bf-528328261342",
"Section": {
"FormTypeSectionId": "77aa23f9-510c-4d95-9627-5bce3b4c162e",
"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": "1d752e29-4cfc-4e24-aa52-7e4be959254b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fe408939-00c0-476d-8887-d8507abaaafe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6173958c-916f-44c5-9a90-df21c266b87e",
"CreateDate": "2025-10-26T19:22:36.6264765-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-26T19:22:36.6264765-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "752e1166-ffd1-4e2a-9b48-0e94efa9be89",
"FieldId": "d29d0f9f-bf89-4558-b2a5-90e050c3faf8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "752e1166-ffd1-4e2a-9b48-0e94efa9be89",
"FieldId": "d29d0f9f-bf89-4558-b2a5-90e050c3faf8",
"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": "357b3441-2d54-4d97-87bf-528328261342",
"Section": {
"FormTypeSectionId": "77aa23f9-510c-4d95-9627-5bce3b4c162e",
"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": "1d752e29-4cfc-4e24-aa52-7e4be959254b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fe408939-00c0-476d-8887-d8507abaaafe",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6173958c-916f-44c5-9a90-df21c266b87e",
"CreateDate": "2025-10-26T19:22:36.6264765-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-10-26T19:22:36.6264765-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "752e1166-ffd1-4e2a-9b48-0e94efa9be89",
"FieldId": "d29d0f9f-bf89-4558-b2a5-90e050c3faf8",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "752e1166-ffd1-4e2a-9b48-0e94efa9be89",
"FieldId": "d29d0f9f-bf89-4558-b2a5-90e050c3faf8",
"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": "b1757ace-2aba-47ae-98ce-11da3b33f7d6",
"CreateDate": "2025-10-26T19:22:36.6264765-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-10-26T19:22:36.6264765-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"
}