upload photo or documents via REST API

Hello,
is it possible?

Just point me in teh right direction…

Regards

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_6.5/Application_Framework/Web_Services/Examples/REST/PHP/Creating_Documents/index.html

best regards

1 Like

Is it possible to send the photo to a lead via json?

Should be something like that?

{
first_name: “name_lead”,
status: “new”
photo :“StringBase64”
}

For the record, excerpt from the documentation of the new v8 API:

https://docs.suitecrm.com/developer/api/version-8/json-api/#_files