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": "29a44f65-deb1-4320-adac-b27255eb0988", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f3a27303-0cc0-4c88-be7f-1b70d94ea892", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3a224be9-2faf-49f5-9ff2-0e5b1229fa4a", "CreateDate": "2025-04-24T13:51:02.7664118-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-24T13:51:02.7664118-07:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-04-24T13:51:02.7664118-07:00", "Fields": [ { "FormTypeFieldId": "3cbbd442-ddf1-4e1f-8ee2-3878659aa0b1", "Section": { "FormTypeSectionId": "6397703f-30ef-4860-8942-9dbadd20a768", "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": "450978a7-94ab-46b2-8f43-fad2636be17a", "Name": "sample string 1" }, "Unit": { "UnitId": "0ad342c3-91e8-4049-8299-e101ed95ee01", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a6959509-1e48-459f-8233-f7143abda3f3", "CreateDate": "2025-04-24T13:51:02.7664118-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:51:02.7664118-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1585b5cf-8433-406a-9fe4-fdd933fcd256", "FieldId": "8e7b225a-47c8-4c1e-b449-72cad65aa8f4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1585b5cf-8433-406a-9fe4-fdd933fcd256", "FieldId": "8e7b225a-47c8-4c1e-b449-72cad65aa8f4", "FieldName": "sample string 1", "FieldLabel": "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": "3cbbd442-ddf1-4e1f-8ee2-3878659aa0b1", "Section": { "FormTypeSectionId": "6397703f-30ef-4860-8942-9dbadd20a768", "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": "450978a7-94ab-46b2-8f43-fad2636be17a", "Name": "sample string 1" }, "Unit": { "UnitId": "0ad342c3-91e8-4049-8299-e101ed95ee01", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a6959509-1e48-459f-8233-f7143abda3f3", "CreateDate": "2025-04-24T13:51:02.7664118-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:51:02.7664118-07:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "1585b5cf-8433-406a-9fe4-fdd933fcd256", "FieldId": "8e7b225a-47c8-4c1e-b449-72cad65aa8f4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "1585b5cf-8433-406a-9fe4-fdd933fcd256", "FieldId": "8e7b225a-47c8-4c1e-b449-72cad65aa8f4", "FieldName": "sample string 1", "FieldLabel": "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": "813441a4-6d60-48fb-9feb-bdec788ae715", "CreateDate": "2025-04-24T13:51:02.7664118-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-24T13:51:02.7664118-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" }