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
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | string | Deletes a list of record Ids |
Request Params
"Form940SCHR/Delete?SubmissionId=7dd5c92c-1832-45f8-acbf-748d28f9e4ea&RecordIds=3909399a-7566-4810-9b88-f4442a59a923"
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. |
SubmissionId | Guid | Unique identifier of a submission |
Form940SchRRecords | object | Pulls the Form 940SCHR records with Success and Error statuses |
SuccessRecords | object[] | It will show the detailed information about the success status of Form 940 Records |
Sequence | 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. |
ClientSuccessRecords | object[] | Client Success Status. |
CSeqId | string | This identifies the sequence on the record sent in the payload. When errors occur we will send the errors attached to particular sequence. |
CRecordId | string | Client Record Identifier |
RecordStatus | string | Return status details like Processing, Created, Accepted, Rejected. |
CreatedTs | string | Return created date and time |
UpdatedTs | string | Return updated date and time |
ErrorRecords | object[] | It will show the detailed information about the error status of Form 940 Records |
RecordId | Guid | Unique identifier of a record |
Sequence | string | A unique number given by an inbound application to identify failed records. |
Errors | object[] | Shows detailed error information. |
Code | string | Returns the validation error code. |
Name | string | Name of the validation error. |
Message | string | Description of the validation error. |
Type | string | Type of validation error. |
ClientErrorRecords | object[] | Client Error Status. |
CSeqId | object[] | This identifies the sequence on the record sent in the payload. When errors occur we will send the errors attached to particular sequence. |
CRecordId | object[] | Client Record Identifier |
Errors | object[] | It will show the detailed information about the error. |
Code | string | It will return the validation error code. |
Name | string | It will return the name of the validation error. |
Message | string | It will return the detailed message of the validation error. |
Type | string | It will show the type of an error. |
Errors | object[] | Shows detailed error information. |
Code | string | Returns the validation error code. |
Name | string | Name of the validation error. |
Message | string | Description of the validation error. |
Type | string | Type of validation error. |
Response JSON
Success Response - This is a sample response for successful API requests.
{
"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
}