v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Unapproved Invoices

Executes the Add Attachment to the Header action for the Unapproved Invoices data object.

Adds an attachment to the header of the specified unapproved_invoice.

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/unapproved_invoices/actions/add_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

Original file name and extension (e.g., invoice.pdf).

AttachmentTypeIDinteger nullable

Vista Attachment Type ID (optional).

URLToFileBytesstring required

URL to the file bytes that App Xchange will download and upload into Vista.

Response

Success

idstring
operationstring
statusstring