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": "592e8628-f695-491e-8bd6-efa01b8670c9", "Asset": { "AssetId": "9fd4d4ef-9659-4843-8d18-5357b96aca08", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7d37eab9-1314-49ca-8178-9d3ab4e89e59", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5cf53a07-98e1-4a17-ac22-6db9a9359990", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "64b57c67-14eb-40c6-8100-90518068637e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "MeasurementValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "SourceSystemId": "sample string 3", "CompanyId": "da69febb-dfb6-4040-a02f-834386669bda", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "MeasurementValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f02802f5-3355-4137-ab9a-55e5a8dc5909", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "6724c14b-0cf5-420d-9cc1-96ad19cd7c29", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7d37eab9-1314-49ca-8178-9d3ab4e89e59", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5cf53a07-98e1-4a17-ac22-6db9a9359990", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "Fields": [ { "FormTypeFieldId": "39a5a72a-92e5-49d2-8509-c99b46ee1664", "Section": { "FormTypeSectionId": "712ef0df-4cbf-4984-b9ad-b07aeda717d3", "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": "f3b33e53-bb63-4ef2-b1d3-ebc223cff271", "Name": "sample string 1" }, "Unit": { "UnitId": "7007209d-8856-4a30-8090-a4cbab71f4c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c58a8e5-74a3-4a3a-b1a7-8430dc81aef8", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "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": "39a5a72a-92e5-49d2-8509-c99b46ee1664", "Section": { "FormTypeSectionId": "712ef0df-4cbf-4984-b9ad-b07aeda717d3", "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": "f3b33e53-bb63-4ef2-b1d3-ebc223cff271", "Name": "sample string 1" }, "Unit": { "UnitId": "7007209d-8856-4a30-8090-a4cbab71f4c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c58a8e5-74a3-4a3a-b1a7-8430dc81aef8", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "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": "3f534b0d-c9ab-497f-8051-1a6bd43c20e3", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "EffectiveDate": "2024-11-21T05:33:31.8348601-08:00", "Location": "sample string 1", "TaskId": "809abea8-8acb-4b2b-9153-2bc8279ecca6", "Values": [ { "FormFieldValueId": "e1bbd563-6730-42dc-89cb-4a8389cc27d9", "FormId": "f23ea274-b204-4949-8ec1-44724d3f76ce", "FormTypeField": { "FormTypeFieldId": "39a5a72a-92e5-49d2-8509-c99b46ee1664", "FormType": { "FormTypeId": "6724c14b-0cf5-420d-9cc1-96ad19cd7c29", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7d37eab9-1314-49ca-8178-9d3ab4e89e59", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5cf53a07-98e1-4a17-ac22-6db9a9359990", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "3f534b0d-c9ab-497f-8051-1a6bd43c20e3", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "712ef0df-4cbf-4984-b9ad-b07aeda717d3", "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": "f3b33e53-bb63-4ef2-b1d3-ebc223cff271", "Name": "sample string 1" }, "Unit": { "UnitId": "7007209d-8856-4a30-8090-a4cbab71f4c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c58a8e5-74a3-4a3a-b1a7-8430dc81aef8", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "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": "e1bbd563-6730-42dc-89cb-4a8389cc27d9", "FormId": "f23ea274-b204-4949-8ec1-44724d3f76ce", "FormTypeField": { "FormTypeFieldId": "39a5a72a-92e5-49d2-8509-c99b46ee1664", "FormType": { "FormTypeId": "6724c14b-0cf5-420d-9cc1-96ad19cd7c29", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7d37eab9-1314-49ca-8178-9d3ab4e89e59", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "5cf53a07-98e1-4a17-ac22-6db9a9359990", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T05:33:31.8348601-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "3f534b0d-c9ab-497f-8051-1a6bd43c20e3", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "712ef0df-4cbf-4984-b9ad-b07aeda717d3", "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": "f3b33e53-bb63-4ef2-b1d3-ebc223cff271", "Name": "sample string 1" }, "Unit": { "UnitId": "7007209d-8856-4a30-8090-a4cbab71f4c3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8c58a8e5-74a3-4a3a-b1a7-8430dc81aef8", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T05:33:31.8348601-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "458c0e98-3c24-4411-af68-c7117fefcc0f", "FieldId": "597874ac-f5bc-46da-a403-c0872569752e", "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": "06b448b2-9062-4bbe-a25c-3947414b6e05", "CreateDate": "2024-11-21T05:33:31.8348601-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-11-21T05:33:31.8348601-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" }