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": "420873c4-4646-49f5-afc8-61d57fdf07bd", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "cbb8ff8a-8383-47a8-92a5-92bc22ddb99f", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bd7ad0da-0dbf-49d7-a1d4-19c35ac13bee", "CreateDate": "2024-11-21T04:35:27.3451211-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-11-21T04:35:27.3451211-08:00", "LastModifiedUser": "sample string 8" }, "FrequencyNeeded": 1, "ValueNeededDate": "2024-11-21T04:35:27.3451211-08:00", "Fields": [ { "FormTypeFieldId": "54b40fc1-d745-4565-9ef9-4cf57d23c35f", "Section": { "FormTypeSectionId": "c3447b6d-6426-4f3f-ac80-e28260ba39ff", "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": "4eaace9d-e33a-480f-a61c-566cfb73cf84", "Name": "sample string 1" }, "Unit": { "UnitId": "694b3921-79e9-499d-b492-496d09d4b186", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "58d443dc-fbe9-4b0f-ac68-fa83d6877b33", "CreateDate": "2024-11-21T04:35:27.3451211-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:35:27.3451211-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d96e9c96-8976-4570-9a51-0dacec21e3be", "FieldId": "cad4a484-1a00-45f5-94f4-3fc391ea64d7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d96e9c96-8976-4570-9a51-0dacec21e3be", "FieldId": "cad4a484-1a00-45f5-94f4-3fc391ea64d7", "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": "54b40fc1-d745-4565-9ef9-4cf57d23c35f", "Section": { "FormTypeSectionId": "c3447b6d-6426-4f3f-ac80-e28260ba39ff", "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": "4eaace9d-e33a-480f-a61c-566cfb73cf84", "Name": "sample string 1" }, "Unit": { "UnitId": "694b3921-79e9-499d-b492-496d09d4b186", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "58d443dc-fbe9-4b0f-ac68-fa83d6877b33", "CreateDate": "2024-11-21T04:35:27.3451211-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:35:27.3451211-08:00", "LastModifiedUser": "sample string 6" }, "DisplayOrder": 1, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "d96e9c96-8976-4570-9a51-0dacec21e3be", "FieldId": "cad4a484-1a00-45f5-94f4-3fc391ea64d7", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "d96e9c96-8976-4570-9a51-0dacec21e3be", "FieldId": "cad4a484-1a00-45f5-94f4-3fc391ea64d7", "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": "9aa3ae69-ea69-452c-af29-b9f62084ff96", "CreateDate": "2024-11-21T04:35:27.3451211-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-11-21T04:35:27.3451211-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" }