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": "44443e65-cac4-49fb-82ca-4fdb544baec8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0e615caf-c223-47c3-94dd-36962b36f3a9", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fed31551-8493-49c7-9dd3-4981227c74e8", "CreateDate": "2024-11-22T19:20:25.9200753-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-22T19:20:25.9200753-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-22T19:20:25.9200753-08:00", "Fields": [ { "FormTypeFieldId": "9b1a01fe-64ec-4fec-a1a8-72ae90c0f9f1", "Section": { "FormTypeSectionId": "b7f32dee-1b34-4b92-846c-a99758f38e34", "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": "e88af396-898a-4d2d-b5fb-b749c8fdcdfb", "Name": "sample string 1" }, "Unit": { "UnitId": "dc9d72e2-5719-47cf-b68f-64e364529ba5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "788fed71-a69b-4307-b4a8-7a146ddaba9e", "CreateDate": "2024-11-22T19:20:25.9200753-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T19:20:25.9200753-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8b1ff9ae-d10d-473a-a647-e81ef970b23c", "FieldId": "ca52a24e-5d0f-42b4-8a60-2ddbfef8fa02", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8b1ff9ae-d10d-473a-a647-e81ef970b23c", "FieldId": "ca52a24e-5d0f-42b4-8a60-2ddbfef8fa02", "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": "9b1a01fe-64ec-4fec-a1a8-72ae90c0f9f1", "Section": { "FormTypeSectionId": "b7f32dee-1b34-4b92-846c-a99758f38e34", "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": "e88af396-898a-4d2d-b5fb-b749c8fdcdfb", "Name": "sample string 1" }, "Unit": { "UnitId": "dc9d72e2-5719-47cf-b68f-64e364529ba5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "788fed71-a69b-4307-b4a8-7a146ddaba9e", "CreateDate": "2024-11-22T19:20:25.9200753-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T19:20:25.9200753-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8b1ff9ae-d10d-473a-a647-e81ef970b23c", "FieldId": "ca52a24e-5d0f-42b4-8a60-2ddbfef8fa02", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8b1ff9ae-d10d-473a-a647-e81ef970b23c", "FieldId": "ca52a24e-5d0f-42b4-8a60-2ddbfef8fa02", "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": "a9971ece-34ec-451a-9c4b-4ec14154195d", "CreateDate": "2024-11-22T19:20:25.9200753-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-22T19:20:25.9200753-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" }