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": "07897c36-2e25-46b1-8ea5-70bbab1120eb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c6b169b9-e082-4c58-a398-f1d3fbe04a98",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5332106a-d9bf-4ac8-a2b9-53ea75f56e90",
"CreateDate": "2026-07-15T13:21:00.0786387-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:00.0786387-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-15T13:21:00.0786387-07:00",
"Fields": [
{
"FormTypeFieldId": "85f1908d-8ded-471b-977f-960994838f5e",
"Section": {
"FormTypeSectionId": "c8534585-f6c7-421c-993b-18ffdd8f2750",
"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": "35adea36-8094-4cb4-9878-51003bc9ff86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d157c059-c648-40d1-88f3-c0b9bddd1ec5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0d26db21-bab0-47f4-b137-07261793fc14",
"CreateDate": "2026-07-15T13:21:00.0786387-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:00.0786387-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b5abe1c6-f1a2-4c2e-95b9-65885625663c",
"FieldId": "5e2f1a6e-7644-442e-9f9c-cf63d64e6080",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b5abe1c6-f1a2-4c2e-95b9-65885625663c",
"FieldId": "5e2f1a6e-7644-442e-9f9c-cf63d64e6080",
"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",
"SourceSystemId": "sample string 13"
},
{
"FormTypeFieldId": "85f1908d-8ded-471b-977f-960994838f5e",
"Section": {
"FormTypeSectionId": "c8534585-f6c7-421c-993b-18ffdd8f2750",
"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": "35adea36-8094-4cb4-9878-51003bc9ff86",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d157c059-c648-40d1-88f3-c0b9bddd1ec5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0d26db21-bab0-47f4-b137-07261793fc14",
"CreateDate": "2026-07-15T13:21:00.0786387-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:00.0786387-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b5abe1c6-f1a2-4c2e-95b9-65885625663c",
"FieldId": "5e2f1a6e-7644-442e-9f9c-cf63d64e6080",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b5abe1c6-f1a2-4c2e-95b9-65885625663c",
"FieldId": "5e2f1a6e-7644-442e-9f9c-cf63d64e6080",
"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",
"SourceSystemId": "sample string 13"
}
],
"SourceSystemId": "sample string 3",
"CompanyId": "e779f8be-d1d3-4c7b-a4d1-77235502a8ae",
"CreateDate": "2026-07-15T13:21:00.0786387-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:00.0786387-07: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"
}