GetPdf
GET Form1099OID/GetPDF
Request Params
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission |
RecordIds | Guid[] | Optional Unique identifier of a records. |
TINMaskType | string | Optional Choose the masking type of your Recipient's TIN on the 1099- PDF. MASKED - The Recipient's TIN will be masked in the PDF. Only the last 4 digits of the TIN can be read.UNMASKED - The Recipient's TIN will not be masked in the PDF. To protect the PII information of the Recipient, the PDF with Unmasked TIN is password protected. Use the Recipient's TIN (password) to open the protected file.BOTH - Two PDFs will be delivered for each Recipient. One with Masked TIN and the other with Unmasked TIN. The PDF with Unmasked TIN will be password protected. Allowed values: "MASKED", "UNMASKED", "BOTH" |
Request Params
"/Form1099oid/getpdf?SubmissionId=932d2691-5e8f-45db-815a-4a97886773b3&RecordIds=14dc0f70-16c7-48b7-88b0-e1a59315061c"
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 |
Form1099OIDRecords | object[] | Collection of Form 1099-OID records for which the PDF will be successfully delivered |
RecordId | guid | Unique identifier of a record |
Message | string | Provides additional information regarding the PDF delivery. |
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": "d585499a-750c-4087-a9a1-cf996a0ed5a7",
"Form1099OIDRecords": [
{
"RecordId": "8518a94d-76f4-412b-b958-c0aa41cfce20",
"Message": "We've successfully received your request to generate PDF. You will be notified with the URL to download the PDF."
}
],
"Errors": null
}