Documents can be added to specific case files in MerusCase by specifying the case file’s ID in the request. Supported file types include PDF, DOCX, RTF and others. All documents will receive the “Document” activity tag in each case’s Activity tab, as well as any additional tags you choose to include. If you enter an activity description, it will likewise be included.
Request
POST https://api.meruscase.com/uploads/add
Parameters
Name | Type | Description |
---|---|---|
data[Upload][case_file_id] |
integer | RequiredThe target case file’s id |
data[Upload][submitted_files][] |
file | RequiredThe file to be uploaded |
data[Activity][activity_type_id][] |
string | Comma delimited list of activity type ids |
data[Activity][activity] |
string | An optional, additional activity description to accompany the upload |
Examples:cUrl
Supported Document Types
The following MIME types are supported:
• application/pdf
• application/xml
• application/msword
• application/wordperfect
• application/rtf
• text/plain