v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Batch Entries

Executes the Add Attachment to a Receipt Batch Entry action for the Batch Entries data object.

Adds an attachment o a Receipt Batch Entry

post/direct/subscribers/{subscriber_code}/vista/ar/2/data/batch_entries/actions/add_receipt_attach

Path parameters

subscriber_codestring required

The code of the subscriber that you are making this request for.

Headers

X-Application-Keystring required

Used to authorize access to the Direct API.

Request body

Descriptionstring nullable

Description of the file.

OrigFileNamestring nullable required

Original file name and dot extension. No path information.

AttachmentTypeIDinteger nullable

Must be valid (exists in Vista and user must have permission to add attachment with this AttachmentTypeID.

URLToFileBytesstring required

URL to directly download the file bytes.

Response

Success

idstring
operationstring
statusstring