v1

latestOpenAPI 3.0.12026-07-267912192.3 MB
Unapproved Invoices

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

Adds an attachment to the specified unapproved_invoice line item

post/direct/subscribers/{subscriber_code}/vista/ap/2/data/unapproved_invoices/actions/add_lineitem_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
OrigFileNamestring nullable
AttachmentTypeIDinteger nullable
URLToFileBytesstring required

URL to the file bytes for the specific line backup (e.g., a delivery ticket).

Response

Success

idstring
operationstring
statusstring