GET assets/{id}/vault/preview

Returns single document for preview or download in case if preview is not supported for the file type.

Request

URL ( requires authentication )

https://api.crexi.com/assets/{id}/vault/preview?fileId={fileId}

Parameters

fileId

integer

Document Id

Required

id

integer

Asset Id

Required

Response

Details

Returns an HTTP 200 OK and single document for preview. Returns 400 Bad Request and an error if Id or FileId parameter is invalid. Returns 401 Unauthorized if user has no access to asset's vault.