Skip to main content
Version: 1.7.3

Delete

Deletes the 5498-SA Correction return created in TaxBandits. Transmitted returns can not be deleted.

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

DELETE Form5498SACorrection/Delete 
Run in Postman

Request Params

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

Request Params

Form5498SACorrection/Delete?SubmissionId=4c194abc-5eaa-4a2d-8c4a-ed5f2dad923b&RecordIds=32a4bb06-dc1c-4701-905e-aedd5c496315

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
Form5498SARecordsobjectPulls the Form 5498 SA correction records with Success and Error statuses
    SuccessRecordsobject[]It will show the detailed information about the success status of Form 5498 SA correction Records
        SequenceIdstringAn 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.
        RecordIdGuidUnique identifier of a record
        StatusstringReturns the status of the records.
        StatusTsstringDate and time of return deleted.
        OnlineAccessobjectReturns the Email address for whom the online access to be given and Status of online access.
            StatusstringReturns status of online access for Form 5498 SA correction return.
            EmailstringEmail address for whom the online access to be given.
            InfostringInformation about the online access service.
    ErrorRecordsobject[]It will show the detailed information about the error status of Form 5498 SA correction Records.
        SequenceIdstringAn 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.
        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": "4c194abc-5eaa-4a2d-8c4a-ed5f2dad923b",
"Form5498SARecords": {
"SuccessRecords": [
{
"SequenceId": "001",
"RecordId": "32a4bb06-dc1c-4701-905e-aedd5c496315",
"Status": "DELETED",
"StatusTs": "2023-12-18 07:10:37 -05:00",
"OnlineAccess": null
}
],
"ErrorRecords": null
},
"Errors": null
}