API: Add file to client profile
addClientFile
Add file (with data) to client profile. File can be admin only, or accessible by client. Returned is newly created file id
Required parameters
Parameter | Description |
client_id | Client ID to upload this file for |
data | Base64 encoded file data |
name | How this file should appear in interface |
filename | Original filename with extension, ie: quote.pdf |
Optional parameters
Parameter | Description |
admin_only | Set this param to 1 if this file should be visible for administrators only |
services | Array with ID of the services for which the file to be assigned |
Request
PHP Samples
Response