files

Name Resource Description
Get root folder I d GET api/2.0/crm/files/root Returns the ID for the root folder used to store the files for the CRM module
Get files GET api/2.0/crm/{entityType}/{entityid}/files Returns the list of all files for the entity with the ID or type specified in the request
Attach files POST api/2.0/crm/{entityType}/{entityid}/files Associates the selected file(s) with the entity with the ID or type specified in the request
Create text file POST api/2.0/crm/{entityType}/{entityid}/files/text Creates a text (.txt) file in the selected folder with the title and contents sent in the request
Upload file in CR m POST api/2.0/crm/{entityType}/{entityid}/files/upload Upload file
Delete CRM file DELETE api/2.0/crm/files/{fileid} Deletes the file with the ID specified in the request