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": "d0a2a50d-526e-4ef9-9923-8a42e69e9058",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4af1cd95-6097-42b2-9b63-422f184bbf1c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "21cc184c-24ec-4b60-aa4a-ad63836277e0",
"CreateDate": "2025-11-17T18:53:22.3118496-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:53:22.3118496-08:00",
"LastModifiedUser": "sample string 8"
},
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-17T18:53:22.3118496-08:00",
"Fields": [
{
"FormTypeFieldId": "22440ffb-e088-4521-a2bf-170583c325d3",
"Section": {
"FormTypeSectionId": "84d1c34d-d907-465b-83ad-670714cfe7f1",
"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": "549827ca-ba37-4e95-aa30-11b099795f2e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c0c9da1-7660-4e57-816c-f027fab85fa6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cdd3ba00-9587-43ce-b0e1-abaf5479998a",
"CreateDate": "2025-11-17T18:53:22.3118496-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:22.3118496-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9786ca5b-db1d-4fa1-a8ee-73a1de57eaaf",
"FieldId": "b7a71f65-89d9-4ccb-b4e2-2953f4905210",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9786ca5b-db1d-4fa1-a8ee-73a1de57eaaf",
"FieldId": "b7a71f65-89d9-4ccb-b4e2-2953f4905210",
"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": "22440ffb-e088-4521-a2bf-170583c325d3",
"Section": {
"FormTypeSectionId": "84d1c34d-d907-465b-83ad-670714cfe7f1",
"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": "549827ca-ba37-4e95-aa30-11b099795f2e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3c0c9da1-7660-4e57-816c-f027fab85fa6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cdd3ba00-9587-43ce-b0e1-abaf5479998a",
"CreateDate": "2025-11-17T18:53:22.3118496-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:22.3118496-08:00",
"LastModifiedUser": "sample string 6"
},
"DisplayOrder": 1,
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9786ca5b-db1d-4fa1-a8ee-73a1de57eaaf",
"FieldId": "b7a71f65-89d9-4ccb-b4e2-2953f4905210",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9786ca5b-db1d-4fa1-a8ee-73a1de57eaaf",
"FieldId": "b7a71f65-89d9-4ccb-b4e2-2953f4905210",
"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": "6e5ab2c2-95de-4d07-be98-c3b9e9eb7cd7",
"CreateDate": "2025-11-17T18:53:22.3118496-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:53:22.3118496-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"
}