by cyborgsolution

Upload Multiple Files using a single Multiupload file field. Send Multiupload files as attachments with Email using Workflows.

Free 30 day trial
Try it Now

#5486 - V8 API

Open General Question created by t Verified Purchase 2 weeks ago

How do I upload field values of this type over the V8 API? is it similar to how a documents or notes are uploaded (base64 encoded)? example api call for uploading note:

HTTP POST {{suitecrm.url}}/Api/V8/module

{
  “data”: {
    “type” : “Notes”,
      “attributes”: {
        “name”: “Test Note”,
        “file_mime_type” : “text/plain”,
        “filename” : “TextFile.txt”,
        “filecontents” : “SWYgeW91IGFyZSBhYmxlIHRvIHNlZSB0aGlzLCBpdCBtZWFucyB0aGF0IHRoZSBmaWxlIHVwbG9hZGluZyBpcyB3b3JraW5nIGZpbmUu”
      }
    }
  }
}
  1. cyborgsolution member avatar

    cyborgsolution Provider

    2 weeks ago

    There is no API method for uploading files.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "Excellent support - Great Developer! I highly recommend this developer, plug in works great and he is very supportive with any issues or questions.!" - netops

    Read More Reviews