Skip to main content
Version: 1.7.1

Delete

Deletes 940SCHR returns by Submission Ids and Record Ids.

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

DELETE Form940SchR/Delete 
Run in Postman

Request Params

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission
RecordIdsstringDeletes a list of record Ids

Request Params

"Form940SCHR/Delete?SubmissionId=7dd5c92c-1832-45f8-acbf-748d28f9e4ea&RecordIds=3909399a-7566-4810-9b88-f4442a59a923"

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
Form940SchRRecordsobjectPulls the Form 940SCHR records with Success and Error statuses
    SuccessRecordsobject[]It will show the detailed information about the success status of Form 940 Records
        SequencestringA unique number given by an inbound application to identify failed records.
        RecordIdGuidUnique identifier of a record.
        RecordStatusstringReturns the status of the records.
        CreatedTsstringDate and time of return created.
        UpdatedTsstringDate and time of return updated.
        ClientSuccessRecordsobject[]Client Success Status.
            CSeqIdstringThis identifies the sequence on the record sent in the payload. When errors occur we will send the errors attached to particular sequence.
            CRecordIdstringClient Record Identifier
            RecordStatusstringReturn status details like Processing, Created, Accepted, Rejected.
            CreatedTsstringReturn created date and time
            UpdatedTsstringReturn updated date and time
    ErrorRecordsobject[]It will show the detailed information about the error status of Form 940 Records
        RecordIdGuidUnique identifier of a record
        SequencestringA unique number given by an inbound application to identify failed records.
        Errorsobject[]Shows detailed error information.
            CodestringReturns the validation error code.
            NamestringName of the validation error.
            MessagestringDescription of the validation error.
            TypestringType of validation error.
        ClientErrorRecordsobject[]Client Error Status.
            CSeqIdobject[]This identifies the sequence on the record sent in the payload. When errors occur we will send the errors attached to particular sequence.
            CRecordIdobject[]Client Record Identifier
            Errorsobject[]It will show the detailed information about the error.
                CodestringIt will return the validation error code.
                NamestringIt will return the name of the validation error.
                MessagestringIt will return the detailed message of the validation error.
                TypestringIt will show the type of an error.
Errorsobject[]Shows detailed error information.
    CodestringReturns the validation error code.
    NamestringName of the validation error.
    MessagestringDescription of the validation error.
    TypestringType of validation error.

Response JSON

{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "7dd5c92c-1832-45f8-acbf-748d28f9e4ea",
"Form940SchRecords": {
"SuccessRecords": [
{
"Sequence": "",
"RecordId": "3909399a-7566-4810-9b88-f4442a59a923",
"RecordStatus": "DELETED",
"CreatedTs": "8/7/2019 3:33:38 AM",
"UpdatedTs": "8/7/2019 3:36:09 AM",
"ClientSuccessRecords": null
}
],
"ErrorRecords": null
},
"Errors": null
}