You need to sign in to do that
Don't have an account?
Michael M
JSON for ContentDocument
I'm working on an integration to push files from Salesfroce to a different API, and am putting together a mockup JSON. Can someone help in how to write the JSON for files (ContentVersion or ContentDocument)? Can you please give an example for a syntax that would make sense, even with a fake example? This would be of great help.
Below are few examples on JSON for ContentDocument.
https://stackoverflow.com/questions/57044642/json-syntax-and-code-for-uploading-files-to-contentdocument-object
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_json_sample_file.htm
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
All Answers
Below are few examples on JSON for ContentDocument.
https://stackoverflow.com/questions/57044642/json-syntax-and-code-for-uploading-files-to-contentdocument-object
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_json_sample_file.htm
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar