Documents API allows you to upload documents as attachments to invoices or other documents in Profit365. Further administration of documents is provided in Profit365 module Office -> Documents.
Content:Resource information
| Url |
https://api.profit365.eu/1.6/storage/documents
|
| Authentication | required |
| Access level | company |
| Response | JSON / XML |
| Class | Business entity |
Upload document
HTTP request to upload document to Profit365 API is type of 'multipart/form-data' and must consist from exactly two parts. First part contains the file itself. Second part contains information about the document, like an author, type, version, comment etc.
| Url |
https://api.profit365.eu/1.6/storage/documents |
| Method | POST |
| Content-Type | multipart/form-data |
| Content | A new document meta data |
| Example | POST https://api.profit365.eu/1.6/storage/documents
|
- Pubished at 7/10/2017 7:03:36 AM
- Last edited 10/19/2018 11:37:32 AM