Post attachments: POST/api/v1.1/DataForms/{Id}/Attachments
Upload one or more attachments to a dataform object
VERB | Header | Resource/Id/ Selector | Description | Parameters | Return data |
POST | Ticket | /DataForms/{Id}/ Attachments | Uploads one or more files to attachmentfields on the data form. Files are automatically uploaded to the DataForm object if the client sends a HTTP POST with the Content-Type header of the request set to multipart/form-data according to RFC1867 (http://www.faqs.org/rfcs/rfc1867.html). Name must be the same as the attachmentfields id in order for the file to be uploaded. Example: Content-Disposition: form-data; name="Field1"; filename="file.txt" Empty files cannot be uploaded. | id (guid) | Object: success(bool), updatedFields(array), ignoredFields(array) Note: Ignored fields contains fields which did not match any existing attachmentfield on the dataform. |