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": "c973dadc-10e0-45a4-8725-ea52096766c2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "052bf90f-1cf0-4362-8faa-3145e5f09335", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "e1d29e7d-7239-4e02-9bcc-c83a74906b26", "CreateDate": "2025-08-29T17:13:56.1696765-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:13:56.1696765-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-08-29T17:13:56.1696765-07:00", "Fields": [ { "FormTypeFieldId": "602c74c5-bd34-42e2-bb3b-411e2b4e6a82", "Section": { "FormTypeSectionId": "e7751c1e-abb3-40de-aa6e-a99c0493d1ff", "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": "e5e5fa3b-6de3-420c-a80b-707e1cd3d1a9", "Name": "sample string 1" }, "Unit": { "UnitId": "f2efdbf2-0d99-4c8a-9ffe-8bbff319360f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c36e6331-ffc8-431c-baf4-bb863e013d60", "CreateDate": "2025-08-29T17:13:56.1696765-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:56.1696765-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "785250f8-2ba5-41a8-b9ff-60e4976a8a50", "FieldId": "eebc340a-2129-4b86-9193-08bcdee3bd45", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "785250f8-2ba5-41a8-b9ff-60e4976a8a50", "FieldId": "eebc340a-2129-4b86-9193-08bcdee3bd45", "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": "602c74c5-bd34-42e2-bb3b-411e2b4e6a82", "Section": { "FormTypeSectionId": "e7751c1e-abb3-40de-aa6e-a99c0493d1ff", "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": "e5e5fa3b-6de3-420c-a80b-707e1cd3d1a9", "Name": "sample string 1" }, "Unit": { "UnitId": "f2efdbf2-0d99-4c8a-9ffe-8bbff319360f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c36e6331-ffc8-431c-baf4-bb863e013d60", "CreateDate": "2025-08-29T17:13:56.1696765-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:56.1696765-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "785250f8-2ba5-41a8-b9ff-60e4976a8a50", "FieldId": "eebc340a-2129-4b86-9193-08bcdee3bd45", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "785250f8-2ba5-41a8-b9ff-60e4976a8a50", "FieldId": "eebc340a-2129-4b86-9193-08bcdee3bd45", "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": "c2539910-72f3-43bd-b4a3-9403aba1eded", "CreateDate": "2025-08-29T17:13:56.1696765-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:13:56.1696765-07: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" }