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": "3d429d7b-e8c7-4df6-9ed0-d562f09f695b", "Asset": { "AssetId": "76c8d8ac-d365-4354-b6a6-64abe40bc265", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9e7e638b-7bba-47ae-a65a-66f61568c43f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "61236a9b-e70a-4db5-b96f-0ef285710667", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "5e14f6d4-3759-4ce1-9e09-a2aa2450b66b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "MeasurementValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "SourceSystemId": "sample string 3", "CompanyId": "34c1f0d4-f2d1-4e75-8cdc-d7d83009bbe7", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "MeasurementValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e7c292e2-a24b-46bc-83c0-ca00ebcc3d94", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 8" }, "FormType": { "FormTypeId": "f18f34e2-2827-403b-969c-872e939ae434", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9e7e638b-7bba-47ae-a65a-66f61568c43f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "61236a9b-e70a-4db5-b96f-0ef285710667", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "Fields": [ { "FormTypeFieldId": "5ec43f80-0d1d-43e9-ac48-e55e1308ef12", "Section": { "FormTypeSectionId": "25243b98-2a18-4802-98b5-ad46434669a0", "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": "6edc5fb0-8e44-4848-b3a8-a728f7f49224", "Name": "sample string 1" }, "Unit": { "UnitId": "137d0c65-6256-49ce-8740-55f773aca141", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f1ace8e2-8c45-4db6-be4d-53024695df1a", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "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": "5ec43f80-0d1d-43e9-ac48-e55e1308ef12", "Section": { "FormTypeSectionId": "25243b98-2a18-4802-98b5-ad46434669a0", "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": "6edc5fb0-8e44-4848-b3a8-a728f7f49224", "Name": "sample string 1" }, "Unit": { "UnitId": "137d0c65-6256-49ce-8740-55f773aca141", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f1ace8e2-8c45-4db6-be4d-53024695df1a", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "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": "83731233-aa1d-4d64-82fc-bf30b2ec1a8e", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "EffectiveDate": "2024-12-22T02:48:34.2614452-08:00", "Location": "sample string 1", "TaskId": "0907464a-922b-47b5-9ce8-d6706de8fffc", "Values": [ { "FormFieldValueId": "379dc78b-7f52-4c39-8318-576472342cb9", "FormId": "cae32fc3-ee50-465d-abb5-cd50324185bf", "FormTypeField": { "FormTypeFieldId": "5ec43f80-0d1d-43e9-ac48-e55e1308ef12", "FormType": { "FormTypeId": "f18f34e2-2827-403b-969c-872e939ae434", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9e7e638b-7bba-47ae-a65a-66f61568c43f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "61236a9b-e70a-4db5-b96f-0ef285710667", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "83731233-aa1d-4d64-82fc-bf30b2ec1a8e", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "25243b98-2a18-4802-98b5-ad46434669a0", "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": "6edc5fb0-8e44-4848-b3a8-a728f7f49224", "Name": "sample string 1" }, "Unit": { "UnitId": "137d0c65-6256-49ce-8740-55f773aca141", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f1ace8e2-8c45-4db6-be4d-53024695df1a", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "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": "379dc78b-7f52-4c39-8318-576472342cb9", "FormId": "cae32fc3-ee50-465d-abb5-cd50324185bf", "FormTypeField": { "FormTypeFieldId": "5ec43f80-0d1d-43e9-ac48-e55e1308ef12", "FormType": { "FormTypeId": "f18f34e2-2827-403b-969c-872e939ae434", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9e7e638b-7bba-47ae-a65a-66f61568c43f", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "61236a9b-e70a-4db5-b96f-0ef285710667", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 7" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-22T02:48:34.2614452-08:00", "Fields": [], "SourceSystemId": "sample string 3", "CompanyId": "83731233-aa1d-4d64-82fc-bf30b2ec1a8e", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "Section": { "FormTypeSectionId": "25243b98-2a18-4802-98b5-ad46434669a0", "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": "6edc5fb0-8e44-4848-b3a8-a728f7f49224", "Name": "sample string 1" }, "Unit": { "UnitId": "137d0c65-6256-49ce-8740-55f773aca141", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f1ace8e2-8c45-4db6-be4d-53024695df1a", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:48:34.2614452-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "14e5e58d-9ad5-4ee6-997c-bbfcfdeb31dd", "FieldId": "e4a3a2c7-50e2-47c9-ac6f-1e906eeb8374", "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": "e05e949e-6b88-4c4c-98f6-dc1a1f349764", "CreateDate": "2024-12-22T02:48:34.2614452-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-12-22T02:48:34.2614452-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" }