Executes the cache_file action for the Attachment Files data object.

Stages Vista attachment bytes in App Xchange and returns download handles. Provide UniqueAttchID, AttachmentID, or KeyID from vista/dm/2/attachments. On success, use filePointer.location (Direct API) or __file_id (flows) to download the file. Per-file errors are returned in the Attachments array even when the action status is Successful.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

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

Body Params
Attachments
array
required

Attachments to stage in App Xchange. Provide UniqueAttchID, or __key with AttachmentID or KeyID from vista/dm/2/attachments.

Attachments*
Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json