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": "a53f4f5b-bc5d-4728-b44e-4c633a83c00e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0d6a6513-9386-4cb4-bf70-3cd46a1d227a",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2ea0d8c5-131b-407f-9974-bed4538d7b17",
"CreateDate": "2026-01-07T10:18:54.7901335-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T10:18:54.7901335-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-07T10:18:54.7901335-08:00",
"Fields": [
{
"FormTypeFieldId": "efe0f6b9-c0fd-4119-9156-9cacc9afb3ce",
"Section": {
"FormTypeSectionId": "1b745661-2617-43bb-84a8-7873419502c7",
"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": "12056774-6fe4-4cf9-aab1-becdb61aa130",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0543e0e-f976-48e4-aa30-ccaa0c100375",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "76aafd89-baa2-43d6-85a7-15e75844935b",
"CreateDate": "2026-01-07T10:18:54.7901335-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T10:18:54.7901335-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "25a983f5-1e82-475e-af72-b8ef5bd7bcf0",
"FieldId": "712f32f3-9eec-4d0c-9dd7-31a360867963",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "25a983f5-1e82-475e-af72-b8ef5bd7bcf0",
"FieldId": "712f32f3-9eec-4d0c-9dd7-31a360867963",
"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": "efe0f6b9-c0fd-4119-9156-9cacc9afb3ce",
"Section": {
"FormTypeSectionId": "1b745661-2617-43bb-84a8-7873419502c7",
"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": "12056774-6fe4-4cf9-aab1-becdb61aa130",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c0543e0e-f976-48e4-aa30-ccaa0c100375",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "76aafd89-baa2-43d6-85a7-15e75844935b",
"CreateDate": "2026-01-07T10:18:54.7901335-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T10:18:54.7901335-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "25a983f5-1e82-475e-af72-b8ef5bd7bcf0",
"FieldId": "712f32f3-9eec-4d0c-9dd7-31a360867963",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "25a983f5-1e82-475e-af72-b8ef5bd7bcf0",
"FieldId": "712f32f3-9eec-4d0c-9dd7-31a360867963",
"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": "52a9803e-9eb6-4511-beda-e0f12300bd4d",
"CreateDate": "2026-01-07T10:18:54.7901335-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T10:18:54.7901335-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"
}