Delete
Delete
Use this endpoint to delete any in-progress 3922 returns created in TaxBandits. When deleting, provide unique identifiers such as SubmissionId, RecordId, etc. If only the SubmissionId is provided, all returns associated with that ID will be deleted.
Note:
In the Live environment, returns with a Transmitted or Accepted status cannot be deleted. However, in the Sandbox environment, you can delete returns regardless of their status (Transmitted, Rejected, or Accepted).
DELETE Form3922/DeleteRequest Params
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | Unique identifier of a submission. |
| RecordId | Guid | An unique identifier generated by TaxBandits when a 3922 return is created. Mention the 3922 return's Record ID that you want to delete. |
Response Body
| Field | Type | Description |
|---|---|---|
| StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
| StatusName | string | Name of the status code |
| StatusMessage | string | Detailed status message |
| SubmissionId | Guid | Unique identifier of a submission |
| Form3922Records | object | Pulls the Form 3922 records with Success and Error statuses. |
| SuccessRecords | object[] | It will show the detailed information about the success status of Form 3922 Records. |
| SequenceId | string | A unique number given by an inbound application to identify failed records. |
| RecordId | Guid | Unique identifier of a record. |
| Status | string | Returns the status of the records. |
| StatusTs | string | Date and time of return deleted. |
| ErrorRecords | object[] | It will show the detailed information about the error status of Form 3922 Records. |
| SequenceId | string | An unique reference ID for the submission that can be used to identify a particular record. The Sequence ID will be returned in the Response for your reference. |
| RecordId | Guid | Unique identifier of a record. |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error Id. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error Id . |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
Request Params
"Form3922/Delete?SubmissionId=7adc4083-d94e-4594-b974-aa86e772d856&RecordId=5a75379f-c0cf-41d4-93d6-08bc2b6397cc,c92e56e7-f10c-4c0f-996e-776e95d0c6b5"
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "7adc4083-d94e-4594-b974-aa86e772d856",
"Form3922Records": {
"SuccessRecords": [
{
"SequenceId": "1",
"RecordId": "5a75379f-c0cf-41d4-93d6-08bc2b6397cc",
"Status": "DELETED",
"StatusTs": "2025-12-24 05:07:40 -05:00",
"StateReturns": null,
"OnlineAccess": null,
"ScheduleFiling": null
},
{
"SequenceId": "2",
"RecordId": "c92e56e7-f10c-4c0f-996e-776e95d0c6b5",
"Status": "DELETED",
"StatusTs": "2025-12-24 05:07:40 -05:00",
"StateReturns": null,
"OnlineAccess": null,
"ScheduleFiling": null
}
],
"ErrorRecords": null
},
"Info": null,
"Errors": null
}