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. |
|
| 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": "3d5d9a40-dab9-4b33-b964-3a629921c2f5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a46057c0-01ef-42d9-a75f-7b040bbabdd8",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "42ff42b9-a4a2-4678-ac5d-08e0196e7e7c",
"CreateDate": "2026-11-21T11:57:10.4687461-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:10.4687461-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-21T11:57:10.4687461-08:00",
"Fields": [
{
"FormTypeFieldId": "7c3380c1-bd02-4a12-b13d-4979fbfc7286",
"Section": {
"FormTypeSectionId": "813908db-efbb-46b6-98f8-80019221b905",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "87db59d8-851d-4d37-b001-9a63e5b1e01b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e1f1fd37-d8f3-4edd-b303-906814968621",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab8626d8-32f6-4e83-85c0-994c01cd8389",
"CreateDate": "2026-11-21T11:57:10.4687461-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:10.4687461-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fafd4bf0-5103-4b26-8386-66323fe9ff3d",
"FieldId": "104ffb97-0736-495a-a362-595aeeb155ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fafd4bf0-5103-4b26-8386-66323fe9ff3d",
"FieldId": "104ffb97-0736-495a-a362-595aeeb155ba",
"FieldName": "sample string 1",
"FieldLable": "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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
},
{
"FormTypeFieldId": "7c3380c1-bd02-4a12-b13d-4979fbfc7286",
"Section": {
"FormTypeSectionId": "813908db-efbb-46b6-98f8-80019221b905",
"Name": "sample string 1",
"Label": "sample string 2",
"DisplayOrder": 1,
"IsRepeatable": true,
"VisibleExpression": "sample string 4",
"EnabledExpression": "sample string 5",
"SourceSystemId": "sample string 6"
},
"Name": "sample string 1",
"Label": "sample string 2",
"Description": "sample string 3",
"DataType": {
"DataTypeId": "87db59d8-851d-4d37-b001-9a63e5b1e01b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e1f1fd37-d8f3-4edd-b303-906814968621",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab8626d8-32f6-4e83-85c0-994c01cd8389",
"CreateDate": "2026-11-21T11:57:10.4687461-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:10.4687461-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fafd4bf0-5103-4b26-8386-66323fe9ff3d",
"FieldId": "104ffb97-0736-495a-a362-595aeeb155ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fafd4bf0-5103-4b26-8386-66323fe9ff3d",
"FieldId": "104ffb97-0736-495a-a362-595aeeb155ba",
"FieldName": "sample string 1",
"FieldLable": "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",
"EnabledExpression": "sample string 13",
"SourceSystemId": "sample string 14"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "d733442a-867d-45a9-a008-95c86cae9720",
"CreateDate": "2026-11-21T11:57:10.4687461-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:10.4687461-08:00",
"LastModifiedUser": "sample string 6"
}
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"
}