Delete
Delete
Use this endpoint to delete any in-progress 945 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 Form945/Delete Request Params
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | Unique identifier of a submission. |
| RecordIds | string | Optional List of record Ids to be deleted. |
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. |
| Form945Records | object | Pulls the Form 945 records with Success and Error statuses. |
| SuccessRecords | object[] | It will show the detailed information about the success status of Form 945 Records. |
| Sequence | string | A unique number given by an inbound application to identify failed records. |
| RecordId | Guid | Unique identifier of a record. |
| RecordStatus | string | Returns the status of the records. |
| CreatedTs | string | Date and time of return created. |
| UpdatedTs | string | Date and time of return updated. |
| ErrorRecords | object[] | It will show the detailed information about the error status of Form 945 Records |
| RecordId | Guid | Unique identifier of a record. |
| Sequence | string | A unique number given by an inbound application to identify failed records. |
| Errors | object[] | Shows detailed error information. |
| Code | string | Returns the validation error code. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
| Type | string | Type of validation error. |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error code. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
Request Params
"Form945/Delete?SubmissionId=4e38f23b-ff52-4cb7-8b43-c2d4fcf90be7&RecordIds=289f3cbf-040c-4e77-8803-6eff6148375e"
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "3e38f23b-ff52-4cb7-8b43-c2d4fcf90be7",
"Form945Records": {
"SuccessRecords": [
{
"Sequence": "001",
"RecordId": "289f3cbf-040c-4e77-8803-6eff6148375e",
"RecordStatus": "DELETED",
"CreatedTs": "2/2/2025 1:46:16 AM",
"UpdatedTs": "2/2/2025 1:47:13 AM"
}
],
"ErrorRecords": null
},
"Errors": null
}