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": "83ec8ea1-a9ec-400a-8b8e-d00af0b0306f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "bbaa2463-495c-422c-a4a0-fc07ec94b413",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bd6a3a44-cbf6-48cc-8bb4-d49e2059c91b",
"CreateDate": "2026-06-17T17:26:22.9153871-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:26:22.9153871-07:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:26:22.9153871-07:00",
"Fields": [
{
"FormTypeFieldId": "4b42b8cd-5d78-4cda-8379-bd4b40f9e599",
"Section": {
"FormTypeSectionId": "10ec005e-9c96-4d42-8178-7e78fe4eeeb8",
"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": "1d0d63d6-7b50-482e-af86-ce6b0ec0c3bd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "71757c99-fb50-429f-93e9-05c9860bb9b7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ad2c8066-af4d-47b2-a3e8-af9c011d3eed",
"CreateDate": "2026-06-17T17:26:22.9153871-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:26:22.9153871-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d81db0e3-1cac-4607-a82e-1bd3af615c51",
"FieldId": "e3c3b01b-fa89-451e-9ad2-752eecdd7aff",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d81db0e3-1cac-4607-a82e-1bd3af615c51",
"FieldId": "e3c3b01b-fa89-451e-9ad2-752eecdd7aff",
"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": "4b42b8cd-5d78-4cda-8379-bd4b40f9e599",
"Section": {
"FormTypeSectionId": "10ec005e-9c96-4d42-8178-7e78fe4eeeb8",
"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": "1d0d63d6-7b50-482e-af86-ce6b0ec0c3bd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "71757c99-fb50-429f-93e9-05c9860bb9b7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ad2c8066-af4d-47b2-a3e8-af9c011d3eed",
"CreateDate": "2026-06-17T17:26:22.9153871-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:26:22.9153871-07:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d81db0e3-1cac-4607-a82e-1bd3af615c51",
"FieldId": "e3c3b01b-fa89-451e-9ad2-752eecdd7aff",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d81db0e3-1cac-4607-a82e-1bd3af615c51",
"FieldId": "e3c3b01b-fa89-451e-9ad2-752eecdd7aff",
"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": "fb51e800-1859-4d8e-a4a9-4b7bd89ddc85",
"CreateDate": "2026-06-17T17:26:22.9153871-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:26:22.9153871-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"
}