DELETE FormTypes
Deletes the given form type, including all forms of that type.
Request Information
URI Parameters
None.
Body Parameters
Form type to delete
FormTypeName | Description | Type | Additional 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": "61373ab3-8f49-4f6a-8bc7-f172b5fb49f7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "38224462-a43d-4147-9bd3-3652df24c955", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f20edd67-8a5b-4035-b822-4612b9a2a2bb", "CreateDate": "2024-12-21T14:06:54.8840069-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T14:06:54.8840069-08:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-12-21T14:06:54.8840069-08:00", "Fields": [ { "FormTypeFieldId": "e3d380c7-4f5d-4c1e-98d7-22701a189efa", "Section": { "FormTypeSectionId": "7b2b391b-50c2-40ce-a983-713b4ffa8faa", "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": "5fa7389f-0670-42d8-858f-5cc7db01a055", "Name": "sample string 1" }, "Unit": { "UnitId": "85a36d42-44b1-47d6-b57c-aa3bbf130bcf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "92c75b67-5174-4d98-88f6-9bb609396613", "CreateDate": "2024-12-21T14:06:54.8840069-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T14:06:54.8840069-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11116b9d-9588-41ed-8423-648824706631", "FieldId": "0d4e35d5-4e8a-453b-b56c-0ca4637fca00", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11116b9d-9588-41ed-8423-648824706631", "FieldId": "0d4e35d5-4e8a-453b-b56c-0ca4637fca00", "FieldName": "sample string 1", "FieldLable": "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": "e3d380c7-4f5d-4c1e-98d7-22701a189efa", "Section": { "FormTypeSectionId": "7b2b391b-50c2-40ce-a983-713b4ffa8faa", "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": "5fa7389f-0670-42d8-858f-5cc7db01a055", "Name": "sample string 1" }, "Unit": { "UnitId": "85a36d42-44b1-47d6-b57c-aa3bbf130bcf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "92c75b67-5174-4d98-88f6-9bb609396613", "CreateDate": "2024-12-21T14:06:54.8840069-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T14:06:54.8840069-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11116b9d-9588-41ed-8423-648824706631", "FieldId": "0d4e35d5-4e8a-453b-b56c-0ca4637fca00", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11116b9d-9588-41ed-8423-648824706631", "FieldId": "0d4e35d5-4e8a-453b-b56c-0ca4637fca00", "FieldName": "sample string 1", "FieldLable": "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": "b0ce048f-85e8-4e78-9207-30567e7ef6db", "CreateDate": "2024-12-21T14:06:54.8840069-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T14:06:54.8840069-08:00", "LastModifiedUser": "sample string 6" }
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" }