DELETE FormTypes
Deletes the given form type, including all forms of that type.
Request Information
URI Parameters
None.
Body Parameters
Form type to delete
FormTypeName | 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": "5f5e122a-da5b-4f3e-97f0-c0bd18ed0fcf", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fd812f86-b949-4df5-89e1-add0ecb915c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "19f0f5f5-bc5f-4b1e-8ec1-3d37cb467b9d", "CreateDate": "2025-01-30T16:57:46.406602-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T16:57:46.406602-08:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T16:57:46.406602-08:00", "Fields": [ { "FormTypeFieldId": "54e63522-f328-42c0-80aa-ea6a9c7da609", "Section": { "FormTypeSectionId": "21afeadf-8a9c-4742-a70d-2393bd8e3798", "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": "8e822d1a-71cf-43b5-bdc0-e877ba00f416", "Name": "sample string 1" }, "Unit": { "UnitId": "d6f72384-5c15-4c15-b7fc-5a90d3d848e7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8906fda2-d338-45c2-bb27-f7cb638ce0bd", "CreateDate": "2025-01-30T16:57:46.406602-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:57:46.406602-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b1063b3d-a7c9-43fe-bf0c-5b38a925ea4f", "FieldId": "708cffad-591e-4221-a413-094c7ae18250", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b1063b3d-a7c9-43fe-bf0c-5b38a925ea4f", "FieldId": "708cffad-591e-4221-a413-094c7ae18250", "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": "54e63522-f328-42c0-80aa-ea6a9c7da609", "Section": { "FormTypeSectionId": "21afeadf-8a9c-4742-a70d-2393bd8e3798", "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": "8e822d1a-71cf-43b5-bdc0-e877ba00f416", "Name": "sample string 1" }, "Unit": { "UnitId": "d6f72384-5c15-4c15-b7fc-5a90d3d848e7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8906fda2-d338-45c2-bb27-f7cb638ce0bd", "CreateDate": "2025-01-30T16:57:46.406602-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:57:46.406602-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b1063b3d-a7c9-43fe-bf0c-5b38a925ea4f", "FieldId": "708cffad-591e-4221-a413-094c7ae18250", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b1063b3d-a7c9-43fe-bf0c-5b38a925ea4f", "FieldId": "708cffad-591e-4221-a413-094c7ae18250", "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": "18daf7e2-bc1b-4ff3-923b-fb26f1c56616", "CreateDate": "2025-01-30T16:57:46.406602-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T16:57:46.406602-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" }