ViewAttachment
ViewAttachment
This endpoint is used to view attachments uploaded for a particular 1099 form.
In your API request, you must include the RecordId of the specific form for which you want to view attachments. The response will have the file path to access the attachments.
GET Attachment/ViewAttachment Request Params
| Field | Type | Description |
|---|---|---|
| RecordID | Guid | Unique identifier of the records given by TaxBandits |
Response Body
| Field | Type | Description |
|---|---|---|
| RecordID | Guid | Unique identifier of the records given by TaxBandits |
| FilePath | string | File path of the attachment document |
| Errors | object[] | Shows detailed error information. |
| Id | string | Returns the validation error code. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
Request Params
"Attachment/ViewAttachment?RecordId=04ec74ea-9099-42a0-9a64-710a4d7eec37"
Response JSON
Success Response - This is a sample response for successful API requests.
{
"RecordID": "04ec74ea-9099-42a0-9a64-710a4d7eec37",
"FilePath": "https://amazonaws.com/pdfs/a570efbd-740f-4ae2-bfe7-26356cd85148.pdf",
"Errors": null
}