• Sangramsing Bagul
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Hi,
We`re trying to download and upload Salesforce files for all salesforce users using admin oauth authentication process. By using Chatter file API we are able to get file information of salesforce users.
Here is api detail we are using
URL :- /connect/files/users/userId
Method :- GET/POST
Desc :- Upload a file, including references to external files, to the Files home or get information about files a user owns. These files don’t include files shared with a user, files a user follows, or general organization files.
This given api returns file listing for specified user but fails to upload file for same user.

GET works for all user including admin.
POST works only for admin user.

Is there any other way to upload Salesforce files to user account using admin oauth process?
Hi,
We`re trying to download and upload Salesforce files for all salesforce users using admin oauth authentication process. By using Chatter file API we are able to get file information of salesforce users.
Here is api detail we are using
URL :- /connect/files/users/userId
Method :- GET/POST
Desc :- Upload a file, including references to external files, to the Files home or get information about files a user owns. These files don’t include files shared with a user, files a user follows, or general organization files.
This given api returns file listing for specified user but fails to upload file for same user.

GET works for all user including admin.
POST works only for admin user.

Is there any other way to upload Salesforce files to user account using admin oauth process?