DELETE FormTypes

Deletes the given form type, including all forms of that type.

Request Information

URI Parameters

None.

Body Parameters

Form type to delete

FormType
NameDescriptionTypeAdditional 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": "96eeafaa-9e85-49df-9fa7-4f54b82da31e",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "AssetType": {
    "AssetTypeId": "002d3e90-8213-4ca1-95a4-aaeffe48a370",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayColor": "sample string 3",
    "SourceSystemId": "sample string 4",
    "CompanyId": "e43f1669-03ed-46d0-9412-9fa35a1f3b88",
    "CreateDate": "2024-12-21T19:11:22.0585742-08:00",
    "CreateUser": "sample string 6",
    "LastModifiedDate": "2024-12-21T19:11:22.0585742-08:00",
    "LastModifiedUser": "sample string 7"
  },
  "FrequencyNeeded": 1,
  "ValueNeededDate": "2024-12-21T19:11:22.0585742-08:00",
  "Fields": [
    {
      "FormTypeFieldId": "948c669c-d300-40c9-aea9-1e12e62abb04",
      "Section": {
        "FormTypeSectionId": "88c130fb-317d-4d44-ae3c-ee616cdec77e",
        "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": "e57f39e3-274d-4f69-adef-048b42c3c92a",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "95b2b06f-0043-4ec5-a266-26b5c908f826",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "20433adc-3399-4cb5-8067-7086eb9f15c3",
        "CreateDate": "2024-12-21T19:11:22.0585742-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-21T19:11:22.0585742-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "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": "948c669c-d300-40c9-aea9-1e12e62abb04",
      "Section": {
        "FormTypeSectionId": "88c130fb-317d-4d44-ae3c-ee616cdec77e",
        "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": "e57f39e3-274d-4f69-adef-048b42c3c92a",
        "Name": "sample string 1"
      },
      "Unit": {
        "UnitId": "95b2b06f-0043-4ec5-a266-26b5c908f826",
        "Code": "sample string 1",
        "Description": "sample string 2",
        "SourceSystemId": "sample string 3",
        "CompanyId": "20433adc-3399-4cb5-8067-7086eb9f15c3",
        "CreateDate": "2024-12-21T19:11:22.0585742-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-12-21T19:11:22.0585742-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "DisplayOrder": 1,
      "MinValue": 1.0,
      "MaxValue": 1.0,
      "MinLength": 1,
      "MaxLength": 1,
      "HasValidValues": true,
      "ValidValues": [
        "sample string 1",
        "sample string 2"
      ],
      "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": "518ec07d-a350-4616-9125-6658ef66f5f6",
  "CreateDate": "2024-12-21T19:11:22.0585742-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-12-21T19:11:22.0585742-08:00",
  "LastModifiedUser": "sample string 6"
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Object

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Total": 1,
  "Message": "sample string 2"
}