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": "8518eceb-234f-42b9-b608-815e3327caa1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "720d35a0-1a73-45e7-85a9-53c0ef6deaf4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aaab25e3-749a-4239-bad4-2a6fbb0aab68",
"CreateDate": "2026-11-22T09:57:43.0808571-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-22T09:57:43.0808571-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-22T09:57:43.0808571-08:00",
"Fields": [
{
"FormTypeFieldId": "4d4fde55-ab73-4148-b8d0-19f720f9045b",
"Section": {
"FormTypeSectionId": "fbaa59c0-1316-4519-9637-a5f745c92d5b",
"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": "8bbbd397-1b3b-4682-ad90-7a4c5e5f692b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "54e65207-b682-403d-bc13-8a8f4cbcd7c0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a9324a8-0939-4c2d-894a-3c2d950da85b",
"CreateDate": "2026-11-22T09:57:43.0808571-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T09:57:43.0808571-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2444654d-9c5d-4233-baa8-5b73a23d991d",
"FieldId": "bbc2423f-00bc-4992-a59d-eb2ec42142ce",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2444654d-9c5d-4233-baa8-5b73a23d991d",
"FieldId": "bbc2423f-00bc-4992-a59d-eb2ec42142ce",
"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": "4d4fde55-ab73-4148-b8d0-19f720f9045b",
"Section": {
"FormTypeSectionId": "fbaa59c0-1316-4519-9637-a5f745c92d5b",
"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": "8bbbd397-1b3b-4682-ad90-7a4c5e5f692b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "54e65207-b682-403d-bc13-8a8f4cbcd7c0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2a9324a8-0939-4c2d-894a-3c2d950da85b",
"CreateDate": "2026-11-22T09:57:43.0808571-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T09:57:43.0808571-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2444654d-9c5d-4233-baa8-5b73a23d991d",
"FieldId": "bbc2423f-00bc-4992-a59d-eb2ec42142ce",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2444654d-9c5d-4233-baa8-5b73a23d991d",
"FieldId": "bbc2423f-00bc-4992-a59d-eb2ec42142ce",
"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": "46b22c7b-0967-4f35-ab81-89cfe742ee28",
"CreateDate": "2026-11-22T09:57:43.0808571-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-22T09:57:43.0808571-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"
}