We require that all requests are done over SSL.
Every string passed to and from the API needs to be UTF-8 encoded.
All dates in the API are strings in the following format:
2015-06-25
.
In code format, which can be used in all programming languages that support strftime or strptime:
%Y-%m-%d
.
All timestamps in the API are strings in the following format:
2015-06-25 09:25:58
.
In code format, which can be used in all programming languages that support strftime or strptime:
%Y-%m-%d %H:%M:%S
.
Note, that we are working in CEST
Errors are returned using standard HTTP error code syntax. Any additional info is included in the body of the return call, JSON-formatted. Error codes not listed here are in the API methods listed below.
Code | Description |
---|---|
400 | Bad input parameter. Error message should indicate which one and why. |
401 | Bad token. This can happen if the system revoked an access token. To fix, you should re-authenticate. |
403 | Expired token. This can happen if the system expired an access token. To fix, you should re-authenticate. |
404 | Instance not found. This may indicate that you are trying to access unexisting or unallowed instance. |
405 | Request method not expected (generally should be GET). |