Skip to main content
Version: 1.7.1

Delete

Deletes Form 1099-PATR return created in TaxBandits. Transmitted forms cannot be deleted.

If you need to delete the Transmitted or Accepted status records in Sandbox, you can contact our developer@taxbandits.com.

DELETE Form1099PATR/Delete 
Run in Postman

Request Params

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission
RecordIdsGuid[]An unique identifier generated by TaxBandits when a 1099-PATR return is created. Mention the 1099-PATR return's Record ID that you want to delete.

Request Params

"Form1099PATR/Delete?SubmissionId=48f07d71-9afb-4150-aea7-6822a3374cfc&RecordIds=aa98cb08-adfb-4557-af41-17dbf314f47f"

Response Body

FieldTypeDescription
StatusCodenumberReturns the HTTP status codes like 200,300 etc.
StatusNamestringName of the status code
StatusMessagestringDetailed status message
SubmissionIdGuidUnique identifier of a submission
Form1099RecordsobjectPulls the Form 1099-PATR records with Success and Error statuses
    SuccessRecordsobject[]It will show the detailed information about the success status of Form 1099-PATR Records
        SequenceIdstringA unique number is given by an inbound application to identify failed records
        RecordIdGuidUnique identifier of a record
        StatusstringReturns the status of the records.
        StatusTsstringDate and time of return deleted.
    ErrorRecordsobject[]It will show the detailed information about the error status of Form 1099-PATR Records.
        SequenceIdstringA unique number given by an inbound application to identify failed records
        RecordIdGuidUnique identifier of a record
        Errorsobject[]Shows detailed error information
            IdstringReturns the validation error code
            NamestringName of the validation error
            MessagestringDescription of the validation error
Errorsobject[]Shows detailed error information
    IdstringReturns the validation error code
    NamestringName of the validation error
    MessagestringDescription 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": "48f07d71-9afb-4150-aea7-6822a3374cfc",
"Form1099Records": {
"SuccessRecords": [
{
"SequenceId": "1",
"RecordId": "aa98cb08-adfb-4557-af41-17dbf314f47f",
"Status": "DELETED",
"StatusTs": "2022-05-06 08:35:07 -04:00"
}
],
"ErrorRecords": null
},
"Errors": null
}