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": "47b8ac30-109d-4a3d-955c-90579b09c0de",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0ae9abc0-9bf6-4ca5-bf64-a1ed074ad21f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9cff3dfc-42a6-43c1-b6c8-b6b52db0830f",
"CreateDate": "2025-11-04T17:11:28.3752652-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:11:28.3752652-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-04T17:11:28.3752652-08:00",
"Fields": [
{
"FormTypeFieldId": "ea378eec-26f1-4fe3-a94e-de27e8e3f546",
"Section": {
"FormTypeSectionId": "3f9a4045-6611-4803-b653-3dec2c83f942",
"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": "fae69ce5-42d8-42ec-b951-b351874ade37",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9f60583e-cc72-495a-8530-108d44d89bc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7753eae5-7a20-4d23-bea3-e23ebbc2c3db",
"CreateDate": "2025-11-04T17:11:28.3752652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:11:28.3752652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "530a51f5-a967-4ffd-8b93-89dfbbc1de9c",
"FieldId": "c256d4f4-db75-43b3-b651-b86ee1c345e4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "530a51f5-a967-4ffd-8b93-89dfbbc1de9c",
"FieldId": "c256d4f4-db75-43b3-b651-b86ee1c345e4",
"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": "ea378eec-26f1-4fe3-a94e-de27e8e3f546",
"Section": {
"FormTypeSectionId": "3f9a4045-6611-4803-b653-3dec2c83f942",
"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": "fae69ce5-42d8-42ec-b951-b351874ade37",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9f60583e-cc72-495a-8530-108d44d89bc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7753eae5-7a20-4d23-bea3-e23ebbc2c3db",
"CreateDate": "2025-11-04T17:11:28.3752652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:11:28.3752652-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "530a51f5-a967-4ffd-8b93-89dfbbc1de9c",
"FieldId": "c256d4f4-db75-43b3-b651-b86ee1c345e4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "530a51f5-a967-4ffd-8b93-89dfbbc1de9c",
"FieldId": "c256d4f4-db75-43b3-b651-b86ee1c345e4",
"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": "7a2fc5d4-3d17-44b4-bc26-924afa14233c",
"CreateDate": "2025-11-04T17:11:28.3752652-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:11:28.3752652-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"
}