document.get Try me!
FILTER
Tags Description FOLDER_ID
Folder ID
RESPONSE
Tags Description FOLDERS
List of folders
DOCUMENTS
List of documents
document.create Try me! Sending a document to document inbox.
ATTENTION! - This action requires a POST-request of the type "multipart/form-data", if no data attachment is to be delivered. In this case the request body must contain the following parts:
document -> file, that is to be transfered
httpbody< -> XML- or JSON data block
Structure of POST-request in multipart format:
curl -v -X POST \
-u {e-mail address}:{API-Key} \
-H 'Content-Type: multipart/form-data, boundary=AaB03x' \
-d '{xml body}' \ https://my.fastbill.com/api/1.0/api.php
POST /api/1.0/api.php HTTP/1.0
Host: my.fastbill.com
Content-type: multipart/form-data, boundary=AaB03x
Content-Length: {size of content}
--AaB03x content-disposition: form-data; name="httpbody"
{XML- oder JSON-Daten}
--AaB03x
content-disposition: form-data; name="document"; filename{filename}"
Content-Type: {MIME Typ}
Content-Transfer-Encoding: binary
{file content}
--AaB03x--
DATA
Tags Description TYPE
Document type TITLE
Title DATE
Date NOTE
Note
RESPONSE
Tags Description STATUS
Result of the action DOCUMENT_ID
Document ID