Skip to main content
Version: 2.0.0

RequestDraftPdfUrl

RequestDraftPdfUrl

GET formw2/requestdraftpdfUrl 

Request Body

FieldTypeDescription
RecordIdsGuid[]A unique identifier generated by TaxBandits when a return is created. Mention the return's RecordId that you want to delete.

Response Body

FieldTypeDescription
RecordIdGuidA unique identifier of the record
employeeIdGuidA unique employee identifier generated by TaxBandits
EmployeeRefstringA unique identifier for each employee set by you.
DraftPdfUrlstringURL of the Draft PDF
DraftPdfPathstringStorage path of the draft PDF
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
Errorsobject[]Shows detailed error information
IdstringReturns the validation error ID
NamestringName of the validation error
MessagestringDescription of the validation error
Request Params
SampleDescriptionAction
Sample 1
Query Params - Request Draft PDF URLs for generated Form W2 returns using RecordId.
Sample 1
formw2/requestdraftpdfUrl?recordid=cf0a188b-6661-4b57-b04b-ba9ead52a16e
Response JSON
ResponseDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"RecordId": "5ce0a501-ddcd-4b23-af7c-c836bc434bda",
"employeeId": "ba15c63a-e191-4dbc-9156-457f0980052e",
"EmployeeRef": null,
"DraftPdfPath": "pdfs/c2d66a8c-3cf3-4dbc-9095-38b92fc58866/0927361d-25ec-47d5-9c37-7a239ec6a2fa/1099/19455581/d/copy_tbs_wm_1up_9455960000.pdf",
"Error": null
}