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": "a486457c-df00-40af-8e23-61c7745f51c6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0ec997d6-90e1-4a5d-81d7-ec9f453408a0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "86c1f905-54a5-4f9b-91a4-4325dee228fd", "CreateDate": "2025-03-09T08:35:23.6903077-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T08:35:23.6903077-07:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T08:35:23.6903077-07:00", "Fields": [ { "FormTypeFieldId": "cc4fb7fd-1965-4f25-90ee-b03d0b0fe0fd", "Section": { "FormTypeSectionId": "d2f7fe07-faa1-44e0-9d11-c6090ba01dbd", "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": "c0f91811-9f21-4acf-b6f2-f39c266619de", "Name": "sample string 1" }, "Unit": { "UnitId": "366cf837-be76-43df-a705-f84cb1f2055c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37da501d-e410-4427-8910-efa253b571f4", "CreateDate": "2025-03-09T08:35:23.6903077-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:35:23.6903077-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "35d16262-a58b-46cb-923f-0d7631f9839c", "FieldId": "092b3431-b01b-437e-b03d-0136a4bbf38d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "35d16262-a58b-46cb-923f-0d7631f9839c", "FieldId": "092b3431-b01b-437e-b03d-0136a4bbf38d", "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": "cc4fb7fd-1965-4f25-90ee-b03d0b0fe0fd", "Section": { "FormTypeSectionId": "d2f7fe07-faa1-44e0-9d11-c6090ba01dbd", "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": "c0f91811-9f21-4acf-b6f2-f39c266619de", "Name": "sample string 1" }, "Unit": { "UnitId": "366cf837-be76-43df-a705-f84cb1f2055c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "37da501d-e410-4427-8910-efa253b571f4", "CreateDate": "2025-03-09T08:35:23.6903077-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:35:23.6903077-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "35d16262-a58b-46cb-923f-0d7631f9839c", "FieldId": "092b3431-b01b-437e-b03d-0136a4bbf38d", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "35d16262-a58b-46cb-923f-0d7631f9839c", "FieldId": "092b3431-b01b-437e-b03d-0136a4bbf38d", "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": "1377a9c9-4c43-4836-9a8f-861e8a0efc46", "CreateDate": "2025-03-09T08:35:23.6903077-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T08:35:23.6903077-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" }