Delete
Use this method to delete the existing 941-X returns created in TaxBandits. To delete an existing return, refer to it using unique identifiers such as SubmissionId, RecordId, and so on. If you provide only the SubmissionId, all the returns created under that submission will be deleted.
note
A Transmitted return cannot be deleted.
If you need to delete the Transmitted or Accepted status records in Sandbox, you can contact our developer@taxbandits.com.
DELETE Form941X/Delete
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission. |
RecordIds | string | Optional List of record Ids to be deleted. |
Request Params
"Form941X/Delete?Submissionid=7c1f1df2-61f1-4881-88d5-2a5db230e987&Recordids=9ae8badc-d68e-4913-a050-fae80d0a9acd"
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. |
Form941XRecords | object | Pulls the Form 941-X records with Success and Error statuses. |
SuccessRecords | object[] | It will show the detailed information about the success status of Form 941-X Records. |
SequenceId | 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 941 Records. |
SequenceId | string | A unique number given by an inbound application to identify failed records. |
RecordId | Guid | Unique identifier of a record. |
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. |
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. |
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "7c1f1df2-61f1-4881-88d5-2a5db230e987",
"Form941XRecords": {
"SuccessRecords": [
{
"SequenceId": "002",
"RecordId": "9ae8badc-d68e-4913-a050-fae80d0a9acd",
"RecordStatus": "DELETED",
"CreatedTs": "2024-09-16 03:33:41 -04:00",
"UpdatedTs": "2024-09-16 04:04:19 -04:00",
"Errors": null
}
],
"ErrorRecords": null
},
"Errors": null
}