Collection.GetFile
June 27, 2017
Description
Downloads a file stored in a Collection.
Required parameters
CollectionID, ItemID, Field
Returns
Returns the raw bytes of the target file.
Example request url
https://api.mozenda.com/rest?WebServiceKey=C70E1F84-E12B-4e73-B199-2EE6D43AF44E&Service=Mozenda10&Operation=Collection.GetFile&CollectionID=1001&ItemID=1002&Field=Picture
Example response
Collection.GetFile does not return a standard response when successful, it will instead return the raw bytes of the target file.
Success Headers Example
Status: HTTP/1.1 200 OK Cache-Control: private Content-Type: application/octet-stream Content-Disposition: attachment; filename=1002-Picture.png Date: Tue, 27 Jun 2017 19:52:40 GMT Connection: close Content-Length: 3330