Upload/download of agnostic documents is only available in BI4.2, which is now released.
Upload: GET ../biprws/infostore/folder/<folderID>/file
Download:GET ../biprws/infostore/folder/<file_ID>/file
Uploading Agnostic Documents with BI Platform RESTful Web Services
Dan