GET assets/{id}/vault/download

Returns selected or all documents as a zip file for download keeping the vault folder structure.

Request

URL ( requires authentication )

https://api.crexi.com/assets/{id}/vault/download?files=files[0]&files=files[1]

Parameters

files

Collection of integer

Base64 encoded comma separated list of vault file ids. If this parameter is missing the method returns the entire vault.

Required

id

integer

Asset Id

Required

Response

Details

Returns an HTTP 200 OK and zip file with all vault's documents if files parameter is empty. Returns an HTTP 200 OK and specified documents if files parameter is correct. Returns 400 Bad Request and an error if files parameter is invalid. Returns 401 Unauthorized if user has no access to asset's vault.