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": "5b9d6a5b-eb1e-4211-aeef-4d975b0d8a85",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "91c0cb89-2786-4c90-9a5d-72d3f58c73de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "71216e94-1c5b-438c-9f13-02328ad7b5ec",
"CreateDate": "2026-02-03T03:33:27.6408472-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-03T03:33:27.6408472-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-03T03:33:27.6408472-08:00",
"Fields": [
{
"FormTypeFieldId": "46303398-393d-4f91-a9d4-ed34faf7e82b",
"Section": {
"FormTypeSectionId": "2cfd3488-3a71-4243-ab8c-35aa6d4de13d",
"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": "6ad9f6a1-eaeb-487f-85af-267399a8ad62",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "15f62c4b-8d57-4254-aba4-c9288fd7d185",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f633fd65-1007-4a2b-b755-11126a472cbc",
"CreateDate": "2026-02-03T03:33:27.6408472-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T03:33:27.6408472-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "084a128b-a283-4f5d-af8d-760f312fc4da",
"FieldId": "29ca1d08-e07d-4242-bb0a-5f2208d5b987",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "084a128b-a283-4f5d-af8d-760f312fc4da",
"FieldId": "29ca1d08-e07d-4242-bb0a-5f2208d5b987",
"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": "46303398-393d-4f91-a9d4-ed34faf7e82b",
"Section": {
"FormTypeSectionId": "2cfd3488-3a71-4243-ab8c-35aa6d4de13d",
"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": "6ad9f6a1-eaeb-487f-85af-267399a8ad62",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "15f62c4b-8d57-4254-aba4-c9288fd7d185",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f633fd65-1007-4a2b-b755-11126a472cbc",
"CreateDate": "2026-02-03T03:33:27.6408472-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T03:33:27.6408472-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "084a128b-a283-4f5d-af8d-760f312fc4da",
"FieldId": "29ca1d08-e07d-4242-bb0a-5f2208d5b987",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "084a128b-a283-4f5d-af8d-760f312fc4da",
"FieldId": "29ca1d08-e07d-4242-bb0a-5f2208d5b987",
"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": "2c5a9668-2084-4d67-aacf-a6a660866050",
"CreateDate": "2026-02-03T03:33:27.6408472-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-03T03:33:27.6408472-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"
}