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": "ca9beffc-026d-48ca-b9bc-924e8af4ace2", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "06fcfc92-a745-4dc3-8afb-86ad536b363f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "bfd1daa6-bdf2-43e5-9d79-6df049f72e83", "CreateDate": "2024-12-26T03:34:24.0815204-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-26T03:34:24.0815204-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-26T03:34:24.0815204-08:00", "Fields": [ { "FormTypeFieldId": "f4e74615-d936-480c-aee4-da646a2d7826", "Section": { "FormTypeSectionId": "22e55ec6-3123-46c1-97ad-56d5f6e72b78", "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": "be685bee-0ac8-4180-82d2-88b56fca09de", "Name": "sample string 1" }, "Unit": { "UnitId": "e355f027-9f31-4522-ba8c-48cadc4b5771", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bb5fc320-143d-4e5c-a882-9940895e0e29", "CreateDate": "2024-12-26T03:34:24.0815204-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:24.0815204-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5c8e9eb9-3aef-44ab-aec0-27426ea37633", "FieldId": "702e0091-9957-4c77-8769-f94e9f526a01", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5c8e9eb9-3aef-44ab-aec0-27426ea37633", "FieldId": "702e0091-9957-4c77-8769-f94e9f526a01", "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": "f4e74615-d936-480c-aee4-da646a2d7826", "Section": { "FormTypeSectionId": "22e55ec6-3123-46c1-97ad-56d5f6e72b78", "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": "be685bee-0ac8-4180-82d2-88b56fca09de", "Name": "sample string 1" }, "Unit": { "UnitId": "e355f027-9f31-4522-ba8c-48cadc4b5771", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "bb5fc320-143d-4e5c-a882-9940895e0e29", "CreateDate": "2024-12-26T03:34:24.0815204-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:24.0815204-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5c8e9eb9-3aef-44ab-aec0-27426ea37633", "FieldId": "702e0091-9957-4c77-8769-f94e9f526a01", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5c8e9eb9-3aef-44ab-aec0-27426ea37633", "FieldId": "702e0091-9957-4c77-8769-f94e9f526a01", "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": "24a318f2-4338-4ccf-9e3b-5193e6014873", "CreateDate": "2024-12-26T03:34:24.0815204-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-26T03:34:24.0815204-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" }