You need to sign in to do that
Don't have an account?
Downloading Documents
Hi,
I am new to SF and have been thrown in the deep end with something i have been asked to write :)
I have been asked to download a document from sf.
So far I have managed to get the login working via the REST api and am getting the following back:
public string id { get; set; } public string issued_at { get; set; } public string instance_url { get; set; } public string signature { get; set; } public string access_token { get; set; }
I have also found an article saying that to download a document i need to call /services/data/v20.0/sobjects/Document/{id}/Body
It says I need to send Authorization: Bearer token
Is the Bearer token the access_token i retrieve in the login?
Also, I have uploaded a mp4 into "My Library". How do i find the document id for that mp4 please?
Any help would be much appreciated.
Trev