DELETE Forms
Deletes the given form.
Request Information
URI Parameters
None.
Body Parameters
The form to delete.
FormName | Description | Type | Additional 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": "b4417a7a-1587-48f5-b057-cf4f7ea7c241", "Asset": { "AssetId": "5135dbe6-5c83-4c12-91fc-59d6e14a6b29", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "fddd0309-0b31-4b1e-ac96-2fabc25308e7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9fcba8be-ba1a-47fb-8b19-f04814d28006", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d4753260-97c8-48f1-8cb5-7f499d1a9c7c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "MeasurementValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e95ef2e0-8f89-467e-bf7f-48ef4a01c17c", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "MeasurementValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "323fcfed-3406-412a-abe4-654aea19a9bb", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "ec899aaf-67b4-44e4-8c7c-ebe96f2b71a9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fddd0309-0b31-4b1e-ac96-2fabc25308e7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9fcba8be-ba1a-47fb-8b19-f04814d28006", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "Fields": [ { "FormTypeFieldId": "be2f1288-1264-45ab-9fd5-4347d3c36c23", "Section": { "FormTypeSectionId": "f6a6edc0-187d-4dfc-a47a-01ab7833028a", "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": "e5c8f501-2a3f-49b0-aa55-4c0df7c9b922", "Name": "sample string 1" }, "Unit": { "UnitId": "47371af4-e58d-460b-a544-fb7db74197bc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91597976-0329-406e-a539-381900c8a200", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "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": "be2f1288-1264-45ab-9fd5-4347d3c36c23", "Section": { "FormTypeSectionId": "f6a6edc0-187d-4dfc-a47a-01ab7833028a", "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": "e5c8f501-2a3f-49b0-aa55-4c0df7c9b922", "Name": "sample string 1" }, "Unit": { "UnitId": "47371af4-e58d-460b-a544-fb7db74197bc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91597976-0329-406e-a539-381900c8a200", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "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": "896ad399-f760-429c-9837-7abed107b925", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "EffectiveDate": "2025-02-05T06:09:47.4088474-08:00", "Location": "sample string 1", "TaskId": "f763dc44-36ae-4d09-a0cf-14b429c12b8e", "Values": [ { "FormFieldValueId": "40c76cca-2694-4997-a4d6-468a2f968c78", "FormId": "fe1f3cb5-29f8-4c66-b7a0-b040570ff208", "FormTypeField": { "FormTypeFieldId": "be2f1288-1264-45ab-9fd5-4347d3c36c23", "FormType": { "FormTypeId": "ec899aaf-67b4-44e4-8c7c-ebe96f2b71a9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fddd0309-0b31-4b1e-ac96-2fabc25308e7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9fcba8be-ba1a-47fb-8b19-f04814d28006", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "896ad399-f760-429c-9837-7abed107b925", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "f6a6edc0-187d-4dfc-a47a-01ab7833028a", "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": "e5c8f501-2a3f-49b0-aa55-4c0df7c9b922", "Name": "sample string 1" }, "Unit": { "UnitId": "47371af4-e58d-460b-a544-fb7db74197bc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91597976-0329-406e-a539-381900c8a200", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "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" }, "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": "40c76cca-2694-4997-a4d6-468a2f968c78", "FormId": "fe1f3cb5-29f8-4c66-b7a0-b040570ff208", "FormTypeField": { "FormTypeFieldId": "be2f1288-1264-45ab-9fd5-4347d3c36c23", "FormType": { "FormTypeId": "ec899aaf-67b4-44e4-8c7c-ebe96f2b71a9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fddd0309-0b31-4b1e-ac96-2fabc25308e7", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "9fcba8be-ba1a-47fb-8b19-f04814d28006", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2025-02-05T06:09:47.4088474-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "896ad399-f760-429c-9837-7abed107b925", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "f6a6edc0-187d-4dfc-a47a-01ab7833028a", "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": "e5c8f501-2a3f-49b0-aa55-4c0df7c9b922", "Name": "sample string 1" }, "Unit": { "UnitId": "47371af4-e58d-460b-a544-fb7db74197bc", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91597976-0329-406e-a539-381900c8a200", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "223dba91-c4fb-4304-bbc5-f62979bfbb3a", "FieldId": "a16bafc1-031b-4761-9a8a-eb62f8ae59cc", "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" }, "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": "4c6253c8-7b84-4245-9d35-f22d7f0942da", "CreateDate": "2025-02-05T06:09:47.4088474-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-02-05T06:09:47.4088474-08:00", "LastModifiedUser": "sample string 5" }
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" }