FileUpload
POST /api/rest/v2/files/upload
This API returns a file uploaded by user and it's details.
Params:-
allowOverWrite boolean
If true, an existing file with the same file name for given contact will be replaced by the new file.
module String
Module name (possible values: Contact, Event, Opportunity, Organisation).
id Long
Id of the module for whom the file is uploaded.
Note: File to be uploaded need to be provided in binary format and content type should be multipart/form-data.