DELETE Forms

Deletes the given form.

Request Information

URI Parameters

None.

Body Parameters

The form to delete.

Form
NameDescriptionTypeAdditional information
FormId

globally unique identifier

None.

Asset

Asset

None.

FormType

FormType

None.

EffectiveDate

date

None.

Location

string

None.

TaskId

globally unique identifier

None.

Values

Collection of FormFieldValue

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:
{
  "FormId": "ce0ddd90-d7fd-49b1-b916-2a1ec3a80307",
  "Asset": {
    "AssetId": "a390a6b6-8c0d-4bb9-996d-c1bd4acb503c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "ca68ad11-9547-4996-bb61-aeb5dbd56aae",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "d22bbadc-0902-4e9a-a399-8cae39b9e309",
      "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "b1671c3b-b0bb-4341-a3f3-b12fc008d39f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T03:19:10.3863181-07:00",
      "MeasurementValueNeededDate": "2024-10-10T03:19:10.3863181-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "d76e8da2-a215-40d2-8cb2-f1cf3d8e1d8a",
      "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-10-10T03:19:10.3863181-07:00",
    "MeasurementValueNeededDate": "2024-10-10T03:19:10.3863181-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "adafc655-a5ce-49fc-9358-82f7f7e208f4",
    "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "FormType": {
    "FormTypeId": "69d579bd-59da-4639-9a49-b8943a392d9e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "AssetType": {
      "AssetTypeId": "ca68ad11-9547-4996-bb61-aeb5dbd56aae",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "d22bbadc-0902-4e9a-a399-8cae39b9e309",
      "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "FrequencyNeeded": 1,
    "ValueNeededDate": "2024-10-10T03:19:10.3863181-07:00",
    "Fields": [
      {
        "FormTypeFieldId": "7b34839a-aa9b-47bd-97c2-d21a4724832c",
        "Section": {
          "FormTypeSectionId": "a6cf4e60-da86-4666-86c0-59bfa0a56053",
          "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": "bcac0055-980e-4c12-8c78-efe1b0c5ff66",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a28f7e3f-9200-44f4-83cb-dba33e4d92c0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4698245b-e088-4471-8c91-3dfc60404c2e",
          "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T03:19:10.3863181-07: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": "7b34839a-aa9b-47bd-97c2-d21a4724832c",
        "Section": {
          "FormTypeSectionId": "a6cf4e60-da86-4666-86c0-59bfa0a56053",
          "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": "bcac0055-980e-4c12-8c78-efe1b0c5ff66",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a28f7e3f-9200-44f4-83cb-dba33e4d92c0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4698245b-e088-4471-8c91-3dfc60404c2e",
          "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T03:19:10.3863181-07: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": "6438a737-f4c5-474d-8754-2f58deffac75",
    "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
    "LastModifiedUser": "sample string 6"
  },
  "EffectiveDate": "2024-10-10T03:19:10.3863181-07:00",
  "Location": "sample string 1",
  "TaskId": "df4837b4-f2a5-48e2-98b6-f4af4ba4f52e",
  "Values": [
    {
      "FormFieldValueId": "af49f67b-e31e-4a62-9071-2e5d68134012",
      "FormTypeField": {
        "FormTypeFieldId": "7b34839a-aa9b-47bd-97c2-d21a4724832c",
        "Section": {
          "FormTypeSectionId": "a6cf4e60-da86-4666-86c0-59bfa0a56053",
          "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": "bcac0055-980e-4c12-8c78-efe1b0c5ff66",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a28f7e3f-9200-44f4-83cb-dba33e4d92c0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4698245b-e088-4471-8c91-3dfc60404c2e",
          "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T03:19:10.3863181-07: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"
      },
      "SectionIndex": 1,
      "FieldIndex": 1,
      "FileName": "sample string 1",
      "FileType": "sample string 2",
      "FileSize": 1,
      "FileContent": "QEA=",
      "ValueText": "sample string 3",
      "IsValid": true,
      "IsValidMessage": "sample string 5",
      "SourceSystemId": "sample string 6"
    },
    {
      "FormFieldValueId": "af49f67b-e31e-4a62-9071-2e5d68134012",
      "FormTypeField": {
        "FormTypeFieldId": "7b34839a-aa9b-47bd-97c2-d21a4724832c",
        "Section": {
          "FormTypeSectionId": "a6cf4e60-da86-4666-86c0-59bfa0a56053",
          "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": "bcac0055-980e-4c12-8c78-efe1b0c5ff66",
          "Name": "sample string 1"
        },
        "Unit": {
          "UnitId": "a28f7e3f-9200-44f4-83cb-dba33e4d92c0",
          "Code": "sample string 1",
          "Description": "sample string 2",
          "SourceSystemId": "sample string 3",
          "CompanyId": "4698245b-e088-4471-8c91-3dfc60404c2e",
          "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
          "CreateUser": "sample string 5",
          "LastModifiedDate": "2024-10-10T03:19:10.3863181-07: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"
      },
      "SectionIndex": 1,
      "FieldIndex": 1,
      "FileName": "sample string 1",
      "FileType": "sample string 2",
      "FileSize": 1,
      "FileContent": "QEA=",
      "ValueText": "sample string 3",
      "IsValid": true,
      "IsValidMessage": "sample string 5",
      "SourceSystemId": "sample string 6"
    }
  ],
  "SourceSystemId": "sample string 2",
  "CompanyId": "d7d4c0bc-0959-458d-b66a-e2bb92b22abc",
  "CreateDate": "2024-10-10T03:19:10.3863181-07:00",
  "CreateUser": "sample string 4",
  "LastModifiedDate": "2024-10-10T03:19:10.3863181-07:00",
  "LastModifiedUser": "sample string 5"
}

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"
}