GetPDF
GetPDF
Request a PDF download of 940 to be made available through Webhooks
GET Form940/GetPDF Request Params
| Field | Type | Description |
|---|---|---|
| SubmissionId | string | Unique identifier of a submission |
| RecordIds | string | List of record Ids to be downloaded. |
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 |
| Form940pdfRecords | object[] | Form940pdfRecords Object |
| RecordId | Guid | Unique identifier of a record |
| Form940pdf | string | Returns the record ID with success message after generating a PDF. |
| 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. |
Request Params
"Form940/GetPDF?SubmissionId=adfaa49c-58c7-4e66-a2df-1258dad0a3e1&Recordids=9657e565-c91c-455e-ac2b-d9ef18d19db6"
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"SubmissionId": "adfaa49c-58c7-4e66-a2df-1258dad0a3e1",
"Form940pdfRecords": [
{
"RecordId": "9657e565-c91c-455e-ac2b-d9ef18d19db6",
"Form940pdf": "We've successfully received your request to generate PDF. You will be notified with the URL to download the PDF."
}
],
"Errors": null
}