• Guilhem Achikbache
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi everyone,

I'm trying to upload a file in the notes&attachment section of an account, but with no luck. The documentation is very obscure, and I can't even find with the workbench explorer a file that I've uploaded with the salesforce interface.

- What I can't find is where to POST the query :
/services/data/v20.0/sobjects/Account/{ID},
/services/data/v20.0/sobjects/Account/{ID}/Attachment,
/services/data/v20.0/sobjects/Account/Attachment{ID}
- what syntax shoud the JSON data have ? Where do I specify the recordId the file should be attached to ?
- how can I retrieve it later ?

does anyone know how to do this ?
Thanks
Hi everyone,

I'm trying to upload a file in the notes&attachment section of an account, but with no luck. The documentation is very obscure, and I can't even find with the workbench explorer a file that I've uploaded with the salesforce interface.

- What I can't find is where to POST the query :
/services/data/v20.0/sobjects/Account/{ID},
/services/data/v20.0/sobjects/Account/{ID}/Attachment,
/services/data/v20.0/sobjects/Account/Attachment{ID}
- what syntax shoud the JSON data have ? Where do I specify the recordId the file should be attached to ?
- how can I retrieve it later ?

does anyone know how to do this ?
Thanks