Delete
This method can be used to delete a 1099Transactions based on a SubmissionId or Payer. All transactions associated with the SubmissionId will be removed if only the submissionId is specified.
If you need to delete the Transmitted or Accepted status records in Sandbox, you can contact our developer@taxbandits.com.
DELETE Form1099Transactions
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission. It is generated by TaxBandits. This Id can be retrieved in the response. |
Request Params
- Sample 1
- Sample 2
Delete the transaction by supplying the particular SubmissionId
Form1099Transactions?SubmissionId=5a086e1f-72b2-433c-8f31-add986300cca
Try to Delete the Transaction with invalid SubmissionId.
Form1099Transactions?SubmissionId=6a086e1f-72b2-433c-8f31-add986300cca
Response Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission. |
StatusMsg | String | Status Message. |
StatusTs | String | Time Stamp of the status. |
Errors | object | Shows error information. This object will list the errors in the request parameters. |
Response JSON
- Response 1
- Response 2
All the transactions corresponding to the given SubmissionId will be deleted and the StatusMsg will be displayed.
{
"SubmissionId": "5a086e1f-72b2-433c-8f31-add986300cca",
"StatusMsg": "Deleted Successfully",
"StatusTs": "2021-09-16 07:13:51 -04:00",
"Errors": null
}
Since the given SubmissionId is invalid, error message will be displayed along with the reason
{
"SubmissionId": "09353cdd-29f1-4614-85e3-cc5e9d7e68a1",
"StatusMsg": "Error Occurred",
"StatusTs": "2021-05-29 03:17:41 -04:00",
"Errors": [
{
"Id": "F68-100023",
"Name": "SubmissionId",
"Message": "SubmissionId is invalid"
}
]
}