Introduction
This pages describes the HTTP API of the OX Middleware.
Low level protocol
The client accesses the server through HTTP GET, POST and PUT requests. HTTP cookies are used for authentication and must therefore be processed and sent back by the client as
specified by RFC 6265. The HTTP API is accessible at URIs starting with /ajax
. Each server module has a unique name and its own sub-namespace with
that name below /ajax
, e. g. all access to the module "tasks" is via URIs starting with /ajax/tasks
.
Text encoding is always UTF-8. Data is sent from the server to the client as text/javascript and interpreted by the client to obtain an ECMAScript object. The HTTP API uses only a small subset of the ECMAScript syntax. This subset is roughly described by the following BNF:
Value ::= "null" | Boolean | Number | String | Array | Object
Boolean ::= "true" | "false"
Number ::= see NumericLiteral in ECMA 262 3rd edition
String ::= \"([^"\n\\]|\\["\n\\])*\"
Array ::= "[]" | "[" Value ("," Value)* "]"
Object ::= "{}" | "{" Name ":" Value ("," Name ":" Value)* "}"
Name ::= [A-Fa-f][0-9A-Fa-f_]*
Numbers are the standard signed integer and floating point numbers. Strings can contain any character, except double quotes, newlines and backslashes, which must be escaped by a backslash. Control characters in strings (other than newline) are not supported. Whitespace is allowed between any two tokens. See JSON and ECMA 262, 3rd edition for the formal definition.
The response body consists of an object, which contains up to four fields as described in Response body. The field data contains the actual payload which is described in following chapters.
The fields timestamp
, error
and error_params
are present when data objects are returned, if an error occurred and if the error message contains conversion specifiers, respectively.
Following sections describe the contents of these fields in more detail.
Name | Type | Value |
---|---|---|
data | Value | Payload of the response. |
timestamp | Timestamp | The latest timestamp of the returned data (see Updates). |
error | String | The translated error message. Present in case of errors. |
error_params | Array | As of 7.4.2: Empty JSON array. Before that: Parameters for the error message that would need to be replaced in the error string (in a printf-format style). |
error_id | String | Unique error identifier to help finding this error instance in the server logs. |
error_desc | String | The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available |
code | String | Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
error_stack | Array | If configured (see "com.openexchange.ajax.response.includeStackTraceOnError" in 'server.properties') this field provides the stack trace of associated Java exception represented as a JSON array |
categories | String OR Array | Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
category | Number | Maintained for legacy reasons: The numeric representation of the first category. |
The following table shows the different category identifiers:
Name | Description |
---|---|
USER_INPUT | An error resulting from wrong or missing input from front-end (e.g. mandatory field missing). |
CONFIGURATION | An error related to user/system configuration which denies requested operation. |
PERMISSION_DENIED | An error related to insufficient permission settings. |
TRY_AGAIN | A requested operation could not be accomplished because a needed resource is temporary down or missing (e.g. imap server rejects connection because of too many established connections). |
SERVICE_DOWN | A subsystem or third party service is down and therefore does not respond (e.g. database is down). |
CONNECTIVITY | The underlying socket connection is corrupt, empty or closed. Only a temporary error that does not affect the whole system. |
ERROR | A programming error which was caused by incorrect program code. |
CONFLICT | A concurrent modification. |
CAPACITY | The requested operation could not be performed cause an underlying resource is full or busy (e.g. IMAP folder exceeds quota). |
TRUNCATED | The given data could not be stored into the database because an attribute contains a too long value. |
WARNING | Action was at least partially successful, but a condition occurred that merited a warning |
Data from the client to the server can be sent in several formats. Small amounts of data are sent as application/x-www-urlencoded
in query parameters in the request URI.
For POST requests, some or all parameters may be sent in the request body instead of in the URI using any valid encoding for POST requests.
Alternatively, some requests specify that data is sent as text/javascript
in the body of a PUT request. The format of the request body for PUT requests is the same as for sending
data from the server to the client, except that the payload is sent directly, without being wrapped in another object.
When updating existing data, the client sends only fields that were modified. To explicitly delete a field, the field is sent with the value null.
For fields of type String
, the empty string "" is equivalent to null
.
Error handling
If the session of the user times out, if the client doesn't send a session ID or if the session for the specified session ID can not be found then the server returns the above described response object, that contains an error code and an error message. If the request URI or the request body is malformed or incomplete then the server returns the reponse object with an error message, too. In case of internal server errors, especially Java exceptions, or if the server is down, it returns the HTTP status code 503, Service Unavailable. Other severe errors may return other HTTP status values.
Application errors, which can be caused by a user and are therefore expected during the operation of the groupware, are reported by setting the field error in the returned object, as described in
the Response body. Since the error messages are translated by the client, they can not be composed of multiple variable parts. Instead, the error message can contain simplified printf()-style
conversion specifications, which are replaced by elements from the array in the field error_params
. If error_params
is not present, no replacement occurs, even if parts of the error message
match the syntax of a conversion specification.
A simplified conversion specification, as used for error messages, is either of the form %s or %n$s, where n is a 1-based decimal parameter index.
The conversion specifications are replaced from left to right by elements from error_params
, starting at the first element. %s is replaced by the current element
and the current index is incremented. %n$s is replaced by the n'th element and the current index is set to the (n + 1)'th element.
Some error message contain data sizes which must be expressed in Bytes or Kilobytes etc., depending on the actual value. Since the unit must be translated, this conversion is performed by the client. Unfortunately, standard printf()-style formatting does not have a specifier for this kind of translation. Therefore, the conversion specification for sizes is the same as for normal strings, and the client has to determine which parameters to translate based on the error code. The current error codes and the corresponding size parameters are listed below:
Error code | Parameter indices |
---|---|
CON-0101 | 2, 3 |
FLS-0003 | 1, 2, 3 |
MSG-0065 | 1, 3 |
MSG-0066 | 1 |
NON-0005 | 1, 2 |
Date and time
Dates without time are transmitted as the number of milliseconds between 00:00 UTC on that date and 1970-01-01 00:00 UTC. Leap seconds are ignored, therefore this number is always an integer multiple of 8.64e7.
Because ECMAScript Date objects have no way to explicitly specify a timezone for calculations, timezone correction must be performed on the server.
Dates with time are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC (again, ignoring leap seconds) plus the offset between the user's timezone and UTC at the time in question.
(See the Java method java.util.TimeZone.getOffset(long)). Unless optional URL parameter timezone
is present.
Then dates with time are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC (again, ignoring leap seconds) plus the offset between the specified timezone and
UTC at the time in question.
To prevent the timezone offset getting applied implicitly on the server for dates with time, e.g. because the client handles timezones on his own, requests should be decorated with the URL parameter timezone
set to UTC
statically.
For some date and time values, especially timestamps, monotonicity is more important than the actual value. Such values are transmitted as the number of milliseconds since 1970-01-01 00:00 UTC, ignoring leap seconds and without timezone correction. If possible, a unique strictly monotonic increasing value should be used instead, as it avoids some race conditions described below.
This specification refers to these three interpretations of the type Number as separate data types.
Type | Time | Timezone | Comment |
---|---|---|---|
Date | No | UTC | Date without time. |
Time | Yes | User | Date and time. |
Timestamp | Yes | UTC | Timestamp or unique sequence number. |
Updates
To allow efficient synchronization of a client with changes made by other clients and to detect conflicts, the server stores a timestamp of the last modification for each object.
Whenever the server transmits data objects to the client, the response object described in Response body includes the field timestamp
.
This field contains a timestamp value which is computed as the maximum of the timestamps of all transmitted objects.
When requesting updates to a previously retrieved set of objects, the client sends the last timestamp which belongs to that set of objects. The response contains all updates with timestamps greater than the one specified by the client. The field timestamp of the response contains the new maximum timestamp value.
If multiple different objects may have the same timestamp values, then a race condition exists when an update is processed between two such objects being modified. The first, already modified object will be included in the update response and its timestamp will be the maximum timestamp value sent in the timestamp field of the response. If the second object is modified later but gets the same timestamp, the client will never see the update to that object because the next update request from the client supplies the same timestamp value, but only modifications with greater timestamp values are returned.
If unique sequence numbers can't be used as timestamps, then the risk of the race condition can be at least minimized by storing timestamps in the most precise format and/or limiting update results to changes with timestamp values which are measurably smaller than the current timestamp value.
Editing
Editing objects is performed one object at a time. There may be multiple objects being edited by the same client simulataneously, but this is achieved by repeating the steps required for editing a single object. There is no batch edit or upload command.
To edit an object, a client first requests the entire object from the server. The server response contains the timestamp
field described in the previous section.
For in-place editing inside a view of multiple objects, where only already retrieved fields can be changed, retrieving the entire object is not necessary, and the last timestamp
of the view is used as the timestamp of each object in it.
When sending the modified object back to the server, only modified fields need to be included in the sent object. The request also includes the timestamp of the edited object. The timestamp is used by the server to ensure that the object was not edited by another client in the meantime. If the current timestamp of the object is greater than the timestamp supplied by the client, then a conflict is detected and the field error is set in the response. Otherwise, the object gets a new timestamp and the response to the client is empty.
If the client displays the edited object in a view together with other objects, then the client will need to perform an update of that view immediately after successfully uploading an edited object.
File uploads
File uploads are made by sending a POST request that submits both the file and the needed fields as parts of a request of content-type “multipart/form-data” or “multipart/mixed”.
The file metadata are stored in a form field “file” (much like an <input type=”file” name=”file” />
would do). In general a call that allows file uploads via POST will have a corresponding
call using PUT to send object data. The JSON-encoded object-data that is send as the body of a corresponding PUT call is, when performed as a POST with file uploads, put into
the request parameter “json”.
Since the upload is performed directly by the browser and is not an Ajax call, the normal callback mechanism for asynchronous Javascript calls cannot be used to obtain the result. For this reason the server responds to these POST calls with a complete HTML page that performs the callback and should not be displayed to the user. The HTML response is functionally equivalent to:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv="Content-Type" content=\"text/html; charset=UTF-8\">
<script type="text/javascript">
(parent["callback_action"] || window.opener && window.opener["callback_action"])
({json})
</script>
</head>
</html>
The placeholders {json}
is replaced by the response with the timestamp that would be expected from the corresponding PUT method. The placeholder action
is replaced by the value of the
parameter action
of the request (except for the import bundle, which is named "import" instead of the action name for legacy purposes). The content-type of the answer is text/html
.
Non-browser clients don't need to interpret HTML or JavaScript. The JSON data can be recognized by the outermost ({
and })
, where the inner braces are part of the JSON value.
For example, the regular expression \((\{.*\})\)
captures the entire JSON value in its first capturing group.
The client can also send the force_json_response
parameter to get errors in form of a normal json responses instead of html.
OX HTTP API
Documentation of the Open-Xchange HTTP API which is used by the new AJAX GUI.
Results
Test-
Advertisement
Via the advertisement module the client can retrieve the advertisement configuration-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
'The configuration as a JSON object or in case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
string
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the list of available applications. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordGetAppsResponse object {
- data(array[AppPasswordApplication], optional): Array of application type available.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppPasswordApplication object {
- name(string, optional): The name of the scope
- displayName(string, optional): The display name of the scope to be shown to user
- sort(integer, optional): Optional sort order
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
Application Data object {
- appScope(string, optional): The scope name of the application
- appName(string, optional): The user chosen name for the application password
Responses:
200:
A JSON object containing the username and password to use in login. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordRegistrationResponse object {
- data(inline_schema_data, optional): Registration response data
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_dataRegistration response data{
- password(string, optional): Password to use for the application login
- login(string, optional): The username to use for login
- newLogin(boolean, optional): Login may not be same as used by the user to login to appsuite.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
Application Data object {
- uuid(string, optional): Type uuid of the password to remove
Responses:
200:
A JSON object containing the result, which should be OK, otherwise error. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordRemovalResponse object {
- data(inline_schema_data, optional): Registration response data
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_dataRegistration response data{
- result(string, optional): Result of the operation
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the existing password list. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppPasswordListResponse object {
- data(array[AppPassword], optional): Array of application specific passwords.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppPassword object {
- UUID(string, optional): The id of the password
- Scope(string, optional): The application type that defines the scope
- Name(string, optional): The user defined name of the password
- LastDevice(string, optional): The last device that logged in using the password
- LastLogin(string, optional): The last date and time the password was used for login
- IP(string, optional): The IP address of the device used to login
-
-
-
Attachments
The module attachments allows file attachments to arbitrary objects. An attachment always belongs to an object (called 'attached') in a certain folder of a certain module.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string Body:
Description:A JSON array with the identifiers of the requested attachments.
Content-type: application/json-
array[integer]
Responses:
200:
A JSON object containing an array with data for the requested infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer timestamp (empty) Timestamp of the last update of the requested infoitems.
query long ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
An array with new and deleted attachments. New attachments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted attachments would be identified by their object IDs as integer, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentUpdatesResponse object {
- data(object, optional): Array of attachments.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:No description available
Content-type: multipart/form-data-
createAttachmentBody object {
- json_0(string, required): A JSON string representing an attachment object as described in AttachmentData model with at least the fields `folder`, `attached` and `module`.
- file_0(string, required): The attachment file as per ``.
Responses:
200:
A HTML page as described in File uploads containing a JSON array of object IDs of the newly created attachments or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer Body:
Description:A JSON array with the identifiers of the attachments that shall be deleted.
Content-type: application/json-
array[string]
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Common object data and Attachment data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
A JSON object containing an array with data for all attachments. Each array element describes one attachment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentsResponse object {
- data(object, optional): Array of attachments. Each attachment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer id (empty) Object ID of the requested attachment.
query string content_type (empty) If present the response declares the given `content_type` in the Content-Type header and not the attachments file MIME type.
query string scan (empty) Flag to request an Anti-Virus scan for the specified attachment before downloading it.
query boolean Responses:
200:
The raw byte data of the document. The response type for the HTTP request is set accordingly to the defined MIME type for this attachment or the content_type given.
Content-type: application/octet-stream-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested infoitem.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer Responses:
200:
A JSON object containing all data of the requested attachment. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AttachmentResponse object {
- data(AttachmentData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AttachmentData object {
- folder(integer, optional): The ID of the first folder in which the attached object resides.
- attached(integer, optional): The ID of the object this attachment is attached to.
-
module(integer, optional):
The module type of the object.
* 1 (appointment),
* 4 (task),
* 7 (contact),
* 137 (infostore) - filename(string, optional): The filename of the attached file.
- file_size(integer, optional): The file size (in bytes) of the attached file.
- file_mimetype(string, optional): The MIME type of the attached file.
- rft_flag(boolean, optional): If the attachment is a RTF attachment of outlook (outlook descriptions can be stored as RTF documents).
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer Body:
Description:A JSON array with the identifiers of the attachments, which shall be put into ZIP archive
Content-type: application/json-
array[integer]
Responses:
200:
The raw byte data of the ZIP archive.
Content-type: application/zip-
string
-
-
-
Autoconfig
The module autoconfig can be used to request the best available settings for an appropriate mail server.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
autoConfigBody object {
- email(string, required): The email address for which a mail configuration will be discovered.
- password(string, required): The corresponding password for the mail account.
- force_secure(boolean, optional): Enforces a secure connection for configured mail account, default is `true`.
- oauth(integer, optional): The optional identifier of the OAuth account to use for authentication.
Responses:
200:
A JSON object containing the best available settings for an appropriate mail server for the given email address. The data may be incomplete or empty. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AutoConfigResponse object {
- data(MailAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
-
-
-
Calendar
The calendar module is used to access calendar data.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.
query long Responses:
200:
A JSON object containing an array with the length of the number of days between `start` and `end`. Meaning, each element corresponds with one day in the range that was queried, explaining whether there is an appointment on this day (true) or not (false). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentInfoResponse object {
- data(array[boolean], optional): Array with elements that correspond with days in the time range, explaining whether a day has appointments or not.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Internal user id. Must be obtained from the contact module.
query integer start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.
query long type Constant for user or resource (1 for users, 3 for resources).
query integer Responses:
200:
An array of objects identifying the appointments which lie between start and end as described. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentFreeBusyResponse object {
- data(array[AppointmentFreeBusyItem], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentFreeBusyItem object {
- full_time(boolean, optional): True if the event is a whole day appointment or task, false otherwise.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- recurrence_type(integer, optional): Specifies the type of the recurrence for a task sequence.
- shown_as(integer, optional): Describes, how this appointment appears in availability queries.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested appointment.
query string folder (empty) Object ID of the folder who contains the appointments.
query string timestamp (empty) Timestamp of the updated appointment. If the appointment was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the appointment's data. The field `recurrence_id` is always present if it is present in the original appointment. The field `recurrence_position` is present if it is present in the original appointment and only this single appointment should be modified. The field `id` is not present because it is already included as a parameter. Other fields are present only if modified.
Content-type: application/json-
AppointmentData object {
- recurrence_id(integer, optional): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions(array[integer], optional): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions(array[integer], optional): An array of Dates, representing all delete exceptions of a sequence.
- location(string, optional): The location of the appointment.
-
shown_as(integer, optional):
Describes, how this appointment appears in availability queries.
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone(string, optional): The timezone of the appointment.
- recurrence_start(integer, optional): Start of a sequence without time.
- ignore_conflicts(boolean, optional): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
Responses:
200:
A JSON object containing the id of the updated appointment. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdateResponse object {
- data(AppointmentUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentUpdateData object {
- id(string, optional): ID of the appointment.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the appointment series.
query string folder (empty) Object ID of the folder who contains the appointments.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string Responses:
200:
A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse object {
- data(object, optional): Array of appointments. Each appointment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the appointment that shall be confirmed.
query string folder (empty) Object ID of the folder who contains the appointments.
query string timestamp (empty) Timestamp of the last update of the appointment.
query long occurrence (empty) The numeric identifier of the occurrence to which the confirmation applies (in case `id` denotes a series appointment).
query integer Body:
Description:A JSON object with the fields `confirmation`, `confirmmessage` and optionally `id`.
Content-type: application/json-
AppointmentConfirmationBody object {
-
confirmation(integer, required):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, required): The confirmation message or comment.
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
-
confirmation(integer, required):
* 0 (none),
Responses:
200:
Nothing, except the standard response object with empty data, the timestamp of the confirmed and thereby updated appointment, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
AppointmentSearchBody object {
- pattern(string, optional): Search pattern to find appointments. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- startletter(string, optional): Search appointments with the given starting letter.
Responses:
200:
A JSON object containing an array with matching appointments. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse object {
- data(object, optional): Array of appointments. Each appointment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested appointment.
query string ignore_conflicts (empty) Flag indicating whether conflicts should be ignored or not.
query boolean folder (empty) Object ID of the folder who contains the appointments.
query string timezone (empty) The timezone which should be used
query string Body:
Description:A JSON object containing the new destination folder id.
Content-type: application/json-
CalendarCopyBody object {
- folder_id(string, optional): ID of the destination folder.
Responses:
200:
'A JSON object containing the id of the newly created appointment if it was created successfully. If the appointment could not be created due to conflicts, the response body is an object with the field `conflicts`, which is an array of appointment objects which caused the conflict. Each appointment object which represents a resource conflict contains an additional field `hard_conflict` with the Boolean value `true`. If the user does not have read access to a conflicting appointment, only the fields `id`, `start_date`, `end_date`, `shown_as` and `participants` are present and the field `participants` contains only the participants which caused the conflict. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
AppointmentCreationResponse object {
- data(AppointmentCreationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentCreationData object {
- id(string, optional): ID of the appointment.
- conflicts(array[AppointmentCreationConflict], optional): An array of appointments which cause conflicts.
-
AppointmentCreationConflict object {
- hard_conflicts(boolean, optional): `true` if appointment represents a resource conflict.
- recurrence_id(integer, optional): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions(array[integer], optional): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions(array[integer], optional): An array of Dates, representing all delete exceptions of a sequence.
- location(string, optional): The location of the appointment.
-
shown_as(integer, optional):
Describes, how this appointment appears in availability queries.
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone(string, optional): The timezone of the appointment.
- recurrence_start(integer, optional): Start of a sequence without time.
- ignore_conflicts(boolean, optional): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the appointment's data.
Content-type: application/json-
AppointmentData object {
- recurrence_id(integer, optional): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions(array[integer], optional): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions(array[integer], optional): An array of Dates, representing all delete exceptions of a sequence.
- location(string, optional): The location of the appointment.
-
shown_as(integer, optional):
Describes, how this appointment appears in availability queries.
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone(string, optional): The timezone of the appointment.
- recurrence_start(integer, optional): Start of a sequence without time.
- ignore_conflicts(boolean, optional): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
Responses:
200:
'A JSON object containing the id of the newly created appointment if it was created successfully. If the appointment could not be created due to conflicts, the response body is an object with the field `conflicts`, which is an array of appointment objects which caused the conflict. Each appointment object which represents a resource conflict contains an additional field `hard_conflict` with the Boolean value `true`. If the user does not have read access to a conflicting appointment, only the fields `id`, `start_date`, `end_date`, `shown_as` and `participants` are present and the field `participants` contains only the participants which caused the conflict. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
AppointmentCreationResponse object {
- data(AppointmentCreationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentCreationData object {
- id(string, optional): ID of the appointment.
- conflicts(array[AppointmentCreationConflict], optional): An array of appointments which cause conflicts.
-
AppointmentCreationConflict object {
- hard_conflicts(boolean, optional): `true` if appointment represents a resource conflict.
- recurrence_id(integer, optional): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions(array[integer], optional): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions(array[integer], optional): An array of Dates, representing all delete exceptions of a sequence.
- location(string, optional): The location of the appointment.
-
shown_as(integer, optional):
Describes, how this appointment appears in availability queries.
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone(string, optional): The timezone of the appointment.
- recurrence_start(integer, optional): Start of a sequence without time.
- ignore_conflicts(boolean, optional): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned.
query long folder (empty) Object ID of the folder, whose contents are queried. If not specified, defaults to all calendar folders.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean Responses:
200:
A JSON object containing an array with appointment data. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Appointment sequencies are broken up into individual appointments and each occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse object {
- data(object, optional): Array of appointments. Each appointment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned.
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned.
query long limit (empty) Limits the number of returned objects to the given value.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified and holds a column number, then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
A JSON object containing an array with appointment data. Appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse object {
- data(object, optional): Array of appointments. Each appointment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested appointment.
query string folder (empty) Object ID of the folder who contains the appointments.
query string recurrence_position (empty) Recurrence position of requested appointment.
query integer Responses:
200:
An object containing all data of the requested appointment. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentResponse object {
- data(AppointmentData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentData object {
- recurrence_id(integer, optional): Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0.
- change_exceptions(array[integer], optional): An array of Dates, representing all change exceptions of a sequence.
- delete_exceptions(array[integer], optional): An array of Dates, representing all delete exceptions of a sequence.
- location(string, optional): The location of the appointment.
-
shown_as(integer, optional):
Describes, how this appointment appears in availability queries.
* 1 (reserved),
* 2 (temporary),
* 3 (absent),
* 4 (free) - timezone(string, optional): The timezone of the appointment.
- recurrence_start(integer, optional): Start of a sequence without time.
- ignore_conflicts(boolean, optional): Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string uid (empty) The UID that shall be resolved.
query string Responses:
200:
A JSON object containing the related object ID in the field `id`. If no object exists with the specified UID or in case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdateResponse object {
- data(AppointmentUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentUpdateData object {
- id(string, optional): ID of the appointment.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the deleted appointments.
query long Body:
Description:A JSON array of JSON objects with the id, folder and optionally the recurrence position (if present in an appointment to fully identify it) of the appointments.
Content-type: application/json-
AppointmentDeletionsElement object {
- id(string, required): The object ID of the appointment.
- folder(string, required): The object ID of the related folder.
- pos(integer, optional): Value of the field recurrence_position, if present in the appointment.
-
array[AppointmentDeletionsElement]
Responses:
200:
A JSON array of objects identifying the appointments which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentDeletionsResponse object {
- data(array[AppointmentDeletionsElement], optional): An array with object IDs of appointments which were modified after the specified timestamp and were therefore not deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
AppointmentDeletionsElement object {
- id(string, required): The object ID of the appointment.
- folder(string, required): The object ID of the related folder.
- pos(integer, optional): Value of the field recurrence_position, if present in the appointment.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string timestamp (empty) Timestamp of the last update of the requested appointments.
query long folder (empty) Object ID of the folder, whose contents are queried. That parameter may be absent in case ignore is set to "deleted", which means all accessible calendar folders are considered. If ignore is not set to "deleted", that parameter is mandatory.
query string start (empty) Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).
query long end (empty) Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned. This parameter is optional in case a certain folder is queried, but mandatory if all accessible calendar folders are supposed to be considered (folder not specified).
query long ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean Responses:
200:
An array with new, modified and deleted appointments. New and modified appointments are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted appointments (should the ignore parameter be ever implemented) would be identified by their object IDs as integers, without being part of a nested array. Appointment sequencies are broken up into individual appointments and each modified occurrence of a sequence in the requested range is returned separately. The appointments are sorted in ascending order by the field start_date. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentUpdatesResponse object {
- data(object, optional): Array of appointments.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed appointment data.
query string recurrence_master (empty) Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated.
query boolean Body:
Description:A JSON array of JSON objects with the id, folder and optionally either recurrence_position or recurrence_date_position of the requested appointments.
Content-type: application/json-
AppointmentListElement object {
- id(string, required): The object ID of the appointment.
- folder(string, required): The object ID of the related folder.
- recurrence_position(integer, optional): 1-based position of an individual appointment in a sequence.
- recurrence_date_position(integer, optional): Date of an individual appointment in a sequence.
-
array[AppointmentListElement]
Responses:
200:
A JSON object containing an array with data for the requested appointments. Each array element describes one appointment and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AppointmentsResponse object {
- data(object, optional): Array of appointments. Each appointment is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Capabilities
Provides access to capabilities, i.e. modules or features that are available on the backend and the user has access to.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array with data for all capabilities. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CapabilitiesResponse object {
- data(array[CapabilityData], optional): An array of JSON objects each describing one capability.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CapabilityData object {
- id(string, optional): The identifier of the capability.
- attributes(object, optional): A JSON object holding properties of the capability.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the capability
query string Responses:
200:
A JSON object containing the data of the capability or an empty result, if capability not available. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CapabilityResponse object {
- data(CapabilityData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CapabilityData object {
- id(string, optional): The identifier of the capability.
- attributes(object, optional): A JSON object holding properties of the capability.
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which to trust/untrust the SSL certificate
query string trust (empty) Whether the combination of the SSL certificate and the hostname is to be trusted
query boolean Body:
Description:A JSON object describing the SSL certificate.
Content-type: application/json-
CertificateStoreData object {
- fingerprint(string, optional): The fingerprint of the SSL certificate
- hostname(string, optional): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted(boolean, optional): Whether the SSL certificate is trusted by the user
Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which the SSL certificate is trusted/not trusted. If absent, then all entries for the specified fingerprint will be deleted
query string Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which to trust/untrust the SSL certificate
query string trust (empty) Whether the combination of the SSL certificate and the hostname is to be trusted
query boolean Responses:
200:
An empty JSON object. In case of errors the responsible fields in the response are filled (see Error handling).
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array with data for all certificates. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificatesAllResponse object {
- data(array[CertificateStoreData], optional): An array of certificate objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CertificateStoreData object {
- fingerprint(string, optional): The fingerprint of the SSL certificate
- hostname(string, optional): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted(boolean, optional): Whether the SSL certificate is trusted by the user
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fingerprint (empty) The fingerprint of the SSL certificate
query string hostname (empty) The hostname for which the SSL certificate is trusted/not trusted. If absent, then all entries for the specified fingerprint will be returned
query string Responses:
200:
A JSON object containing an array with data for all certificates. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificatesAllResponse object {
- data(array[CertificateStoreData], optional): An array of certificate objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CertificateStoreData object {
- fingerprint(string, optional): The fingerprint of the SSL certificate
- hostname(string, optional): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- trusted(boolean, optional): Whether the SSL certificate is trusted by the user
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fingerprint (empty) The fingerprint of the SSL certificate
query string Responses:
200:
A JSON object containing the data of the certificate. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CertificateExamineResponse object {
- data(CertificateExamineData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CertificateExamineData object {
- fingerprint(string, optional): The fingerprint of the SSL certificate
- issuedOn(integer, optional): The timestamp of the date when the SSL certificate was issued
- expiresOn(integer, optional): The timestamp of the date when the SSL certificate expires
- hostname(string, optional): The hostname which the endpoint call was done, or the hostname for which the exception is valid
- commonName(string, optional): The hostname for which the SSL certificate is valid (Comon Name)
- issuedBy(string, optional): Information on the authority that issued the SSL certificate
- signature(string, optional): The signature of the SSL certificate
- serialNumber(string, optional): The serial number of the SSL certificate
- failureReason(string, optional): The reason why the SSL certificate is not trusted
- expired(boolean, optional): Whether the SSL certificate is expired
- trusted(boolean, optional): Whether the SSL certificate is trusted by the user
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string alarmId (empty) The id of the alarm which shall be acknowledged.
query integer Responses:
200:
A JSON object containing containing the result of the acknowledge operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
An object containing all data of the requested availability. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetAvailabilityResponse object {
- data(array[Available], optional): Array of Available blocks
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
Available object {
- id(integer, optional): The identifier of the available block.
- user(integer, optional): The user identifier of the available block.
- uid(string, optional): The unique identifier of the available block.
- created(integer, optional): The creation date.
- modified(integer, optional): The last modification time.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- start(DateTimeData, optional): No description available
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string query (empty) The query
query string language (empty) The language/locale to translate the results to. If none is provided then the locale of the user's session will be used. If that one is not available then falls back to 'en'.
query string maxRows (empty) Specifies the maximum amount of results to return. If not specified, then it will fall back to '20'
query integer Responses:
200:
A JSON object containing the result of the browse operation. The structure of the returned JSON object can be found here (https://github.com/schedjoules/calendar-store-api/blob/master/details/pages.md)
Content-type: application/json-
SearchResponse object {
- data(SearchData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
SearchData object {
- item_id(string, optional): For search will always be 'nil'
- name(string, optional): The query that was used to search
- page_sections(array[PageSectionsData], optional): No description available
-
PageSectionsData object {
- items(array[object], optional): No description available
- name(string, optional): The section's name
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long checkConflicts (empty) Whether to check for conflicts or not.
query boolean rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean Body:
Description:A JSON object with the field `attendee` and `alarms`.
Content-type: application/json-
AttendeeAndAlarm object {
- attendee(Attendee, optional): No description available
- alarms(array[Alarm], optional): A list of alarms for this event.
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string managedId (empty) The identifier of the attachment.
query integer Responses:
200:
The attachment's raw data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string recurrenceRange (empty) The targeted range specified with the recurrence id.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string timestamp (empty) Timestamp of the last update of the event.
query long Body:
Description:A JSON object containing the event's data.
Content-type: application/json-
updateEventBody object {
- comment(string, optional): Optional comment for the user to provide information about the update of the event. This will not be peristed and is just used to inform the attendees via notifications and invitation mails
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string timestamp (empty) Timestamp of the last update of the event.
query long Body:
Description:No description available
Content-type: multipart/form-data-
UpdateRequestBody object {
- json_0(string, required): A JSON object containing an optional comment for the user to provide information about the update of the event under the key 'comment' and the event's data as described in EventData under the key 'data'.
- file_0(string, required): The attachment file as per ``.
Responses:
200:
A HTML page containing the result of the update or in case of errors an error object (see File uploads as an example).
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string recurrenceId (empty) The recurrence identifier.
query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean Responses:
200:
An object containing all data of the requested event. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventResponse object {
- data(EventData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string Body:
Description:A JSON array with the identifiers of the attachments, which shall be put into ZIP archive
Content-type: application/json-
array[string]
Responses:
200:
The raw data of the ZIP archive. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/zip-
string
-
-
GET /chronos/schedjoules?action=languages Retrieves a list of all supported languages by SchedJoules
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
An object containing all supported languages. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LanguagesResponse object {
- data(array[LanguageData], optional): Array of languages
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
LanguageData object {
- language_id(integer, optional): The language's unique identifier
- name(string, optional): The language's name
- iso_639_1(string, optional): The language's ISO 639-1 code
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the events.
query long rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean fields (empty) A comma-separated list of field identifiers.
query string pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string Body:
Description:A JSON array of JSON objects with the id and optionally the recurrence position of the event.
Content-type: application/json-
deleteEventBody object {
- events(array[EventId], optional): No description available
- comment(string, optional): Optional comment for the user to provide information about the deletion of the event. This will not be peristed and is just used to inform the attendees via notifications and invitation mails.
-
EventId object {
- folder(string, required): The identifier of the folder.
- id(string, required): The identifier of the event.
- recurrenceId(string, optional): The recurrence id of this recurrence.
- recurrenceRange(string, optional): The targeted range specified with the recurrence id.
Responses:
200:
An json object containing the deleted event if the deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosMultipleCalendarResultResponse object {
- data(array[ChronosErrorAwareCalendarResult], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ChronosErrorAwareCalendarResult object {
- folderId(string, optional): The folder id.
- id(string, optional): The event id.
- recurrenceId(string, optional): The recurrence id.
- error(inline_schema_error, optional): In case an error occurs this field contains error relevant data.
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
inline_schema_errorIn case an error occurs this field contains error relevant data.{
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): An array of error params.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string folder (empty) ID of the folder who contains the events.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string alarmId (empty) The id of the alarm which shall be snoozed.
query integer snoozeTime (empty) The duration in milliseconds the alarm should be snoozed by. E.g. 300000 for 5 minutes.
query long Responses:
200:
A JSON object containing containing the result of the snooze operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the event.
query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean sequence (empty) The expected sequence number to match. If set, a resolved event is only returned if the stored sequence number is equal to this value.
query integer Responses:
200:
An object containing all data of the requested event, or an empty result if no event was found. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventResponse object {
- data(EventData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the availability's data.
Content-type: application/json-
AvailabilityData object {
- availableTimes(array[Available], optional): The available blocks of the user.
-
Available object {
- id(integer, optional): The identifier of the available block.
- user(integer, optional): The user identifier of the available block.
- uid(string, optional): The unique identifier of the available block.
- created(integer, optional): The creation date.
- modified(integer, optional): The last modification time.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- start(DateTimeData, optional): No description available
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
Responses:
200:
'If the availability of the user was successfully set, then an empty JSON object is returned to indicate that. In case of errors the responsible fields in the response are filled (see Error handling).'
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string timezone (empty) The timezone to show the event in.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An analyze response describing what the ical intends to do and handling suggestions.
Content-type: application/json-
AnalyzeResponse object {
- data(array[object], optional): An analysis array.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string message (empty) The comment the attendee wants to transmit
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string message (empty) The comment the attendee wants to transmit
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only alarms that should trigger on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only alarms that should trigger on or after this date are returned.
query string actions (empty) A comma separated list of alarm actions. Only this actions will be returned.
query string Responses:
200:
An array of alarm trigger objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AlarmTriggerResponse object {
- data(array[object], optional): An array of alarm trigger objects
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string recurrenceRange (empty) The targeted range specified with the recurrence id.
query string expand (empty) Defines if event series should be extended or not.
query boolean fields (empty) A comma-separated list of field identifiers.
query string pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string timestamp (empty) Timestamp of the last update of the event.
query long rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string Body:
Description:A JSON object containing the new organizer and an optional comment.
Content-type: application/json-
changeOrganizerBody object {
- organizer(CalendarUser, optional): No description available
- comment(string, optional): Optional comment for the acting organizer to provide information about the reason of transmitting the event to an new organizer. This will not be peristed and is just used to inform the attendees via notification mails
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long targetFolder (empty) ID of the target folder.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string timestamp (empty) Timestamp of the last update of the requested events.
query long rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASC
for ascending, orDESC
for descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean Responses:
200:
A JSON object containing two arrays. One with new and updated events and another one with deleted events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosUpdatesResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- newAndModified(array[EventData], optional): The new and updated events.
- deleted(array, optional): The deleted events.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array, optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string id (empty) ID of the event.
query string recurrenceId (empty) The recurrence identifier.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string fields (empty) A comma-separated list of field identifiers.
query string timestamp (empty) Timestamp of the last update of the event.
query long expand (empty) Defines if event series should be extended or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string Body:
Description:A JSON array containing the alarms.
Content-type: application/json-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarms array[Alarm]
Responses:
200:
A JSON object containing containing the result of the update. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the page.
query integer language (empty) The language/locale to translate the results to. If none is provided then the locale of the user's session will be used. If that one is not available then falls back to 'en'.
query string country (empty) The country/location for which to fetch the available catalog pages from the SchedJoules. If none is provided then the country of the user's session will be used. If that one is not available then falls back to 'us'. The 'country' parameter is only used for the root page. Otherwise it has no effect.
query string Responses:
200:
A JSON object containing the result of the browse operation. The structure of the returned JSON object can be found here (https://github.com/schedjoules/calendar-store-api/blob/master/details/pages.md)
Content-type: application/json-
BrowseResponse object {
- data(PageData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
PageData object {
- item_id(integer, optional): The page's unique identifier
- name(string, optional): The page's name (localisable)
- category_id(integer, optional): The page's category identifier (Not applicable to root page)
- category(string, optional): The page's category name (Not applicable to root page)
- country(string, optional): The country for which the page is valid for
- description(string, optional): The page's description (Not applicable to root page)
- icon(string, optional): The URL of the page's icon (Not applicable to root page)
- page_sections(array[PageSectionsData], optional): No description available
-
PageSectionsData object {
- items(array[object], optional): No description available
- name(string, optional): The section's name
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean pushToken (empty) The client's push token to allow filtering of push events for modified calendar data
query string rangeStart (empty) If expand is set to 'true' this parameter defines a lower inclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) If expand is set to 'true' this parameter defines a upper exclusive limit as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string expand (empty) Defines if event series should be extended or not.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string Body:
Description:A JSON object containing the event's data.
Content-type: application/json-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
Responses:
200:
'A JSON object containing the newly created event, if it was created successfully. If the event could not be created due to conflicts, the response body is an object with the field `conflicts`, which holds informations about the conflict. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ChronosCalendarResultResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- created(array[EventData], optional): The created events.
- updated(array, optional): The updated events.
- deleted(array, optional): The deleted events.
- conflicts(array[ChronosConflictDataRaw], optional): An array of conflicts.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
ChronosConflictDataRaw objectA conflict.{
- hard_conflict(boolean, optional): Defines whether the conflict is a hard conflict or not.
- conflicting_attendees(array, optional): An array of conflicting attendees.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events.
query string checkConflicts (empty) Whether to check for conflicts or not.
query boolean scheduling Controls the generation of scheduling messages and notification mails for the current operation.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean usedGroups (empty) In case the client resolves groups into single attendees the client can provide the ids of the groups he used (resolved) as a comma separated list. This way the usecount of those groups will be increased.
query string Body:
Description:No description available
Content-type: multipart/form-data-
NewRequestBody object {
- json_0(string, required): A JSON object containing the event's data as described in EventData.
- file_0(string, required): The attachment file as per ``.
Responses:
200:
A HTML page containing the newly created event or in case of errors an error object (see File uploads as an example). If the event could not be created due to conflicts, the HTML Page contains an object with the field `conflicts`, which holds informations about the conflict.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the folder who contains the events. If not set, all events of the default account will be queried.
query string rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASC
for ascending, orDESC
for descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean updateCache (empty) If set to 'true' the cache will be forced to be updated (e. g. by contacting the underlying external account)
query boolean Responses:
200:
A JSON object containing an array with events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventsResponse object {
- data(array[EventData], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASC
for ascending, orDESC
for descending.query string sort (empty) Specifies the field for sorting the results.
query string expand (empty) Defines if event series should be extended or not.
query boolean updateCache (empty) If set to 'true' the cache will be forced to be updated (e. g. by contacting the underlying external account)
query boolean Body:
Description:A JSON object containing the folder ids.
Content-type: application/json-
ChronosFolderBody object {
- folders(array[string], optional): The folder ids to query.
Responses:
200:
A JSON object containing an array with events. The events are sorted in ascending order by the field `start_date`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultipleFolderEventsResponse object {
- data(array[MultipleEventData], optional): No description available
-
MultipleEventData object {
- error(inline_schema_error, optional): No description available
- folder(string, optional): No description available
- events(array[EventData], optional): No description available
- timestamp(integer, optional): The timestamp of the event.
-
inline_schema_error {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string from (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string until (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string maskId (empty) The identifier of an existing event or event series to ignore when calculating free/busy information. This is useful when a client wants to find a new timeslot for an existing event.
query string merge (empty) Set to
true
to merge the resulting free/busy-times.query boolean Body:
Description:A JSON object containing the attendees' data.
Content-type: application/json-
FreeBusyBody object {
- attendees(array[Attendee], optional): A list of attendees
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
Responses:
200:
An object containing an array of json objects for each attendee containing a list of free-busy times. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChronosFreeBusyResponse object {
- data(array[ChronosFreeBusyResponseData], optional): An array of free-busy response data.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ChronosFreeBusyResponseData object {
- attendee(Attendee, optional): No description available
- freeBusyTime(array[object], optional): The free-busy times of the attendee.
- warnings(array[object], optional): No description available
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string message (empty) The comment the attendee wants to transmit
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string fields (empty) A comma-separated list of field identifiers.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean Body:
Description:A JSON array of JSON objects with the id and optionally the recurrence position of the event.
Content-type: application/json-
EventId object {
- folder(string, required): The identifier of the folder.
- id(string, required): The identifier of the event.
- recurrenceId(string, optional): The recurrence id of this recurrence.
- recurrenceRange(string, optional): The targeted range specified with the recurrence id.
-
array[EventId]
Responses:
200:
A JSON object containing an array with events. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventsResponse object {
- data(array[EventData], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string message (empty) The comment the attendee wants to transmit
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:The properties to check.
Content-type: application/json-
CalendarAccountProbeData object {
- com.openexchange.calendar.extendedProperties(CalendarAccountProbeExtendedProperties, optional): No description available
- com.openexchange.calendar.config(CalendarAccountProbeConfig, optional): No description available
- com.openexchange.calendar.provider(string, optional): Denotes the identifier of the underlying calendar provider.
- title(string, optional): The title of the calendar
-
CalendarAccountProbeExtendedProperties objectContains the extended properties for calendar folders{
- description(inline_schema_description, optional): The description of the folder
- usedForSync(inline_schema_usedForSync, optional): Indicates whether the folder should be considered for synchronization with external clients or not.
- color(inline_schema_color, optional): Indicates the color the folder should be displayed with
- scheduleTransp(inline_schema_scheduleTransp, optional): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
-
inline_schema_descriptionThe description of the folder{
- value(string, optional): No description available
-
inline_schema_usedForSyncIndicates whether the folder should be considered for synchronization with external clients or not.{
- value(string, optional): No description available
-
inline_schema_colorIndicates the color the folder should be displayed with{
- value(string, optional): No description available
-
inline_schema_scheduleTranspIndicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not{
- value(string, optional): No description available
-
CalendarAccountProbeConfig objectHolds arbitrary, provider-specific configuration data for calendar accounts.{
- uri(string, optional): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval(integer, optional): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login(string, optional): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password(string, optional): (ical provider only) An optional password for the subscribed ICal feed.
Responses:
200:
A JSON object describing the possible calendar accounts. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CalendarAccountProbeResponse object {
- data(CalendarAccountProbeData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CalendarAccountProbeData object {
- com.openexchange.calendar.extendedProperties(CalendarAccountProbeExtendedProperties, optional): No description available
- com.openexchange.calendar.config(CalendarAccountProbeConfig, optional): No description available
- com.openexchange.calendar.provider(string, optional): Denotes the identifier of the underlying calendar provider.
- title(string, optional): The title of the calendar
-
CalendarAccountProbeExtendedProperties objectContains the extended properties for calendar folders{
- description(inline_schema_description, optional): The description of the folder
- usedForSync(inline_schema_usedForSync, optional): Indicates whether the folder should be considered for synchronization with external clients or not.
- color(inline_schema_color, optional): Indicates the color the folder should be displayed with
- scheduleTransp(inline_schema_scheduleTransp, optional): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
-
inline_schema_descriptionThe description of the folder{
- value(string, optional): No description available
-
inline_schema_usedForSyncIndicates whether the folder should be considered for synchronization with external clients or not.{
- value(string, optional): No description available
-
inline_schema_colorIndicates the color the folder should be displayed with{
- value(string, optional): No description available
-
inline_schema_scheduleTranspIndicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not{
- value(string, optional): No description available
-
CalendarAccountProbeConfig objectHolds arbitrary, provider-specific configuration data for calendar accounts.{
- uri(string, optional): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval(integer, optional): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login(string, optional): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password(string, optional): (ical provider only) An optional password for the subscribed ICal feed.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string language (empty) The language/locale to translate the results to. If none is provided then the locale of the user's session will be used. If that one is not available then falls back to 'en'.
query string Responses:
200:
An object containing all supported countries. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CountriesResponse object {
- data(array[CountryData], optional): Array of countries
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CountryData object {
- country_id(integer, optional): The country's unique identifier
- name(string, optional): The country's name
- iso_3166(string, optional): The country's ISO 3166 code
- icon(string, optional): An icon with the country's flag
- icon_etag(string, optional): The eTag for the country's icon
- name_translation(string, optional): The translated name of the country
- translation_url(string, optional): The translation translation URL
- page_id(integer, optional): The root page for the country
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string message (empty) The comment the attendee wants to transmit
query string dataSource (empty) The identifier of the data source. Currently only "com.openexchange.mail.ical" is valid.
query string descriptionFormat (empty) The desired output fromat. Currently only "html" is valid.
query string Body:
Description:The data source object.
Content-type: application/json-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
Responses:
200:
An array of Events that were newly created or changed.
Content-type: application/json-
ActionResponse object {
- data(array[EventData], optional): The created or updated event.
- timestamp(integer, optional): The timestamp of the event.
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string rangeStart (empty) Lower inclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which start on or after this date are returned.
query string rangeEnd (empty) Upper exclusive limit of the queried range as a utc date-time value as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z". Only events which end before this date are returned.
query string fields (empty) A comma-separated list of field identifiers.
query string order (empty) The sort order to apply, either
ASC
for ascending, orDESC
for descending.query string sort (empty) Specifies the field for sorting the results.
query string extendedEntities (empty) If set to 'true' attendees of internal users will be extended by a 'contact' field, which contains some of the contact fields of this user.
query boolean Responses:
200:
A JSON object containing an array with events. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
EventsResponse object {
- data(array[EventData], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
EventData object {
- startDate(DateTimeData, optional): No description available
- created(integer, optional): The creation time.
- timestamp(integer, optional): The timestamp of the event.
- categories(array[string], optional): An array of categories.
- filename(string, optional): The filename of the event.
- uid(string, optional): The universal identifier of the event.
- description(string, optional): The event's description.
- attendees(array[Attendee], optional): The attendees of the event.
- alarms(array[Alarm], optional): The alarms of the event for the current user.
- lastModified(integer, optional): The last modification time.
- modifiedBy(CalendarUser, optional): No description available
- summary(string, optional): The summary of the event.
- sequence(integer, optional): The sequence number of the event.
- id(string, optional): The identifier of the event.
- class(string, optional): The classification of the event.
- transp(string, optional): Defines whether the event is shown in the free-busy view.
- color(string, optional): The color of the even as a css3 color definition.
- folder(string, optional): The folder identifier.
- changeExceptionDates(array[string], optional): An array of changed recurrences.
- deleteExceptionDates(array[string], optional): An array of deleted recurrences.
- recurrenceId(string, optional): The recurrence id of this recurrence. The value is either a utc date-time value (e.g. "20170708T220000Z"), a floating date-time (e.g. "20170708T220000"), a date (e.g. "20170708"), or a local time with timezone reference (e.g. "Europe/Berlin:20170708T220000"). See RFC 5545 chapter 3.3.5. for more information.
- rrule(string, optional): The recurrence rule according to rfc 5545 chapter 3.8.5.3.
- attachments(array, optional): An array of attachments.
- extendedProperties(object, optional): No description available
- geo(inline_schema_geo, optional): The geolocation of the event.
- attendeePrivileges(string, optional): The privileges attendees have on an event.
- url(string, optional): The uniform resource locator (URL) of the event.
- seriesId(string, optional): The identifier of the event series.
- status(string, optional): The status of the event.
- location(string, optional): The location of the event.
- flags(array[string], optional): Flags indicating certain aspects of an event, as described in Event Flags.
- relatedTo(string, optional): The relationship between this and other events.
- conferences(array[Conference], optional): The conferences of the event.
-
DateTimeData object {
- value(string, optional): A date-time value without timezone information as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000"
- tzid(string, optional): A timezone identifier. E.g. "America/New_York"
-
Attendee object {
- cuType(string, optional): The attendee user type.
- folder(string, optional): The folder of the attendee.
- partStat(string, optional): The participation status.
-
role(string, optional):
The type of the attendee.
CHAIR
- The chair of the calendar entity.REQ-PARTICIPANT
- A participant whose participation is required.OPT-PARTICIPANT
- A participant whose participation is optional.NON-PARTICIPANT
- A participant who is copied for information purposes only.
- comment(string, optional): The comment of the attendee.
- rsvp(boolean, optional): The rsvp expectation of the attendee.
- member(array[string], optional): Each element represents the ID of a group or list in which the attendee is a member.
- contact(inline_schema_contact, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.
- resource(inline_schema_resource, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.
- group(inline_schema_group, optional): In case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_contactIn case the parameter 'extendedEntities' is set to 'true' and the entity is an internal user then this field contains some of the contact data of this user.{
- first_name(string, optional): The first name of the attendee.
- last_name(string, optional): The last name of the attendee.
- title(string, optional): The title of the attendee.
- display_name(string, optional): The display name of the attendee.
- image1_url(string, optional): The url to the image of the attendee.
-
inline_schema_resourceIn case the parameter 'extendedEntities' is set to 'true' and the entity is a resource then this field contains the data of this resource.{
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
inline_schema_groupIn case the parameter 'extendedEntities' is set to 'true' and the entity is a group then this field contains the data of this group.{
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
Alarm object {
- uid(string, optional): The uid of the alarm.
- id(integer, optional): The id of the alarm.
- action(string, optional): The action of the alarm.
- acknowledged(integer, optional): The time of the acknowledgement.
- trigger(inline_schema_trigger, optional): The trigger of the alarm.
- attachments(array[ChronosAttachment], optional): An array of attachments.
- attendees(array[Attendee], optional): An array of attendees.
- summary(string, optional): The summary of this alarm.
- description(string, optional): The description of this alarm.
- extendedProperties(object, optional): No description available
-
inline_schema_triggerThe trigger of the alarm.{
- duration(string, optional): The duration of the trigger relative to the related field. See rfc 5545 chapter 3.3.6. for more informations about durations.
- related(string, optional): Defines whether the trigger is related to the startDate or the endDate.
- dateTime(string, optional): Defines an absolute date for the alarm. The value is a date-time value in utc timezone as specified in rfc 5545 chapter 3.3.5. E.g. "20170708T220000Z"
-
ChronosAttachment object {
- filename(string, optional): The name of the attachment file.
- fmtType(string, optional): The format type of the attachment.
- size(integer, optional): The size of the attachment in bytes.
- created(integer, optional): The creation date.
- managedId(integer, optional): The manage id of the attachment.
- uri(string, optional): A uniform resource identifier to the attachment file.
-
CalendarUser object {
- uri(string, optional): The universal resource identifier of the user.
- cn(string, optional): The common name of the user.
- email(string, optional): The mail address of the user.
- entity(integer, optional): The internal user identifier.
-
inline_schema_geoThe geolocation of the event.{
- lat(number, optional): The latitude geographic coordinate.
- long(number, optional): The longitude geographic coordinate.
-
Conference object {
- id(integer, optional): The internal identifier of the conference.
- uri(string, optional): The URI to access the conference.
- label(string, optional): The label used to convey additional details on the use of the URI.
- features(array[string], optional): The features describing the key capabilities of the conference system.
- extendedParameters(inline_schema_extendedParameters, optional): Extended parameters of the conference.
-
inline_schema_extendedParametersExtended parameters of the conference.{
- key(string, optional): The name of the parameter
-
-
-
Clientonboarding
Via the client on-boarding module the client can retrieve possible on-boarding configurations-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
'The configuration as a JSON object or in case of errors the responsible fields in the response are filled (see Error handling). The JSON object consists of five fields: "platforms", "devices", "scenarios", "actions" and "matching". Each field provides an array of objects. The "platforms" field lists the available platforms for which a device can receive on-boarding information. The "devices" field lists the concrete devices, which are supported to receive on-boarding information. Each object mainly provides: - A unique identifier for the associated device (e.g. "apple.iphone") and a display name - Whether the device is enabled; "false" to trigger upsell activities - A listing of applicable scenarios for the device consisting of composite identifiers (delimited by "/" character), which point to an entry from the "matching" object The "scenarios" field provides all available on-boarding scenarios (like installing an app or receive a profile configuration for a built-in application; e.g. Apple Mail). Each scenario also provides: - A unique identifier and a display name - Whether the scenario is enabled along-side with "missing_capabilities" to trigger upsell activities - A description text for the user The "actions" field represents the available actions that can be performed in order to transfer a certain on-boarding information to a device. As of now there are five possible actions for a certain device/scenario combination: "download", "email", "display", "link" and "sms". - "download" refers to a simple download that is performed; e.g. a profile configuration file. - "email" lets the Middleware to send out an E-Mail containing the on-boarding information. - "sms" lets the Middleware to send out an SMS containing the on-boarding information. - "display" represents a plain display of on-boarding information for manual setup. Actions of this type provide a composite identifier (delimited by "/" character) that also contains the concrete scenario to which that action applies; e.g. "display/davsync". Moreover it has a "data" field that provides the user-sensitive information to display; e.g. the mail settings. - "link" hints to an available link that a user can follow; e.g, a link to a certain app held in an app store. Actions of this type provide a composite identifier (delimited by "/" character) that also contains the concrete scenario to which that action applies. In addition there is a field for each device providing the exact link and type; e.g. having a link to Apple Appstore for an iPhone device. The "matching" field is the combination of supported device, scenario and actions combinations. It provides an "id" field that contains a composite identifier (delimited by "/" character) to refer to the device and scenario combination; e.g. "apple.ipad/mailsync". Moreover, there is a listing of available action identifiers (pointing to entries from "actions") that are possible being executed in order to let such a device being on-boarded for the referenced scenario.'
Content-type: application/json-
ClientOnboardingResponse object {
- data(ClientOnboardingData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ClientOnboardingData object {
- platforms(array[object], optional): No description available
- devices(array[object], optional): No description available
- scenarios(array[object], optional): No description available
- actions(array[object], optional): No description available
- matching(array[object], optional): No description available
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string type The identifier of profile to download; one of - caldav - carddav - dav - mail
query string Responses:
200:
The profile
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The compiste identifier of device and scenario pair; e.g. "apple.iphone/davsync"
query string action_id (empty) The identifier of action to perform; one of - download - email - sms - display or - link
query string Body:
Description:An optional JSON object containing additional data for the action.
Content-type: application/json-
string
Responses:
200:
'The appropriate result object or binary data dependent on specified action. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string type The identifier of profile to download; one of - caldav - carddav - dav - mail
query string Responses:
200:
The download link for the profile
Content-type: application/json-
string
-
-
-
Config
The config module is used to retrieve and set user-specific configuration. The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string name (empty) The name of the property to return.
query string Body:
Description:A JSON object providing the value to set (Example: {"value":"test123"}).
Content-type: application/json-
ConfigPropertyBody object {
- value(string, optional): The concrete value to set.
Responses:
200:
A JSON response providing the property's name and its value. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigPropertyResponse object {
- data(ConfigProperty, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ConfigProperty object {
- name(string, optional): The name of the property.
- value(object, optional): The value of the property.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type path The path to the node.
path string session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
Value of the node specified by path. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigResponse object {
- data(object, optional): Generic type which can be object, string, array, etc.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type path The path to the node.
path string session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the value of the config node.
Content-type: application/json-
ConfigBody object {
- data(object, required): The new value of the node specified by path.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string name (empty) The name of the property to return.
query string Responses:
200:
A JSON response providing the property's name and its value. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConfigPropertyResponse object {
- data(ConfigProperty, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ConfigProperty object {
- name(string, optional): The name of the property.
- value(object, optional): The value of the property.
-
-
-
Contacts
The contacts module is used to access contact information.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the contact's data. Only modified fields must be specified. To remove some contact image send the image attribute set to null.
Content-type: application/json-
ContactData Composed Schema {
- (object, required): No description available
- (object, required): No description available
- DistributionListMember(object, required): No description available
Responses:
200:
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse object {
- data(ContactUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ContactUpdateData object {
- id(string, optional): ID of a newly created contact.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the contacts.
query string id (empty) Object ID of the contact that shall be updated.
query string timestamp (empty) Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail.
query long Body:
Description:No description available
Content-type: multipart/form-data-
updateContactAdvancedBody object {
- json(string, required): Represents the normal request body as JSON string containing the contact data as described in ContactData model. Only modified fields must be specified but at least "{}".
- file(string, required): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
ContactListElement object {
- id(string, required): The object ID of the contact.
- folder(string, required): The object ID of the related folder.
-
array[ContactListElement]
Responses:
200:
A JSON object containing an array with data for the requested contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested contact.
query string folder (empty) Object ID of the folder who contains the contacts.
query string Responses:
200:
An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactResponse object {
- data(ContactData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string query (empty) The query to search for.
query string email (empty) Whether to only include contacts with at least one e-mail address. Defaults to `true`.
query boolean folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. If this parameter is missing, response is sorted by a user-specific use count of contacts, ID of contacts' parent folder and display name.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer Responses:
200:
A JSON object containing the contact data. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string timestamp (empty) Timestamp of the last update of the requested contacts.
query long ignore Which kinds of updates should be ignored. Omit this parameter or set it to "deleted" to not have deleted tasks identifier in the response. Set this parameter to `false` and the response contains deleted tasks identifier.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
An array with new, modified and deleted contacts. New and modified contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted contacts (should the ignore parameter be ever implemented) would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdatesResponse object {
- data(object, optional): Array of contacts.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string Body:
Description:A JSON array with user IDs.
Content-type: application/json-
array[integer]
Responses:
200:
A JSON object containing an array with contact data. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
ContactSearchBody object {
- pattern(string, optional): Search pattern to find contacts. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves. Matching is performed against any substring of the field display_name.
- startletter(boolean, optional): Search contacts with the given startletter. If this field is present, the pattern is matched against the contact field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.
- folder(array[integer], optional): If a list of folder identifiers or at least a single folder identifier is given, only in that folders will be searched for contacts. This paramenter is optional but searching in all contact folders that are viewable and where objects can be read in is more expensive on that database than searching in a dedicated number of them.
- exclude_folders(array[integer], optional): If a list of folder identifiers or at least a single folder identifier is given, those folders will not be searched for contacts.
- last_name(string, optional): Searches contacts where the last name match with the given last name.
- first_name(string, optional): Searches contacts where the first name match with the given first name.
- display_name(string, optional): Searches contacts where the display name match with the given display name.
- email1(string, optional): Searches contacts where the email1 address match with the given search pattern.
- email2(string, optional): Searches contacts where the email2 address match with the given search pattern.
- email3(string, optional): Searches contacts where the email3 address match with the given search pattern.
- company(string, optional): Searches contacts where the company match with the given search pattern.
- categories(string, optional): Searches contacts where the categories match with the given search pattern.
- orSearch(boolean, optional): If set to `true`, a contact is returned if any specified pattern matches at the start of the corresponding field. Otherwise, a contact is returned if all specified patterns match any substring of the corresponding field.
- emailAutoComplete(boolean, optional): If set to `true`, results are guaranteed to contain at least one email adress and the search is performed as if orSearch were set to `true`. The actual value of orSearch is ignored.
- exactMatch(boolean, optional): If set to `true`, contacts are returned where the specified patterns match the corresponding fields exactly. Otherwise, a "startsWith" or "substring" comparison is used based on the "orSearch" parameter.
Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string user_id (empty) The user identifier.
query string contact_id (empty) The contact identifier.
query string folder_id (empty) The folder id the contact id belongs to.
query string email (empty) The mail address of the contact.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover
- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain
- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension
- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop
- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto
- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/json-
string
404:
No image could be found.
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the contact's data. The field id is not included.
Content-type: application/json-
ContactData Composed Schema {
- (object, required): No description available
- (object, required): No description available
- DistributionListMember(object, required): No description available
Responses:
200:
A JSON object containing the ID of the newly created contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactUpdateResponse object {
- data(ContactUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ContactUpdateData object {
- id(string, optional): ID of a newly created contact.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:No description available
Content-type: multipart/form-data-
createContactAdvancedBody object {
- json(string, required): Represents the normal request body as JSON string containing the contact data as described in the ContactData (see createContact model.
- file(string, required): The image file.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the contacts.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string admin (empty) (DEPRECATED) Defines whether the context admin should be included or not. Defaults to `true`.
query boolean collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string Responses:
200:
A JSON object containing an array with data for all contacts. Each array element describes one contact and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string admin (empty) (DEPRECATED) Specifies whether to include the contact representing the admin in the result or not. Defaults to `true`.
query boolean Body:
Description:A JSON object describing the search term as introducted in Advanced search. Example: `{"filter":["and",["=", {"field":"last_name"},"Mustermann"],["=",{"field":"first_name"},"Max"]]}` which represents 'last_name = "Mustermann" AND first_name = "Max"'. Valid fields are the ones specified in Contact data model.
Content-type: application/json-
string
Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the deleted contacts.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the contacts.
Content-type: application/json-
array[ContactListElement]
Responses:
200:
A JSON array with object IDs of contacts which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactDeletionsResponse object {
- data(object, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) User ID (not Object ID) of the requested user.
query integer Responses:
200:
An object containing all data of the requested contact. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactResponse object {
- data(ContactData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,500". Each column is specified by a numeric column identifier, see Common object data and Detailed contact data.
query string start (empty) The lower (inclusive) limit of the requested time range.
query long end (empty) The upper (exclusive) limit of the requested time range.
query long folder (empty) Object ID of the parent folder that is searched. If not set, all visible folders are used.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string collation Allows you to specify a collation to sort the contacts by. Only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work.
query string Responses:
200:
A JSON object containing an array with matching contacts. Contacts are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ContactsResponse object {
- data(object, optional): Array of contacts. Each contact is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Conversion
The conversion module is a generic module to request data from a data source and to process obtained/submitted data with a data handler. Thus data is converted from a data source by a data handler.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object the data source object and the data handler object.
Content-type: application/json-
ConversionBody object {
- datasource(ConversionDataSource, optional): No description available
- datahandler(ConversionDataHandler, optional): No description available
-
ConversionDataSource object {
- com.openexchange.mail.conversion.fullname(string, optional): The identifier of the folder.
- com.openexchange.mail.conversion.mailid(string, optional): The identifier of the mail.
- com.openexchange.mail.conversion.sequenceid(string, optional): The identifier of attachment to analyze.
-
ConversionDataHandler object {
- identifier(string, optional): The identifier of the data handler.
- args(array[ConversionDataHandlerPair], optional): A JSON array of optional JSON objects containing the name-value-pairs.
-
ConversionDataHandlerPair object {
- com.openexchange.groupware.calendar.folder(string, optional): The calendar folder ID.
- com.openexchange.groupware.task.folder(string, optional): The task folder ID.
- com.openexchange.groupware.calendar.confirmstatus(string, optional): The status.
- com.openexchange.groupware.calendar.confirmmessage(string, optional): The message.
- com.openexchange.groupware.calendar.timezone(string, optional): The timezone ID.
- com.openexchange.grouware.calendar.recurrencePosition(string, optional): The recurrence position.
- com.openexchange.groupware.calendar.searchobject(string, optional): Can be `true` or `false`.
- com.openexchange.groupware.contact.folder(string, optional): The contact folder ID.
Responses:
200:
The conversion result. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ConversionResponse object {
- data(object, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the available modules.
Content-type: application/json-
DataExportModules object {
- calendar(inline_schema_calendar, optional): The calendar module
- contacts(inline_schema_contacts, optional): The contacts module
- infostore(inline_schema_infostore, optional): The infostore module
- mail(inline_schema_mail, optional): The mail module
- tasks(inline_schema_tasks, optional): The tasks module
-
inline_schema_calendarThe calendar module{
- enabled(boolean, required): Whether the calendar module is enabled
- includePublic(boolean, optional): The default setting for public folders if public folder export is available.
- includeShared(boolean, optional): The default setting for shared folders if shared folder export is available.
- includeUnsubscribed(boolean, optional): The default setting for unsubscribed folders if unsubscribed folder export is available.
-
inline_schema_contactsThe contacts module{
- enabled(boolean, required): Whether the contacts module is enabled
- includePublic(boolean, optional): The default setting for public folders if public folder export is available.
- includeShared(boolean, optional): The default setting for shared folders if shared folder export is available.
-
inline_schema_infostoreThe infostore module{
- enabled(boolean, required): Whether the infostore module is enabled
- includePublic(boolean, optional): The default setting for public folders if public folder export is available.
- includeShared(boolean, optional): The default setting for shared folders if shared folder export is available.
- includeTrash(boolean, optional): The default setting for the trash folder if trash folder export is available.
- includeAllVersions(boolean, optional): The default setting for all versions export if all version export is available.
-
inline_schema_mailThe mail module{
- enabled(boolean, required): Whether the mail module is enabled
- includePublic(boolean, optional): The default setting for public folders if public folder export is available.
- includeShared(boolean, optional): The default setting for shared folders if shared folder export is available.
- includeTrash(boolean, optional): The default setting for the trash folder if trash folder export is available.
- includeUnsubscribed(boolean, optional): The default setting for unsubscribed folders if unsubscribed folder export is available.
-
inline_schema_tasksThe tasks module{
- enabled(boolean, required): Whether the tasks module is enabled
- includePublic(boolean, optional): The default setting for public folders if public folder export is available.
- includeShared(boolean, optional): The default setting for shared folders if shared folder export is available.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
deleteDataExportTaskResponse object {
- success(boolean, optional): True if such resources for data export task has been successfully deleted; false otherwise
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string number (empty) The number of the package
query integer Responses:
200:
A ZIP archive.
Content-type: application/zip-
string
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the requested data export task.
Content-type: application/json-
DataExportTaskResponse object {
- data(DataExportTask, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
DataExportTask object {
- id(string, optional): The task identifier
- status(string, optional): The task's status
- creationTime(integer, optional): The time when task was created/submitted.
- startTime(integer, optional): The time when processing of the task started. Not present in case task has not yet been started.
- duration(integer, optional): The duration of the processing for the task. Not present in case task is not yet terminated.
- availableUntil(integer, optional): The number of milliseconds how long task's result files will stay accessible until automatically deleted. Not present in case task is not yet terminated.
- results(array[DataExportResultFile], optional): The result files. Not present in case task is not yet terminated.
- workItems(array[DataExportWorkItem], optional): The result files. Not present in case task is not yet terminated.
-
DataExportResultFile object {
- fileInfo(string, optional): The work item identifier
- number(integer, optional): The package number
- contentType(string, optional): The Content-Type identifier
- taskId(string, optional): The task identifier
-
DataExportWorkItem object {
- id(string, optional): The work item identifier
- module(string, optional): The module identifier
- status(string, optional): The status of the work item
- info(inline_schema_info, optional): The optional status information
-
inline_schema_infoThe optional status information{
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): An array of error params.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string deleteOldDataExport (empty) A flag indicating whether previously completed data export is supposed to be deleted prior to submitting a new one.
query boolean Body:
Description:A JSON object containing the modules and associated parameters.
Content-type: application/json-
string
Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
submitDataExportTaskResponse object {
- success(boolean, optional): True if such a data export task has been successfully canceled; false otherwise
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
cancelDataExportTaskResponse object {
- success(boolean, optional): True if such a data export task has been successfully canceled; false otherwise
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
Export
The module export allows to export specific module data (like contacts, tasks or appointments) from a folder in several formats (iCal, vCard, CSV).-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder whose content shall be exported. This must be a calendar folder.
query string Responses:
200:
An input stream containing the content of the iCal file with the MIME type `text/calendar`.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
InfoItemExport object {
- id(string, required): The object ID of the contact, task or appointment (e.g. "368").
- folder_id(string, required): The object ID of the related folder (e.g. "2435").
-
array[InfoItemExport]
Responses:
200:
An input stream containing the content of the vCard file with the MIME type `text/calendar`.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder whose content shall be exported. This must be a contact folder.
query string columns (empty) A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data.
query string export_dlists (empty) Toggles whether distribution lists shall be exported too (default is `false`).
query string Responses:
200:
An input stream containing the content of the CSV file with the MIME type `text/csv`.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
array[InfoItemExport]
Responses:
200:
An input stream containing the content of the CSV file with the MIME type `text/csv`.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder whose content shall be exported. This must be a contact folder. Only required if there is no ids parameter submitted.
query string Responses:
200:
An input stream containing the content of the vCard file with the MIME type `text/x-vcard`.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of JSON objects with the id and folder_id.
Content-type: application/json-
array[InfoItemExport]
Responses:
200:
An input stream containing the content of the vCard file with the MIME type `text/x-vcard`.
Content-type: application/json-
string
-
-
-
File
The ajax file upload module offers to store files in server's dedicated download directory for a configurable amount of time. The files are then accessible for further operations like inline images in (html) mails.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the uploaded file whose timestamp should be updated.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the uploaded file.
query string Responses:
200:
The content of the requested file is directly written into output stream.
Content-type: application/octet-stream-
string
404:
Not found.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string module (empty) The module for which the file is uploaded to determine proper upload quota constraints (e.g. "mail", "infostore", etc.).
query string type The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for `text/*`), media (for image, audio or video), image (for `image/*`), audio (for `audio/*`), video (for `video/*`) and application (for `application/*`).
query string Body:
Description:No description available
Content-type: multipart/form-data-
uploadFileBody object {
- file(string, required): The file to upload.
Responses:
200:
A HTML page as described in File uploads containing a JSON array with the IDs of the uploaded files or errors if some occurred. The files are accessible through the returned IDs for future use.
Content-type: text/html-
string
-
-
-
Filestorage
The file storage module provides access to file storage backends, e.g. Drive, Dropbox, etc.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array with JSON objects each describing one file storage service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileServicesResponse object {
- data(array[FileServiceData], optional): An array of JSON objects each describing one service.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FileServiceData object {
- id(string, optional): The identifier of the file storage service, e.g. "boxcom".
- displayName(string, optional): A human-readable display name of the service, e.g. "Box File Storage Service"
- configuration(array[FileServiceConfiguration], optional): An array of dynamic form fields. Same as in PubSub.
-
FileServiceConfiguration object {
- widget(string, optional): The name of the widget.
- name(string, optional): The name of the field.
- displayName(string, optional): The display name of the field.
- mandatory(boolean, optional): Indicates whether the field is mandatory.
- options(object, optional): An object describing the available options in the field.
- defaultValue(object, optional): Can contain a default value.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string filestorageService (empty) The identifier of the file storage service the account belongs to.
query string id (empty) The ID of the requested account.
query string Responses:
200:
A JSON object containing the data of the file storage account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountResponse object {
- data(FileAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FileAccountData object {
- id(string, optional): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService(string, optional): The identifier of the file storage service this account belongs to.
- qualifiedId(string, optional): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName(string, optional): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder(string, optional): The ID of the account's root folder within the folder tree. This is not writeable and is generated by the server.
- isDefaultAccount(boolean, optional): Indicates whether this account is the user's default account. Exactly one account will have this flag set to `true`.
- hasError(boolean, optional): Indicates whether an error occurred during the connection check for this account. If set to true, the other error related information in this response object are set as well.
- error(string, optional): The translated error message. Present in case of errors during the connection check.
- error_params(array[string], optional): Exception parameters
- error_id(string, optional): Unique error identifier to help finding this connection check error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- capabilities(array[string], optional): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS.
- configuration(object, optional): The configuration data according to the form description of the relevant file storage service.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the file storage service to load.
query string Responses:
200:
A JSON object containing the data of the file storage service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileServiceResponse object {
- data(FileServiceData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FileServiceData object {
- id(string, optional): The identifier of the file storage service, e.g. "boxcom".
- displayName(string, optional): A human-readable display name of the service, e.g. "Box File Storage Service"
- configuration(array[FileServiceConfiguration], optional): An array of dynamic form fields. Same as in PubSub.
-
FileServiceConfiguration object {
- widget(string, optional): The name of the widget.
- name(string, optional): The name of the field.
- displayName(string, optional): The display name of the field.
- mandatory(boolean, optional): Indicates whether the field is mandatory.
- options(object, optional): An object describing the available options in the field.
- defaultValue(object, optional): Can contain a default value.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string filestorageService (empty) The identifier of the file storage service the account belongs to.
query string id (empty) The ID of the account to delete.
query string Responses:
200:
A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountUpdateResponse object {
- data(integer, optional): Returns 1 on success.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the updated data of the account. The fields `id` and `filestorageService` must be set.
Content-type: application/json-
FileAccountData object {
- id(string, optional): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService(string, optional): The identifier of the file storage service this account belongs to.
- qualifiedId(string, optional): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName(string, optional): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder(string, optional): The ID of the account's root folder within the folder tree. This is not writeable and is generated by the server.
- isDefaultAccount(boolean, optional): Indicates whether this account is the user's default account. Exactly one account will have this flag set to `true`.
- hasError(boolean, optional): Indicates whether an error occurred during the connection check for this account. If set to true, the other error related information in this response object are set as well.
- error(string, optional): The translated error message. Present in case of errors during the connection check.
- error_params(array[string], optional): Exception parameters
- error_id(string, optional): Unique error identifier to help finding this connection check error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- capabilities(array[string], optional): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS.
- configuration(object, optional): The configuration data according to the form description of the relevant file storage service.
Responses:
200:
A JSON object containing the number 1 on success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountCreationResponse object {
- data(string, optional): The ID of the newly created account.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the account to create, with at least the field `filestorageService` set.
Content-type: application/json-
FileAccountData object {
- id(string, optional): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService(string, optional): The identifier of the file storage service this account belongs to.
- qualifiedId(string, optional): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName(string, optional): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder(string, optional): The ID of the account's root folder within the folder tree. This is not writeable and is generated by the server.
- isDefaultAccount(boolean, optional): Indicates whether this account is the user's default account. Exactly one account will have this flag set to `true`.
- hasError(boolean, optional): Indicates whether an error occurred during the connection check for this account. If set to true, the other error related information in this response object are set as well.
- error(string, optional): The translated error message. Present in case of errors during the connection check.
- error_params(array[string], optional): Exception parameters
- error_id(string, optional): Unique error identifier to help finding this connection check error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- capabilities(array[string], optional): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS.
- configuration(object, optional): The configuration data according to the form description of the relevant file storage service.
Responses:
200:
A JSON object containing the ID of the newly created account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountCreationResponse object {
- data(string, optional): The ID of the newly created account.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string filestorageService (empty) The identifier of a file storage service to list only those accounts that belong to that file storage service.
query string connectionCheck (empty) If set to true, a connection check is performed for each queried file storage account. In case the connection check failed, the hasError flag is set to true in the returned response object, and also an error object describing the cause of the failure is included.
query boolean Responses:
200:
A JSON object containing an array with JSON objects each describing one file storage account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FileAccountsResponse object {
- data(array[FileAccountData], optional): An array of JSON objects each describing one file storage account.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FileAccountData object {
- id(string, optional): The identifier of the file storage account in the scope of its file storage service (e.g. Infostore, Dropbox, ...). This is not writeable and is generated by the server.
- filestorageService(string, optional): The identifier of the file storage service this account belongs to.
- qualifiedId(string, optional): A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server.
- displayName(string, optional): A user chosen, human-readable name to identify the account. Will also be translated into the folder name of the folder representing the accounts content.
- rootFolder(string, optional): The ID of the account's root folder within the folder tree. This is not writeable and is generated by the server.
- isDefaultAccount(boolean, optional): Indicates whether this account is the user's default account. Exactly one account will have this flag set to `true`.
- hasError(boolean, optional): Indicates whether an error occurred during the connection check for this account. If set to true, the other error related information in this response object are set as well.
- error(string, optional): The translated error message. Present in case of errors during the connection check.
- error_params(array[string], optional): Exception parameters
- error_id(string, optional): Unique error identifier to help finding this connection check error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- capabilities(array[string], optional): An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS.
- configuration(object, optional): The configuration data according to the form description of the relevant file storage service.
-
-
-
Find
The find module consists of calls for performing searches within the modules mail, contacts, tasks and drive. It was designed to provide an iterative approach where the search criteria can be refined step-wise until the desired items are found. The starting point is always an `autocomplete` request, that suggests possible search filters based on a users input. Those filters are grouped into categories, called "facets". A facet may provide one or more values with every value being a possible filter. A client is meant to remember every value that was selected by a user and include it within the following `autocomplete` and `query` requests, while `query` performs the actual search and returns the found items. Some of the objects returned by the server contain former user input. A client must never interpret strings as HTML but always as plain text to be not vulnerable for CSS attacks!-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string module (empty) The name of the module within that the search shall be performed. Possible modules are: mail, contacts, calendar, tasks, drive. Because a user may have limited access to modules the useable modules might only be a subset of the available ones. Retrieve a list of allowed modules by querying the user configuration, see module "config" (path `search`) or module "JSlob" (e.g. `id=io.ox/core`).
query string columns (empty) A comma-separated list of module-specific columns that shall be contained in the response items. See Column identifiers for the numeric IDs of fields for specific modules.
query string fields (empty) A comma-separated list of field identifiers. This parameter must be used instead of columns in case the module is set to 'calendar'.
query string Body:
Description:A JSON object containing the selected `facets` and possible `options`. For pagination the keys `start` and `size` can be set.
Content-type: application/json-
FindQueryBody object {
- facets(array[FindActiveFacet], optional): An array of selected facets that shall be applied for search.
- options(FindOptionsData, optional): No description available
- start(integer, optional): The start of a pagination, if desired.
- size(integer, optional): The page size of a pagination, if desired.
-
FindActiveFacet object {
- facet(string, optional): The ID of the according facet.
- value(string, optional): The ID of the according value. Must always be copied from the value object, not from a possibly according option (in the two-dimensional case).
- filter(FindActiveFacetFilter, optional): No description available
-
FindActiveFacetFilter objectThe filter object, copied from the value or option.{
- fields(array[string], optional): An array of fields to search for.
- queries(array[string], optional): An array of corresponding search values.
-
FindOptionsData object {
- timezone(string, optional): The timezone to use if any dates are returned.
- admin(boolean, optional): (DEPRECATED) Indicates whether the context admin shall be included if it matches any search criteria. If the context admin shall always be ignored (i.e. not returned), `false` has to be set.
Responses:
200:
A JSON object containing the search result. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FindQueryResponse object {
- data(FindQueryResponseData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FindQueryResponseData object {
- num_found(integer, optional): The number of found items.
- start(integer, optional): The start of the pagination.
- size(integer, optional): The page size.
- results(object, optional): An array of search results. Each result is described by a JSON object containing the fields specified in the `columns` parameter.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string module (empty) The name of the module within that the search shall be performed. Possible modules are: mail, contacts, calendar, tasks, drive. Because a user may have limited access to modules the useable modules might only be a subset of the available ones. Retrieve a list of allowed modules by querying the user configuration, see module "config" (path `search`) or module "JSlob" (e.g. `id=io.ox/core`).
query string limit (empty) The maximum number of values returned per facet.
query integer Body:
Description:A JSON object containing the user's input (specified in field `prefix`), already selected `facets`, and possible `options`.
Content-type: application/json-
FindAutoCompleteBody object {
- prefix(string, optional): The user's search input.
- facets(array[FindFacetData], optional): An array of already selected facets, meaning categories the user has filtered by before.
- options(FindOptionsData, optional): No description available
-
FindFacetData object {
- style(string, optional): The facet style, which can be one of: simple, default, or exclusive. Dependent on the style some fields are present and others are not.
- id(string, optional): The ID of this facet. Must be unique within an autocomplete response. Can be used to distinguish and filter certain facets. (for simple, default, and exclusive)
- name(string, optional): A displayable (and localized) name for this facet. If absent, an `item` attribute is present. (for simple, default, and exclusive)
- item(FindFacetItem, optional): No description available
-
flags(array[string], optional):
An array of flags. Available flags: conflicts (specified as "conflicts:
", facets carrying this flag must not be combined with a facet of type ). (for simple, default, and exclusive) - filter(FindFacetFilter, optional): No description available
- values(array[FindFacetValue], optional): An array of facet values. (for default)
- options(array, optional): An array of facet values. (for exclusive)
-
FindFacetItem objectA more complex object to display this facet. Attributes are `name`, `detail` (optional), and `image_url` (optional). (for simple, default, and exclusive){
- name(string, optional): A displayable (and localized) name for the facet.
- detail(string, optional): A displayable (and localized) detail name, like "in mail text".
- image_url(string, optional): An URL to a displayable image.
-
FindFacetFilter objectThe filter to refine the search. (for simple){
- fields(array[string], optional): An array of fields to search for.
- queries(array[string], optional): An array of corresponding search values.
-
FindFacetValue object {
- id(string, optional): The ID of the value. Must be unique within one facet.
- name(string, optional): A displayable (and localized) name for this facet. If absent, an `item` attribute is present.
- item(FindFacetValueItem, optional): No description available
- filter(FindFacetValueFilter, optional): No description available
- options(array[FindFacetValueOption], optional): An array of options to refine the search.
-
FindFacetValueItem objectA more complex object to display this facet. Attributes are `name`, `detail` (optional), and `image_url` (optional).{
- name(string, optional): A displayable (and localized) name for the facet.
- detail(string, optional): A displayable (and localized) detail name, like "in mail text".
- image_url(string, optional): An URL to a displayable image.
-
FindFacetValueFilter objectThe filter to refine the search.{
- fields(array[string], optional): An array of fields to search for.
- queries(array[string], optional): An array of corresponding search values.
-
FindFacetValueOption object {
- id(string, optional): The ID of the option. Must be unique within a set of options.
- name(string, optional): The displayable (and localized) name for this option.
-
FindOptionsData object {
- timezone(string, optional): The timezone to use if any dates are returned.
- admin(boolean, optional): (DEPRECATED) Indicates whether the context admin shall be included if it matches any search criteria. If the context admin shall always be ignored (i.e. not returned), `false` has to be set.
Responses:
200:
A JSON object containing the facets that were found. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FindAutoCompleteResponse object {
- data(FindAutoCompleteData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FindAutoCompleteData object {
- facets(array[FindFacetData], optional): An array of facets each describing a possible search category or an already applied category.
-
FindFacetData object {
- style(string, optional): The facet style, which can be one of: simple, default, or exclusive. Dependent on the style some fields are present and others are not.
- id(string, optional): The ID of this facet. Must be unique within an autocomplete response. Can be used to distinguish and filter certain facets. (for simple, default, and exclusive)
- name(string, optional): A displayable (and localized) name for this facet. If absent, an `item` attribute is present. (for simple, default, and exclusive)
- item(FindFacetItem, optional): No description available
-
flags(array[string], optional):
An array of flags. Available flags: conflicts (specified as "conflicts:
", facets carrying this flag must not be combined with a facet of type ). (for simple, default, and exclusive) - filter(FindFacetFilter, optional): No description available
- values(array[FindFacetValue], optional): An array of facet values. (for default)
- options(array, optional): An array of facet values. (for exclusive)
-
FindFacetItem objectA more complex object to display this facet. Attributes are `name`, `detail` (optional), and `image_url` (optional). (for simple, default, and exclusive){
- name(string, optional): A displayable (and localized) name for the facet.
- detail(string, optional): A displayable (and localized) detail name, like "in mail text".
- image_url(string, optional): An URL to a displayable image.
-
FindFacetFilter objectThe filter to refine the search. (for simple){
- fields(array[string], optional): An array of fields to search for.
- queries(array[string], optional): An array of corresponding search values.
-
FindFacetValue object {
- id(string, optional): The ID of the value. Must be unique within one facet.
- name(string, optional): A displayable (and localized) name for this facet. If absent, an `item` attribute is present.
- item(FindFacetValueItem, optional): No description available
- filter(FindFacetValueFilter, optional): No description available
- options(array[FindFacetValueOption], optional): An array of options to refine the search.
-
FindFacetValueItem objectA more complex object to display this facet. Attributes are `name`, `detail` (optional), and `image_url` (optional).{
- name(string, optional): A displayable (and localized) name for the facet.
- detail(string, optional): A displayable (and localized) detail name, like "in mail text".
- image_url(string, optional): An URL to a displayable image.
-
FindFacetValueFilter objectThe filter to refine the search.{
- fields(array[string], optional): An array of fields to search for.
- queries(array[string], optional): An array of corresponding search values.
-
FindFacetValueOption object {
- id(string, optional): The ID of the option. Must be unique within a set of options.
- name(string, optional): The displayable (and localized) name for this option.
-
-
-
Folders
The folders module is used to access the OX folder structure. Special system folders:ID Type Description 6 contacts System Users -
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string id (empty) Object ID of the shared folder to notify about.
query string Body:
Description:JSON object providing the JSON array `entities`, which holds the entity ID(s) of the users or groups that should be notified. To send a custom message to the recipients, an additional JSON object `notification` may be included, inside of which an optional message can be passed (otherwise, some default message is used). (Example: {"entities":["2332"]} or {"entities":["2332"],"notification":{"transport":"mail","message":"The message"}})
Content-type: application/json-
FolderSharingNotificationBody object {
- entities(array[string], required): Array containing the entity ID(s) of the users or groups that shall be notified.
- notification(FolderBodyNotification, optional): No description available
-
FolderBodyNotification object {
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
Responses:
200:
An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderSharingNotificationResponse object {
- data(FolderSharingNotificationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FolderSharingNotificationData object {
- warnings(object, optional): An array of transport warnings that occured during sending the notifications.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string parent (empty) Object ID of a folder, which is the parent folder of the requested folders.
query string timestamp (empty) Timestamp of the last update of the requested folders.
query long columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string Responses:
200:
An array with data for new, modified and deleted folders. New and modified folders are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted folders (should the ignore parameter be ever implemented) would be identified by their object IDs as plain strings, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdatesResponse object {
- data(object, optional): Array of folders.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string Responses:
200:
A JSON object containing an array with data for all folders at the root level of the folder structure. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse object {
- data(object, optional): Array of folders. Each folder is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string timestamp (empty) The optional timestamp of the last update of the deleted folders.
query long allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string hardDelete (empty) If set to `true`, the folders are deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the folders are not yet located below the trash folder, they are moved to the trash folder.
query boolean failOnError (empty) If an error occured for one folder and this parameter is set to `true` the process will abort and throw an error. If this parameter is set to 'false' the process will continue for the remaining folders and will add a warning to the response instead.
query boolean extendedResponse (empty) If this parameter is set to `true` a different response will be returned. The response contains an array of json objects, which can contain the following fields:
new_path
- The new path of the folder in case of a trash operation.path
- The old path.hasFailed
- A boolean flag indicating that the delete operation has failed.isTrashed
- A boolean flag indicating that the folder has been trashed.isSuppoprted
- A boolean flag indicating that the folder storage supports trashing.
query boolean pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array with object IDs of the folders.
Content-type: application/json-
array[string]
Responses:
200:
An array with object IDs of folders that were NOT deleted. There may be a lot of different causes for a not deleted folder: A folder has been modified in the mean time, the user does not have the permission to delete it or those permissions have just been removed, the folder does not exist, etc. You receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersCleanUpResponse object {
- data(array[string], optional): An array with object IDs of folders that could not be processed because of a concurrent modification or something else. If the extendedResponse parameter is set to `true` the array contains json objects instead.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
Parameters:
Parameter Value Description Parameter Type Data Type folder_id (empty) The parent folder object ID of the newly created folder.
query string session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string autorename (empty) Whether to automatically rename the folder in case an folder with the same name already exists.
query boolean Body:
Description:JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"module":"infostore","subscribed":true,"title":"Test123"}} or {"folder":{"module":"infostore","subscribed":true,"title":"Test123","permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})
Content-type: application/json-
NewFolderBody object {
- folder(inline_schema_folder, required): No description available
- notification(FolderBodyNotification, optional): No description available
-
inline_schema_folder {
- id(string, optional): Object ID
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- last_modified_utc(integer, optional): Timestamp of the last modification. Note that the type is Timestamp, not Time.
- folder_id(string, optional): Object ID of the parent folder.
- title(string, optional): Name of this folder.
- module(string, required): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type(integer, optional): Type of folder.
- subfolders(boolean, optional): Set `true` if this folder has subfolders.
- own_rights(integer, optional): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions(array[FolderPermission], optional): No description available
- summary(string, optional): Information about contained objects.
- standard_folder(boolean, optional): Indicates whether or not folder is marked as a default folder (only OX folder).
- total(integer, optional): The number of objects in this Folder.
- new(integer, optional): The number of new objects in this Folder.
- unread(integer, optional): The number of unread objects in this Folder.
- deleted(integer, optional): The number of deleted objects in this Folder.
-
capabilities(integer, optional):
Bit mask containing information about mailing system capabilites.
* bit 0 (mailing system supports permissions),
* bit 1 (mailing system supports ordering mails by their thread reference),
* bit 2 (mailing system supports quota restrictions),
* bit 3 (mailing system supports sorting),
* bit 4 (mailing system supports folder subscription) - subscribed(boolean, optional): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds(boolean, optional): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type(integer, optional):
Indicates the default folder type.
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - supported_capabilities(array[string], optional): Can contain "permissions", "quota", "sort", "subscription".
- account_id(string, optional): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.publish.publicationFlag(boolean, optional): Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin.
- com.openexchange.subscribe.subscriptionFlag(boolean, optional): Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin.
- com.openexchange.folderstorage.displayName(string, optional): Provides the read only display name of the folder's owner.
- com.openexchange.share.extendedPermissions(array[FolderExtendedPermission], optional): No description available
- com.openexchange.calendar.extendedProperties(FolderCalendarExtendedProperties, optional): No description available
- com.openexchange.calendar.config(FolderCalendarConfig, optional): No description available
- com.openexchange.calendar.provider(string, optional): Denotes the identifier of the underlying calendar provider.
- used_for_sync(inline_schema_used_for_sync, optional): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
-
FolderPermission object {
- bits(integer, optional): For non-mail folders, a number as described in Permission flags.
- rights(string, optional): For mail folders, the rights string as defined in RFC 2086.
- entity(integer, optional): User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest").
- group(boolean, optional): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
FolderExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
- bits(integer, optional): A number as described in Permission flags.
- type(string, optional): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(object, optional): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
- includeSubfolders(boolean, optional): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited(boolean, optional): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
-
FolderCalendarExtendedProperties objectContains the extended properties for calendar folders{
- description(inline_schema_description, optional): The description of the folder
- usedForSync(inline_schema_usedForSync, optional): Indicates whether the folder should be considered for synchronization with external clients or not.
- color(inline_schema_color, optional): Indicates the color the folder should be displayed with
- scheduleTransp(inline_schema_scheduleTransp, optional): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate(inline_schema_lastUpdate, optional): indicates the timestamp of the last update of the contents for cached calendars
-
inline_schema_descriptionThe description of the folder{
- value(string, optional): No description available
-
inline_schema_usedForSyncIndicates whether the folder should be considered for synchronization with external clients or not.{
- value(string, optional): No description available
-
inline_schema_colorIndicates the color the folder should be displayed with{
- value(string, optional): No description available
-
inline_schema_scheduleTranspIndicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not{
- value(string, optional): No description available
-
inline_schema_lastUpdateindicates the timestamp of the last update of the contents for cached calendars{
- value(integer, optional): No description available
-
FolderCalendarConfig objectHolds arbitrary, provider-specific configuration data for calendar accounts.{
- enabled(boolean, optional): Defines if the account is enabled.
- color(string, optional): Defines the account color.
- usedForSync(boolean, optional): Defines if the account should be synced via CalDAV.
- uri(string, optional): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval(integer, optional): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login(string, optional): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password(string, optional): (ical provider only) An optional password for the subscribed ICal feed.
- itemId(string, optional): (schedjoules provider only) Unique identifier for schedjoules feed.
- locale(string, optional): (schedjoules provider only) The locale of the subscribed schedjoules feed.
-
inline_schema_used_for_syncIndicates whether this folder should used for sync or not. Standard folders cannot be changed.{
- value(string, optional): The actual used_for_sync value. Either 'true' or 'false'.
- protected(string, optional): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
FolderBodyNotification object {
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
Responses:
200:
A JSON object with the object ID of the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdateResponse object {
- data(string, optional): The object id of the folder.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string parent (empty) Object ID of a folder, which is the parent folder of the requested folders.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string all (empty) Set to 1 to list even not subscribed folders.
query integer tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string errorOnDuplicateName (empty) query boolean Responses:
200:
A JSON object containing an array with data for all folders, which have the folder with the requested object ID as parent. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse object {
- data(object, optional): Array of folders. Each folder is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string content_type (empty) The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore").
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string all (empty) Whether or not to include subscribed folders.
query boolean Responses:
200:
A JSON object containing three fields: "private", "public, and "shared". Each field is a JSON array with data for all folders. Each folder is itself described by an array. The elements of each array contain the information specified by the corresponding identifiers in the columns parameter. For the content_type "mail" a JSON object only containing the JSON array "private" is returned. Mail folders are managed by the mail storage and all are considered to be in private folder namespace for an Open-Xchange user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersVisibilityResponse object {
- data(FoldersVisibilityData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FoldersVisibilityData object {
- private(object, optional): Array of private folders. Each folder is described as an array itself.
- public(object, optional): Array of public folders. Each folder is described as an array itself.
- shared(object, optional): Array of shared folders. Each folder is described as an array itself.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of a folder.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
An array with data for all parent nodes of a folder. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse object {
- data(object, optional): Array of folders. Each folder is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array with object IDs of the folders.
Content-type: application/json-
array[string]
Responses:
200:
A JSON array containing the IDs of folders that could not be cleared due to a concurrent modification. Meaning you receive an empty JSON array if everything worked well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersCleanUpResponse object {
- data(array[string], optional): An array with object IDs of folders that could not be processed because of a concurrent modification or something else. If the extendedResponse parameter is set to `true` the array contains json objects instead.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,300". Each column is specified by a numeric column identifier, see Common folder data and Detailed folder data.
query string content_type (empty) The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore").
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string all (empty) Set to 1 to list even not subscribed folders.
query integer Responses:
200:
A JSON object containing an array with data for all folders that are considered as shared by the user. Each array element describes one folder and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersResponse object {
- data(object, optional): Array of folders. Each folder is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the folder to check.
query string type (empty) The type of the files to upload (e. g. 'filestorage, 'pim')
query string Body:
Description:A JSON object containing an array of file meta data (size and name).
Content-type: application/json-
FolderCheckLimitsData object {
- files(array[FolderCheckLimitsFiles], optional): An array of files
-
FolderCheckLimitsFiles object {
- size(integer, optional): The size of the file to check in bytes.
- name(string, optional): The name of the file to check.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderCheckLimitsResponse object {
- data(FolderCheckLimitsResponseData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FolderCheckLimitsResponseData object {
- errors(array[FolderCheckLimitsResponseErrorData], optional): No description available
-
FolderCheckLimitsResponseErrorData object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested folder.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string language (empty) Optional locale to use instead of the currently configured locale of the user.
query string Responses:
200:
A JSON object containing the data of the requested folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderResponse object {
- data(FolderData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
FolderData object {
- id(string, optional): Object ID
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- last_modified_utc(integer, optional): Timestamp of the last modification. Note that the type is Timestamp, not Time.
- folder_id(string, optional): Object ID of the parent folder.
- title(string, optional): Name of this folder.
- module(string, optional): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type(integer, optional): Type of folder.
- subfolders(boolean, optional): Set `true` if this folder has subfolders.
- own_rights(integer, optional): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions(array[FolderPermission], optional): No description available
- summary(string, optional): Information about contained objects.
- standard_folder(boolean, optional): Indicates whether or not folder is marked as a default folder (only OX folder).
- total(integer, optional): The number of objects in this Folder.
- new(integer, optional): The number of new objects in this Folder.
- unread(integer, optional): The number of unread objects in this Folder.
- deleted(integer, optional): The number of deleted objects in this Folder.
-
capabilities(integer, optional):
Bit mask containing information about mailing system capabilites.
* bit 0 (mailing system supports permissions),
* bit 1 (mailing system supports ordering mails by their thread reference),
* bit 2 (mailing system supports quota restrictions),
* bit 3 (mailing system supports sorting),
* bit 4 (mailing system supports folder subscription) - subscribed(boolean, optional): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds(boolean, optional): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type(integer, optional):
Indicates the default folder type.
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - supported_capabilities(array[string], optional): Can contain "permissions", "quota", "sort", "subscription".
- account_id(string, optional): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.publish.publicationFlag(boolean, optional): Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin.
- com.openexchange.subscribe.subscriptionFlag(boolean, optional): Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin.
- com.openexchange.folderstorage.displayName(string, optional): Provides the read only display name of the folder's owner.
- com.openexchange.share.extendedPermissions(array[FolderExtendedPermission], optional): No description available
- com.openexchange.calendar.extendedProperties(FolderCalendarExtendedProperties, optional): No description available
- com.openexchange.calendar.config(FolderCalendarConfig, optional): No description available
- com.openexchange.calendar.provider(string, optional): Denotes the identifier of the underlying calendar provider.
- used_for_sync(inline_schema_used_for_sync, optional): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
-
FolderPermission object {
- bits(integer, optional): For non-mail folders, a number as described in Permission flags.
- rights(string, optional): For mail folders, the rights string as defined in RFC 2086.
- entity(integer, optional): User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest").
- group(boolean, optional): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
FolderExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
- bits(integer, optional): A number as described in Permission flags.
- type(string, optional): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(object, optional): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
- includeSubfolders(boolean, optional): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited(boolean, optional): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
-
FolderCalendarExtendedProperties objectContains the extended properties for calendar folders{
- description(inline_schema_description, optional): The description of the folder
- usedForSync(inline_schema_usedForSync, optional): Indicates whether the folder should be considered for synchronization with external clients or not.
- color(inline_schema_color, optional): Indicates the color the folder should be displayed with
- scheduleTransp(inline_schema_scheduleTransp, optional): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate(inline_schema_lastUpdate, optional): indicates the timestamp of the last update of the contents for cached calendars
-
inline_schema_descriptionThe description of the folder{
- value(string, optional): No description available
-
inline_schema_usedForSyncIndicates whether the folder should be considered for synchronization with external clients or not.{
- value(string, optional): No description available
-
inline_schema_colorIndicates the color the folder should be displayed with{
- value(string, optional): No description available
-
inline_schema_scheduleTranspIndicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not{
- value(string, optional): No description available
-
inline_schema_lastUpdateindicates the timestamp of the last update of the contents for cached calendars{
- value(integer, optional): No description available
-
FolderCalendarConfig objectHolds arbitrary, provider-specific configuration data for calendar accounts.{
- enabled(boolean, optional): Defines if the account is enabled.
- color(string, optional): Defines the account color.
- usedForSync(boolean, optional): Defines if the account should be synced via CalDAV.
- uri(string, optional): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval(integer, optional): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login(string, optional): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password(string, optional): (ical provider only) An optional password for the subscribed ICal feed.
- itemId(string, optional): (schedjoules provider only) Unique identifier for schedjoules feed.
- locale(string, optional): (schedjoules provider only) The locale of the subscribed schedjoules feed.
-
inline_schema_used_for_syncIndicates whether this folder should used for sync or not. Standard folders cannot be changed.{
- value(string, optional): The actual used_for_sync value. Either 'true' or 'false'.
- protected(string, optional): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string allow_enqueue (empty) Optional flag that specifies whether the request is allowed for being submitted to job queue.
query boolean id (empty) Object ID of the updated folder.
query string timestamp (empty) Timestamp of the updated folder. If the folder was modified after the specified timestamp, then the update must fail.
query long tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string allowed_modules (empty) An array of modules (either numbers or strings; e.g. "tasks,calendar,contacts,mail") supported by requesting client. If missing, all available modules are considered.
query string cascadePermissions (empty) `true` to cascade permissions to all sub-folders. The user must have administrative permissions to all sub-folders subject to change. If one permission change fails, the entire operation fails.
query boolean pushToken (empty) The client's push token to restrict the generated drive event
query string autorename (empty) Whether to automatically rename the folder in case an folder with the same name already exists.
query boolean Body:
Description:JSON object with "folder" object containing the modified fields and optional "notification" object to let added permission entities be notified about newly shared folders for all modules except mail. (Example: {"folder":{"title":"test123"}} or {"folder":{"permissions":[{"bits":403710016,"entity":84,"group":false}]},"notification":{"transport":"mail","message":"The message"}})
Content-type: application/json-
FolderBody object {
- folder(FolderData, required): No description available
- notification(FolderBodyNotification, optional): No description available
-
FolderData object {
- id(string, optional): Object ID
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- last_modified_utc(integer, optional): Timestamp of the last modification. Note that the type is Timestamp, not Time.
- folder_id(string, optional): Object ID of the parent folder.
- title(string, optional): Name of this folder.
- module(string, optional): Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail"
- type(integer, optional): Type of folder.
- subfolders(boolean, optional): Set `true` if this folder has subfolders.
- own_rights(integer, optional): Permissions which apply to the current user, as described either in Permission flags or in RFC2086.
- permissions(array[FolderPermission], optional): No description available
- summary(string, optional): Information about contained objects.
- standard_folder(boolean, optional): Indicates whether or not folder is marked as a default folder (only OX folder).
- total(integer, optional): The number of objects in this Folder.
- new(integer, optional): The number of new objects in this Folder.
- unread(integer, optional): The number of unread objects in this Folder.
- deleted(integer, optional): The number of deleted objects in this Folder.
-
capabilities(integer, optional):
Bit mask containing information about mailing system capabilites.
* bit 0 (mailing system supports permissions),
* bit 1 (mailing system supports ordering mails by their thread reference),
* bit 2 (mailing system supports quota restrictions),
* bit 3 (mailing system supports sorting),
* bit 4 (mailing system supports folder subscription) - subscribed(boolean, optional): Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed.
- subscr_subflds(boolean, optional): Indicates whether subfolders should appear in folder tree or not.
-
standard_folder_type(integer, optional):
Indicates the default folder type.
* 0 (non-default folder),
* 1 (task),
* 2 (calendar),
* 3 (contact),
* 7 (inbox),
* 8 (infostore),
* 9 (drafts),
* 10 (sent),
* 11 (spam),
* 12 (trash) - supported_capabilities(array[string], optional): Can contain "permissions", "quota", "sort", "subscription".
- account_id(string, optional): Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder.
- com.openexchange.publish.publicationFlag(boolean, optional): Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin.
- com.openexchange.subscribe.subscriptionFlag(boolean, optional): Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin.
- com.openexchange.folderstorage.displayName(string, optional): Provides the read only display name of the folder's owner.
- com.openexchange.share.extendedPermissions(array[FolderExtendedPermission], optional): No description available
- com.openexchange.calendar.extendedProperties(FolderCalendarExtendedProperties, optional): No description available
- com.openexchange.calendar.config(FolderCalendarConfig, optional): No description available
- com.openexchange.calendar.provider(string, optional): Denotes the identifier of the underlying calendar provider.
- used_for_sync(inline_schema_used_for_sync, optional): Indicates whether this folder should used for sync or not. Standard folders cannot be changed.
-
FolderPermission object {
- bits(integer, optional): For non-mail folders, a number as described in Permission flags.
- rights(string, optional): For mail folders, the rights string as defined in RFC 2086.
- entity(integer, optional): User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest").
- group(boolean, optional): Set `true` if entity refers to a group, `false` if it refers to a user (ignored for type "anonymous" or "guest").
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
FolderExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
- bits(integer, optional): A number as described in Permission flags.
- type(string, optional): Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(object, optional): A (reduced) set of Detailed contact data for "user" and "guest" entities.
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
- includeSubfolders(boolean, optional): The optionally set "include subfolders" option for "anonymous" entities.
- isInherited(boolean, optional): A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions.
-
FolderCalendarExtendedProperties objectContains the extended properties for calendar folders{
- description(inline_schema_description, optional): The description of the folder
- usedForSync(inline_schema_usedForSync, optional): Indicates whether the folder should be considered for synchronization with external clients or not.
- color(inline_schema_color, optional): Indicates the color the folder should be displayed with
- scheduleTransp(inline_schema_scheduleTransp, optional): Indicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not
- lastUpdate(inline_schema_lastUpdate, optional): indicates the timestamp of the last update of the contents for cached calendars
-
inline_schema_descriptionThe description of the folder{
- value(string, optional): No description available
-
inline_schema_usedForSyncIndicates whether the folder should be considered for synchronization with external clients or not.{
- value(string, optional): No description available
-
inline_schema_colorIndicates the color the folder should be displayed with{
- value(string, optional): No description available
-
inline_schema_scheduleTranspIndicates whether the calendar object resources in a calendar collection will affect the owner's busy time information or not{
- value(string, optional): No description available
-
inline_schema_lastUpdateindicates the timestamp of the last update of the contents for cached calendars{
- value(integer, optional): No description available
-
FolderCalendarConfig objectHolds arbitrary, provider-specific configuration data for calendar accounts.{
- enabled(boolean, optional): Defines if the account is enabled.
- color(string, optional): Defines the account color.
- usedForSync(boolean, optional): Defines if the account should be synced via CalDAV.
- uri(string, optional): (ical provider only) The URI of the ICal feed that should be subscribed.
- refreshInterval(integer, optional): (ical provider only) Defines the refresh interval used for the subscribed ICal feed.
- login(string, optional): (ical provider only) Defines an optional login for the subscribed ICal feed.
- password(string, optional): (ical provider only) An optional password for the subscribed ICal feed.
- itemId(string, optional): (schedjoules provider only) Unique identifier for schedjoules feed.
- locale(string, optional): (schedjoules provider only) The locale of the subscribed schedjoules feed.
-
inline_schema_used_for_syncIndicates whether this folder should used for sync or not. Standard folders cannot be changed.{
- value(string, optional): The actual used_for_sync value. Either 'true' or 'false'.
- protected(string, optional): Whether this value is protected and can't be changed by the client or not. Either 'true' or 'false'
-
FolderBodyNotification object {
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
Responses:
200:
A JSON object with the object id of the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderUpdateResponse object {
- data(string, optional): The object id of the folder.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
202:
The operation did not complete in time and was added to job queue providing the job identifier. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- job(string, optional): The job identifier
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) The identifier of the folder tree. If missing "0" (primary folder tree) is assumed.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of folder ids that shall be restored.
Content-type: application/x-www-form-urlencoded-
array[string]
Responses:
200:
A JSON object containing an array with data for all folders requested to restore. Each array element describes one folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FolderRestoreResponse object {
- folder(string, optional): Folder ID
- path(array[FolderPathData], optional): The folder path of the restored folder down to root folder.
-
FolderPathData object {
- id(string, optional): The folder id
- title(string, optional): The folder title
-
-
-
Groups
The group module allows to query available groups. It is mainly used by the dialog for the selection of participants.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the group that shall be updated.
query integer timestamp (empty) Timestamp of the last update of the group to update. If the group was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the group data fields to change. Only modified fields are present and the field id is omitted.
Content-type: application/json-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the group data. The field id is not present.
Content-type: application/json-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
Responses:
200:
A JSON object with the ID of the newly created group. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupUpdateResponse object {
- data(GroupUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupUpdateData object {
- id(integer, optional): The ID of a newly created group.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Group data.
query string Responses:
200:
A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse object {
- data(array[GroupData], optional): Array of group objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of JSON objects with the id of the requested groups.
Content-type: application/json-
GroupListElement object {
- id(integer, optional): ID of a group.
-
array[GroupListElement]
Responses:
200:
A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse object {
- data(array[GroupData], optional): Array of group objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the group.
query integer Responses:
200:
A JSON object containing the group data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupResponse object {
- data(GroupData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object with the search parameters.
Content-type: application/json-
GroupSearchBody object {
- pattern(string, optional): Search pattern to find groups. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
Responses:
200:
A JSON object containing an array of group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse object {
- data(array[GroupData], optional): Array of group objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the requested groups.
query long Responses:
200:
A JSON object with fields `new`, `modified` and `deleted` representing arrays of new, modified and deleted group objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupUpdatesResponse object {
- data(GroupUpdatesData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupUpdatesData object {
- new(array[GroupData], optional): Array of new group objects.
- modified(array, optional): Array of modified group objects.
- deleted(array, optional): Array of deleted group objects.
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the group to delete.
query long Body:
Description:A JSON object with the field `id` containing the unique identifier of the group.
Content-type: application/json-
GroupListElement object {
- id(integer, optional): ID of a group.
Responses:
200:
A JSON object with an empty array if the group was deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GroupsResponse object {
- data(array[GroupData], optional): Array of group objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
GroupData object {
- id(integer, optional): The group ID.
- display_name(string, optional): Display name of the group.
- name(string, optional): Internal name with character restrictions.
- members(array[integer], optional): The array contains identifiers of users that are member of the group.
- last_modified_utc(integer, optional): Timestamp of the last modification.
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) Falls back to the public session cookie.
query string internal_userid (empty) The internal user ID of a user whose picture you want to load.
query integer userid (empty) An alias for `internal_userid`.
query integer user_id (empty) An alias for `internal_userid`.
query integer id (empty) A contact ID.
query string email (empty) An email to searchz for. Will pick global address book matches before regular matches. After that picks the most recently changed contact.
query string email1 (empty) An alias for `email`.
query string email2 (empty) An alias for `email`.
query string email3 (empty) An alias for `email`.
query string transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropWidth (empty) The width a cropped image should have. Needs to be a bigger value than the images width.
query integer cropHeight (empty) The height a cropped image should have. Needs to be a bigger value than the images hight.
query integer rotate (empty) Indicate if the image should get rotated
query boolean compress (empty) Indicate if the image should be compressed. Output format depends on scaleType.
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use.
query string Responses:
200:
The picture with proper ETag and caching headers set.
Content-type: application/json-
string
404:
If no picture could be found.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string provider (empty) The halo provider, like "com.openexchange.halo.contacts". See /halo/contact?action=services for available providers.
query string email1 (empty) The first eMail address of the contact
query string email2 (empty) The second eMail address of the contact
query string email3 (empty) The third eMail address of the contact
query string internal_userid (empty) The internal id of the user
query integer timezone (empty) The timezone.
query string columns (empty) A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields.
query string start (empty) The start point. Only mandatory for provider "com.openexchange.halo.appointments".
query long end (empty) The end point. Only mandatory for provider "com.openexchange.halo.appointments".
query long sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. Optional for provider "com.openexchange.halo.appointments".
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Optional for provider "com.openexchange.halo.appointments".
query string limit (empty) The maximum number of mails within the result. Optional for provider "com.openexchange.halo.mail".
query integer Responses:
200:
A JSON object containing an array with data for the requested columns. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloInvestigationResponse object {
- data(object, optional): Array of halo data objects specified by the corresponding identifiers in the `columns` parameter. The element types can be distinguished.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string provider (empty) The halo provider, like "com.openexchange.halo.contacts". See /halo/contact?action=services for available providers.
query string timezone (empty) The timezone.
query string columns (empty) A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields.
query string start (empty) The start point. Only mandatory for provider "com.openexchange.halo.appointments".
query long end (empty) The end point. Only mandatory for provider "com.openexchange.halo.appointments".
query long sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified. Optional for provider "com.openexchange.halo.appointments".
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Optional for provider "com.openexchange.halo.appointments".
query string limit (empty) The maximum number of mails within the result. Optional for provider "com.openexchange.halo.mail".
query integer Body:
Description:A JSON object containing the contact's data.
Content-type: application/x-www-form-urlencoded-
ContactDataWithInternalId Composed Schema {
- (object, required): No description available
- DistributionListMember(object, required): No description available
- (object, required): No description available
Responses:
200:
A JSON object containing an array with data for the requested columns. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloInvestigationResponse object {
- data(object, optional): Array of halo data objects specified by the corresponding identifiers in the `columns` parameter. The element types can be distinguished.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array with available halo providers. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
HaloServicesResponse object {
- data(array[string], optional): An array with available halo providers.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Image
The image module allows to download images from Open-Xchange server without providing a session ID in request's URL parameters.-
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The folder ID in which the contact resides.
query string id (empty) The object ID of the contact.
query integer transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropWidth (empty) The width a cropped image should have. Needs to be a bigger value than the images width.
query integer cropHeight (empty) The height a cropped image should have. Needs to be a bigger value than the images hight.
query integer rotate (empty) Indicate if the image should get rotated
query boolean compress (empty) Indicate if the image should be compressed. Output format depends on scaleType.
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The identifier of the uploaded image.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The identifier of the image previously obtained from the authentication_results field of the mail module.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type uid (empty) The identifier of the uploaded image.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type id (empty) The object ID of the user.
query string transformationNeeded (empty) Indicate if the image needs to be transformed.
query boolean cropWidth (empty) The width a cropped image should have. Needs to be a bigger value than the images width.
query integer cropHeight (empty) The height a cropped image should have. Needs to be a bigger value than the images hight.
query integer rotate (empty) Indicate if the image should get rotated
query boolean compress (empty) Indicate if the image should be compressed. Output format depends on scaleType.
query boolean width (empty) The maximum width of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxWidth'. Default is 4096.
query integer height (empty) The maximum height of the target image. Can not be greater than the value set in 'com.openexchange.tools.images.maxHeight'. Default is 4096.
query integer shrinkOnly (empty) Set to 'true' to only scale images 'greater than' target size
query boolean scaleType The scale type to use.
query string Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type folder (empty) The folder ID in which the mail resides.
query string id (empty) The object ID of the mail.
query string uid (empty) The identifier of the image inside the referenced mail.
query string accountId (empty) The mail account identifier
query integer Responses:
200:
The content of the requested image is directly written into output stream.
Content-type: application/octet-stream-
string
400:
If request cannot be handled.
-
-
-
Import
The module import allows to import specific module data (like Contacts, Tasks or Appointments) in several formats (iCal, vCard, CSV) into a folder. Please note: The callback for all actions of this bundle is `callback_import`, not `callback_$actionname` for legacy purposes.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string charset (empty) A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278.
query string Body:
Description:No description available
Content-type: multipart/form-data-
importCSVBody object {
- file(string, required): The CSV file containing the contact data. The column titles are the ones described in Detailed contact data.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array of objects each consisting of the fields `id`, `folder_id` and `last_modified` of the newly created contacts. In case of errors the JSON object contains the well known error fields.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder into which the data should be imported. This may be be an appointment or a task folder.
query string suppressNotification (empty) Can be used to disable the notifications for new appointments that are imported through the given iCal file. This help keeping the Inbox clean if a lot of appointments need to be imported. The value of this parameter does not matter because only for the existence of the parameter is checked.
query boolean ignoreUIDs (empty) When set to `true`, UIDs are partially ignored during import of tasks and appointments from iCal. Internally, each UID is replaced statically by a random one to preserve possibly existing relations between recurring appointments in the same iCal file, but at the same time to avoid collisions with already existing tasks and appointments.
query boolean plainJson (empty) When set to `true`, signals that client expects plain JSON; no JavaScript callback.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
importICalBody object {
- file(string, required): The iCal file containing the appointment and task data.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array of objects each consisting of the fields `id`, `folder_id` and `last_modified` of the newly created appointments/tasks. In case of errors the JSON object contains the well known error fields. Beside a field `warnings` may contain an array of objects with warning data containing customary error fields.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string Body:
Description:No description available
Content-type: multipart/form-data-
importVCardBody object {
- file(string, required): The vCard file.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array of objects each consisting of the fields `id`, `folder_id` and `last_modified` of the newly created objects. In case of errors the JSON object contains the well known error fields.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder into which the data should be imported. This must be a contact folder.
query string charset (empty) A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278.
query string Body:
Description:No description available
Content-type: multipart/form-data-
importOutlookCSVBody object {
- file(string, required): The CSV file **with Windows' default encoding CP-1252** containing the contact data. The column titles are those used by the English, French or German version of Outlook.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the field `data` that represents an array of objects each consisting of the fields `id`, `folder_id` and `last_modified` of the newly created contacts. In case of errors the JSON object contains the well known error fields.
Content-type: text/html-
string
-
-
-
Infostore
The module infostore or filestore or files or drive has been renamed quite often. Whatever its name, it combines the knowledge database, bookmarks and document storage.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string folder (empty) The folder ID to restrict the search to. If not specified, all folders are searched.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string start (empty) The start index (inclusive, zero-based) in the ordered search, that is requested.
query integer end (empty) The last index (inclusive) from the ordered search, that is requested.
query integer includeSubfolders (empty) If set to `true` and a `folder` is specified, this folder and all of its subfolders are considered by the search.
query boolean pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
InfoItemSearchBody object {
- pattern(string, optional): The search pattern, where "*" matches any sequence of characters.
Responses:
200:
A JSON object containing an array with matching infoitems. Infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem whose versions are requested.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for the infoitem. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. The timestamp is the timestamp relating to the requested infostore item. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder_id (empty) The folder id.
query string timestamp (empty) Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail. Note: This must only be set for updates of existing infoitems.
query long id (empty) The id of the file in case of an update.
query string title (empty) The title of the file.
query string filename (empty) The name of the file.
query string file_mimetype (empty) The mimetype of the file.
query string file_md5sum (empty) The md5sum of the file.
query string description (empty) The description of the file.
query string url (empty) The url of the file.
query string version (empty) The version of the file.
query string version_comment (empty) The comment of the version.
query string categories (empty) The a list of categories.
query string color_label (empty) The color label identifier.
query integer file_size (empty) The size of the document in bytes.
query long try_add_version (empty) Add new file version if file name exists
query boolean ignoreWarnings (empty) In case of an update indicates whether warnings should be ignored or not
query boolean offset (empty) Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document's length. Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability. If set the id parameter must also be set to the id previously recieved from the first/starting request.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:The binary file
Content-type: application/octet-stream-
string
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: text/html-
InfoItemUpdateResponse object {
- data(string, optional): The object ID of the updated infoitem.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be locked.
query string diff (empty) If present the value is added to the current time on the server (both in ms). The document will be locked until that time. If this parameter is not present, the document will be locked for a duration as configured on the server.
query long Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string timestamp (empty) Timestamp of the last update of the requested infoitems.
query long ignore Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
An array with new, modified and deleted infoitems. New and modified infoitems are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted infoitems would be identified by their object IDs as string, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdatesResponse object {
- data(array[object], optional): Array of infoitems.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be unlocked.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the base object.
query string folder (empty) The folder ID of the base object.
query string timestamp (empty) Timestamp of the last update of the infoitem.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string scan (empty) Flag to request an Anti-Virus scan for the specified documents before downloading them.
query boolean Body:
Description:A JSON array of JSON objects with the id, folder and optionally the documents' versions to include in the requested ZIP archive (if missing, it refers to the latest/current version).
Content-type: application/json-
InfoItemZipElement object {
- id(string, required): The object ID of the infoitem (e.g. "31841/36639").
- folder(string, required): The object ID of the related folder (e.g. "31841").
- version(string, optional): The version of the infoitem.
-
array[InfoItemZipElement]
Responses:
200:
The raw byte data of the ZIP archive. The response type for the HTTP request is set to `application/zip`.
Content-type: application/zip-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of objects with the fields `id` and `folder` representing infoitems that shall be restored.
Content-type: application/json-
InfoItemListElement object {
- id(string, required): The object ID of the infoitem (e.g. "31841/36639").
- folder(string, required): The object ID of the related folder (e.g. "31841").
-
array[InfoItemListElement]
Responses:
200:
A JSON object containing an array with data for all infoitems requested to restore. Each array element describes one infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsRestoreResponse object {
- data(array[InfoItemsRestoreResponseData], optional): The restored items
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
InfoItemsRestoreResponseData objectThe restored item{
- id(string, optional): Object ID
- path(array[InfoFolderPathData], optional): Folder path from restored file down to root folder
-
InfoFolderPathData object {
- id(string, optional): The folder id
- title(string, optional): The folder title
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for all infoitems that are considered as shared by the user. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string recursive (empty) `true` to also include subfolders and their infoitems respectively; otherwise `false` to only consider the infoitems of specified.
query boolean scan (empty) Flag to request an Anti-Virus scan for the ifoitems in the specified folder before downloading them.
query boolean Responses:
200:
The raw byte data of the ZIP archive. The response type for the HTTP request is set to `application/zip`.
Content-type: application/zip-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be updated.
query string timestamp (empty) Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON object containing a field `file` with the modified fields of the infoitem's data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.
Content-type: application/json-
InfoItemBody object {
- file(InfoItemData, required): No description available
- notification(InfoItemBodyNotification, optional): No description available
-
InfoItemData object {
- object_permissions(array[InfoItemPermission], optional): An array of object permissions.
- shareable(boolean, optional): (read-only) Indicates if the item can be shared.
- title(string, optional): The title.
- url(string, optional): Link/URL to item.
- filename(string, optional): Displayed filename of the document.
- file_mimetype(string, optional): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size(integer, optional): The size of the document in bytes.
- version(string, optional): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description(string, optional): A description if the item.
- locked_until(integer, optional): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum(string, optional): MD5Sum of the document.
- version_comment(string, optional): A version comment is used to file a changelog for the file.
- current_version(boolean, optional): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions(integer, optional): The number of all versions of the item. Note: This is not writeable.
- sequence_number(integer, optional): Sequence number of the infoitem.
- capture_date(integer, optional): Date and time when media file was captured/recorded
- geolocation(string, optional): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width(integer, optional): The width of the media resource
- height(integer, optional): The height of the media resource
- camera_iso_speed(integer, optional): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture(string, optional): The aperture used to create the photo (f-number)
- camera_exposure_time(string, optional): The length of the exposure, in seconds
- camera_focal_length(string, optional): The focal length used to create the photo, in millimeters
- camera_model(string, optional): The name of the camera model associated with the media resource
- media_meta(object, optional): Contains metadata extracted from the media resource
- media_status(string, optional): Represents the status for the process of extracting metadata from a media resource
- media_date(integer, optional): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions(array[InfoItemExtendedPermission], optional): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID(string, optional): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata(object, optional): Contains additional metadata for items in the "maildrive" file storage.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, required): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission object {
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - entity(integer, optional): User ID of the user or group to which this permission applies.
- group(boolean, optional): Is `true` if entity refers to a group, `false` if it refers to a user.
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits(integer, optional):
A number specifying the permission flags.
-
InfoItemExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type(string, optional): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(ContactData, optional): No description available
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
-
InfoItemBodyNotification objectResponsible for sending out notifications for changed object permissions of an infoitem.{
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
Responses:
200:
A JSON object with the object ID of the updated infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse object {
- data(string, optional): The object ID of the updated infoitem.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be updated.
query string timestamp (empty) Timestamp of the updated infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.
query long offset (empty) Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document's length. Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability.
query integer pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:No description available
Content-type: multipart/form-data-
updateInfoItemAdvancedBody object {
- json(string, required): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemBody model of the newInfoItem request). Only modified fields must be specified but at least "{}".
- file(string, required): The metadata as per ``.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be copied.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON object containing the modified fields of the destination infoitem. The field `id` must not be present.
Content-type: application/json-
InfoItemData object {
- object_permissions(array[InfoItemPermission], optional): An array of object permissions.
- shareable(boolean, optional): (read-only) Indicates if the item can be shared.
- title(string, optional): The title.
- url(string, optional): Link/URL to item.
- filename(string, optional): Displayed filename of the document.
- file_mimetype(string, optional): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size(integer, optional): The size of the document in bytes.
- version(string, optional): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description(string, optional): A description if the item.
- locked_until(integer, optional): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum(string, optional): MD5Sum of the document.
- version_comment(string, optional): A version comment is used to file a changelog for the file.
- current_version(boolean, optional): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions(integer, optional): The number of all versions of the item. Note: This is not writeable.
- sequence_number(integer, optional): Sequence number of the infoitem.
- capture_date(integer, optional): Date and time when media file was captured/recorded
- geolocation(string, optional): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width(integer, optional): The width of the media resource
- height(integer, optional): The height of the media resource
- camera_iso_speed(integer, optional): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture(string, optional): The aperture used to create the photo (f-number)
- camera_exposure_time(string, optional): The length of the exposure, in seconds
- camera_focal_length(string, optional): The focal length used to create the photo, in millimeters
- camera_model(string, optional): The name of the camera model associated with the media resource
- media_meta(object, optional): Contains metadata extracted from the media resource
- media_status(string, optional): Represents the status for the process of extracting metadata from a media resource
- media_date(integer, optional): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions(array[InfoItemExtendedPermission], optional): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID(string, optional): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata(object, optional): Contains additional metadata for items in the "maildrive" file storage.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, required): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission object {
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - entity(integer, optional): User ID of the user or group to which this permission applies.
- group(boolean, optional): Is `true` if entity refers to a group, `false` if it refers to a user.
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits(integer, optional):
A number specifying the permission flags.
-
InfoItemExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type(string, optional): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(ContactData, optional): No description available
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse object {
- data(string, optional): The object ID of the updated infoitem.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be copies.
query string pushToken (empty) The push token of the drive client
query string Body:
Description:No description available
Content-type: multipart/form-data-
copyInfoItemAdvancedBody object {
- json(string, required): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemData model of the getInfoItem request). Only modified fields must be specified but at least `{"folder_id":"destination"}`.
- file(string, required): The metadata as per ``.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string id (empty) Object ID of the requested infoitem.
query string version (empty) If present the infoitem data describes the given version. Otherwise the current version is returned.
query integer content_type (empty) If present the response declares the given `content_type` in the Content-Type header.
query string scan (empty) Flag to request an Anti-Virus scan for the specified document before downloading them.
query boolean format (empty) Allows to set "metadata" as value to retrieve an image's metadata information (EXIF directory, etc.) as a JSON structure. If there are no metadata available (e.g. infoitem document is not an image) 404 Not Found is returned.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover
- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain
- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension
- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop
- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto
- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer Responses:
200:
The raw byte data of the document. The response type for the HTTP request is set accordingly to the defined mimetype for this infoitem or the content_type given.
Content-type: application/octet-stream-
string
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string attached (empty) The ID of the object to which the attachment belongs.
query integer folder (empty) The folder ID of the object.
query integer module (empty) The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore).
query integer attachment (empty) The ID of the attachment to save.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON object describing the attachment's infoitem. The field `id`is not included. The fields in this infoitem object override values from the attachment. The folder_id must be given. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.
Content-type: application/json-
InfoItemBody object {
- file(InfoItemData, required): No description available
- notification(InfoItemBodyNotification, optional): No description available
-
InfoItemData object {
- object_permissions(array[InfoItemPermission], optional): An array of object permissions.
- shareable(boolean, optional): (read-only) Indicates if the item can be shared.
- title(string, optional): The title.
- url(string, optional): Link/URL to item.
- filename(string, optional): Displayed filename of the document.
- file_mimetype(string, optional): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size(integer, optional): The size of the document in bytes.
- version(string, optional): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description(string, optional): A description if the item.
- locked_until(integer, optional): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum(string, optional): MD5Sum of the document.
- version_comment(string, optional): A version comment is used to file a changelog for the file.
- current_version(boolean, optional): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions(integer, optional): The number of all versions of the item. Note: This is not writeable.
- sequence_number(integer, optional): Sequence number of the infoitem.
- capture_date(integer, optional): Date and time when media file was captured/recorded
- geolocation(string, optional): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width(integer, optional): The width of the media resource
- height(integer, optional): The height of the media resource
- camera_iso_speed(integer, optional): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture(string, optional): The aperture used to create the photo (f-number)
- camera_exposure_time(string, optional): The length of the exposure, in seconds
- camera_focal_length(string, optional): The focal length used to create the photo, in millimeters
- camera_model(string, optional): The name of the camera model associated with the media resource
- media_meta(object, optional): Contains metadata extracted from the media resource
- media_status(string, optional): Represents the status for the process of extracting metadata from a media resource
- media_date(integer, optional): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions(array[InfoItemExtendedPermission], optional): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID(string, optional): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata(object, optional): Contains additional metadata for items in the "maildrive" file storage.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, required): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission object {
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - entity(integer, optional): User ID of the user or group to which this permission applies.
- group(boolean, optional): Is `true` if entity refers to a group, `false` if it refers to a user.
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits(integer, optional):
A number specifying the permission flags.
-
InfoItemExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type(string, optional): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(ContactData, optional): No description available
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
-
InfoItemBodyNotification objectResponsible for sending out notifications for changed object permissions of an infoitem.{
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
-
array[InfoItemBody]
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse object {
- data(string, optional): The object ID of the updated infoitem.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested infoitem.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string Responses:
200:
A JSON object containing all data of the requested infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemResponse object {
- data(InfoItemData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
InfoItemData object {
- object_permissions(array[InfoItemPermission], optional): An array of object permissions.
- shareable(boolean, optional): (read-only) Indicates if the item can be shared.
- title(string, optional): The title.
- url(string, optional): Link/URL to item.
- filename(string, optional): Displayed filename of the document.
- file_mimetype(string, optional): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size(integer, optional): The size of the document in bytes.
- version(string, optional): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description(string, optional): A description if the item.
- locked_until(integer, optional): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum(string, optional): MD5Sum of the document.
- version_comment(string, optional): A version comment is used to file a changelog for the file.
- current_version(boolean, optional): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions(integer, optional): The number of all versions of the item. Note: This is not writeable.
- sequence_number(integer, optional): Sequence number of the infoitem.
- capture_date(integer, optional): Date and time when media file was captured/recorded
- geolocation(string, optional): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width(integer, optional): The width of the media resource
- height(integer, optional): The height of the media resource
- camera_iso_speed(integer, optional): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture(string, optional): The aperture used to create the photo (f-number)
- camera_exposure_time(string, optional): The length of the exposure, in seconds
- camera_focal_length(string, optional): The focal length used to create the photo, in millimeters
- camera_model(string, optional): The name of the camera model associated with the media resource
- media_meta(object, optional): Contains metadata extracted from the media resource
- media_status(string, optional): Represents the status for the process of extracting metadata from a media resource
- media_date(integer, optional): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions(array[InfoItemExtendedPermission], optional): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID(string, optional): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata(object, optional): Contains additional metadata for items in the "maildrive" file storage.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, required): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission object {
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - entity(integer, optional): User ID of the user or group to which this permission applies.
- group(boolean, optional): Is `true` if entity refers to a group, `false` if it refers to a user.
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits(integer, optional):
A number specifying the permission flags.
-
InfoItemExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type(string, optional): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(ContactData, optional): No description available
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the infoitem to move.
query long folder (empty) ID of the destination folder.
query string id (empty) Object ID of the infoitem that shall be moved.
query string pushToken (empty) The client's push token to restrict the generated drive event
query string Responses:
200:
A JSON object with an array of infoitem identifiers that could not be moved (due to a conflict). Th array is empty if everything went fine. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsMovedResponse object {
- data(array[string], optional): Array of infoitem identifiers that could not be moved (due to a conflict).
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) ID of the destination folder.
query string pushToken (empty) The push token of the drive client
query string Body:
Description:A JSON array of JSON objects each referencing to an existing infoitem that is supposed to be moved to the destination folder.
Content-type: application/json-
InfoItemListElement object {
- id(string, required): The object ID of the infoitem (e.g. "31841/36639").
- folder(string, required): The object ID of the related folder (e.g. "31841").
-
array[InfoItemListElement]
Responses:
200:
A JSON object with an array of infoitem identifiers that could not be moved (due to a conflict). Th array is empty if everything went fine. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsMovedResponse object {
- data(array[string], optional): Array of infoitem identifiers that could not be moved (due to a conflict).
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the infoitem that shall be updated.
query string timestamp (empty) Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON object containing a field `file` with the modified fields of the infoitem's data. It is possible to let added object permission entities be notified about newly shared files. In that case add a "notification" object.
Content-type: application/json-
InfoItemBody object {
- file(InfoItemData, required): No description available
- notification(InfoItemBodyNotification, optional): No description available
-
InfoItemData object {
- object_permissions(array[InfoItemPermission], optional): An array of object permissions.
- shareable(boolean, optional): (read-only) Indicates if the item can be shared.
- title(string, optional): The title.
- url(string, optional): Link/URL to item.
- filename(string, optional): Displayed filename of the document.
- file_mimetype(string, optional): MIME type of the document. The client converts known types to more readable names before displaying them.
- file_size(integer, optional): The size of the document in bytes.
- version(string, optional): Version of the document. NULL can be used to denote the most recent version and will be set in responses if versions are not supported by the underlying storage.
- description(string, optional): A description if the item.
- locked_until(integer, optional): The time until which this item will presumably be locked. Only set if the docment is currently locked, `0` otherwise.
- file_md5sum(string, optional): MD5Sum of the document.
- version_comment(string, optional): A version comment is used to file a changelog for the file.
- current_version(boolean, optional): `true` if this version is the current version, `false` otherwise. Note: This is not writeable.
- number_of_versions(integer, optional): The number of all versions of the item. Note: This is not writeable.
- sequence_number(integer, optional): Sequence number of the infoitem.
- capture_date(integer, optional): Date and time when media file was captured/recorded
- geolocation(string, optional): The geo location associated with the media resource as latitude and longitude pair; e.g. "(45 23)"
- width(integer, optional): The width of the media resource
- height(integer, optional): The height of the media resource
- camera_iso_speed(integer, optional): The ISO speed value of a camera or input device associated with the media resource
- camera_aperture(string, optional): The aperture used to create the photo (f-number)
- camera_exposure_time(string, optional): The length of the exposure, in seconds
- camera_focal_length(string, optional): The focal length used to create the photo, in millimeters
- camera_model(string, optional): The name of the camera model associated with the media resource
- media_meta(object, optional): Contains metadata extracted from the media resource
- media_status(string, optional): Represents the status for the process of extracting metadata from a media resource
- media_date(integer, optional): A special field, which prefers the capture date and falls-back to last-modified date if absent
- com.openexchange.share.extendedObjectPermissions(array[InfoItemExtendedPermission], optional): An array of extended object permissions (read-only).
- com.openexchange.realtime.resourceID(string, optional): The resource identifier for the infoitem for usage within the realtime component.
- com.openexchange.file.storage.mail.mailMetadata(object, optional): Contains additional metadata for items in the "maildrive" file storage.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, required): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
InfoItemPermission object {
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - entity(integer, optional): User ID of the user or group to which this permission applies.
- group(boolean, optional): Is `true` if entity refers to a group, `false` if it refers to a user.
- type(string, optional): The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined).
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional).
- email_address(string, optional): The e-mail address of the recipient (for type "guest").
- display_name(string, optional): The display name of the recipient (for type "guest", optional).
- contact_id(string, optional): The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional).
- contact_folder(string, optional): The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional).
-
bits(integer, optional):
A number specifying the permission flags.
-
InfoItemExtendedPermission object {
- entity(integer, optional): Identifier of the permission entity (i.e. user-, group- or guest-ID).
-
bits(integer, optional):
A number specifying the permission flags.
* 0 (the numerical value indicating no object permissions),
* 1 (the numerical value indicating read object permissions),
* 2 (the numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask)) - type(string, optional): "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity.
- display_name(string, optional): A display name for the permission entity.
- contact(ContactData, optional): No description available
- share_url(string, optional): The share link for "anonymous" entities.
- password(string, optional): The optionally set password for "anonymous" entities.
- expiry_date(integer, optional): The optionally set expiry date for "anonymous" entities.
-
InfoItemBodyNotification objectResponsible for sending out notifications for changed object permissions of an infoitem.{
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
-
array[InfoItemBody]
Responses:
200:
A JSON object with the object ID of the newly created infoitem. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemUpdateResponse object {
- data(string, optional): The object ID of the updated infoitem.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string try_add_version (empty) Add new file version if file name exists
query boolean pushToken (empty) The push token of the drive client
query string Body:
Description:No description available
Content-type: multipart/form-data-
createInfoItemAdvancedBody object {
- json(string, required): Represents the normal request body as JSON string containing the infoitem's data (See InfoItemBody model of the newInfoItem request).
- file(string, required): The metadata as per ``.
Responses:
200:
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the infoitems.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer limit (empty) A positive integer number to specify how many items shall be returned according to given sorting; overrides left_hand_limit/right_hand_limit parameters and is equal to left_hand_limit=0 and right_hand_limit=
. query integer pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Responses:
200:
A JSON object containing an array with data for all infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string name (empty) The file name to check.
query string Responses:
200:
An empty JSON object when file name is valid. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the shared infoitem to notify about.
query string Body:
Description:JSON object providing the JSON array `entities`, which holds the entity ID(s) of the users or groups that should be notified. To send a custom message to the recipients, an additional JSON object `notification` may be included, inside of which an optional message can be passed (otherwise, some default message is used). (Example: {"entities":["2332"]} or {"entities":["2332"],"notification":{"transport":"mail","message":"The message"}})
Content-type: application/json-
InfoItemSharingNotificationBody object {
- entities(array[string], required): Array containing the entity ID(s) of the users or groups that shall be notified.
- notification(InfoItemBodyNotification, optional): No description available
-
InfoItemBodyNotification objectResponsible for sending out notifications for changed object permissions of an infoitem.{
- transport(string, optional): E.g. "mail".
- message(string, optional): No description available
Responses:
200:
An empty JSON object. Any transport warnings that occurred during sending the notifications are available in the warnings array of the response. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemSharingNotificationResponse object {
- data(InfoItemSharingNotificationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
InfoItemSharingNotificationData object {
- warnings(array[object], optional): Can contain transport warnings that occured during sending the notifications.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the infoitems to delete.
query long hardDelete (empty) Defaults to `false`. If set to `true`, the file is deleted permanently. Otherwise, and if the underlying storage supports a trash folder and the file is not yet located below the trash folder, it is moved to the trash folder.
query boolean pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of objects with the fields `id` and `folder` representing infoitems that shall be deleted.
Content-type: application/json-
InfoItemListElement object {
- id(string, required): The object ID of the infoitem (e.g. "31841/36639").
- folder(string, required): The object ID of the related folder (e.g. "31841").
-
array[InfoItemListElement]
Responses:
200:
A JSON object with an empty array if the infoitems were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the base object.
query string folder (empty) The folder ID of the base object.
query string timestamp (empty) Timestamp of the last update of the infoitem.
query long pushToken (empty) The client's push token to restrict the generated drive event
query string Body:
Description:A JSON array of version numbers to detach.
Content-type: application/json-
array[integer]
Responses:
200:
A JSON object with an empty array of version numbers that were not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemDetachResponse object {
- data(array[integer], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,700". Each column is specified by a numeric column identifier, see Common object data and Detailed infoitem data.
query string pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all files in request result
query boolean Body:
Description:A JSON array of JSON objects with the id of the infoitems.
Content-type: application/json-
InfoItemListElement object {
- id(string, required): The object ID of the infoitem (e.g. "31841/36639").
- folder(string, required): The object ID of the related folder (e.g. "31841").
-
array[InfoItemListElement]
Responses:
200:
A JSON object containing an array with data for the requested infoitems. Each array element describes one infoitem and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoItemsResponse object {
- data(object, optional): Array of infoitems. Each infoitem is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Jobqueue
The job queue module-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier for the job
query string Responses:
200:
A JSON object providing success information. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CancelJobResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- success(boolean, optional): The flag signaling whether job has been successfully canceled
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier for the job
query string Responses:
200:
An array of JSON objects each describing a job currently held in job queue. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
InfoJobResponse object {
- data(InfoJobData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
InfoJobData object {
- id(string, optional): The job identifier
- action(string, optional): The action identifier
- module(string, optional): The module identifier
- done(boolean, optional): Signals whether job is already done or still in progress
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
An array of JSON objects each describing a job currently held in job queue. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllJobsResponse object {
- data(array[InfoJobData], optional): Contains the JSON representations for jobs currently held in job queue for a user
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
InfoJobData object {
- id(string, optional): The job identifier
- action(string, optional): The action identifier
- module(string, optional): The module identifier
- done(boolean, optional): Signals whether job is already done or still in progress
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier for the job
query string Responses:
200:
The regular response appropriate for submitted job. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
stringThe response of the originating request that was submitted as a job
202:
The operation did not complete in time and was added to job queue providing the job identifier. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
GetJobResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- job(string, optional): The job identifier
-
-
-
JSlob
The JSlob module is used to store and retrieve arbitrary JSON-structured configuration for a single user.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The JSlob indentifier.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:The JSON object containing the updated JSON configuration to store. Fields that are not included are thus not affected and survive the change. Use `/jslob?action=set` to delete fields or entire JSlob.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Responses:
200:
A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobsResponse object {
- data(array[JSlobData], optional): An array containing JSON configurations.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
JSlobData object {
- id(string, optional): The identifier of the JSlob.
- tree(object, optional): The JSON object that is stored in the JSlob.
- meta(object, optional): A JSON object containing meta data.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:A JSON array with the identifiers of the requested JSlobs.
Content-type: application/json-
array[string]
Responses:
200:
A JSON object containing an array of JSON objects each representing a certain JSON configuration. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JSlobsResponse object {
- data(array[JSlobData], optional): An array containing JSON configurations.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
JSlobData object {
- id(string, optional): The identifier of the JSlob.
- tree(object, optional): The JSON object that is stored in the JSlob.
- meta(object, optional): A JSON object containing meta data.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The JSlob indentifier.
query string serviceId (empty) The identifier for the JSlob service, default is "com.openexchange.jslob.config".
query string Body:
Description:A JSON object containing the JSON configuration to store. To delete the JSlob just send an empty body.
Content-type: application/json
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Jump
The jump module is used to pass an acquired identity token for an authenticated user from one system to another for a single sign-on.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string system (empty) The identifier for the external service/system, like "com.openexchange.jump.endpoint.mysystem".
query string Responses:
200:
A JSON object containing the identity token. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
JumpResponse object {
- data(JumpTokenData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
JumpTokenData object {
- token(string, optional): The identifier of the token.
-
-
-
Login
The login module is used to obtain a session from the user's login credentials. To understand the details of the different login methods, see the article titled Login variations. Because of security reasons each login variation will reject requests containing the parameter "password" within the URL query.-
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. (IS OPTIONAL, meaning can be empty)
query string client (empty) Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
autologinBody object {
- rampup(string, optional): Determines whether client specific rampup data should be returned with a successfull login request or not.
- rampupFor(string, optional): Optional client identifier which is used to retrieve the rampup data.
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse object {
- session(string, optional): The session ID.
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- context_id(integer, optional): The context ID.
- locale(string, optional): The users locale (e.g. "en_US").
- requires_multifactor(boolean, optional): True if multifactor login required
- rampup(object, optional): Contains various client specific rampup data. Only set if the rampup parameter is set to 'true'.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) App Suite session ID
query string Responses:
200:
A html result page
302:
A redirect to an exit page
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string clientIP (empty) New IP address of the client host for the current session.
query string Responses:
200:
A JSON object containing the string "1" as data attribute. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ChangeIPResponse object {
- data(string, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type random (empty) A session random token to jump into the session. This random token is part of the login response. Only a very short configurable time after the login it is allowed to jump into the session with the random token.
query string client (empty) The client can be defined here newly if it is not correct on the login request itself.
query string store (empty) Tells the UI to do a store request after login to be able to use autologin request.
query boolean uiWebPath (empty) The optional path on the webserver to the UI. If this parameter is not given the configured uiWebPath is used.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doFormLoginBody object {
- rampup(string, optional): Determines whether client specific rampup data should be returned with a successfull login request or not.
- rampupFor(string, optional): Optional client identifier which is used to retrieve the rampup data.
- login(string, required): The login name.
- password(string, required): The password.
- client(string, required): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. If the autologin request should work the client must be the same as the client sent by the UI in the normal login request.
- version(string, required): Used version of the HTTP/JSON interface client.
- autologin(boolean, required): True or false. True tells the UI to issue a store request for the session cookie. This store request is necessary if you want the autologin request not to fail.
- uiWebPath(string, optional): Defines another path on the web server where the UI is located. If this parameter is not defined the configured default of the backend is used.
- clientIP(string, optional): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent(string, optional): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
Responses:
200:
A redirect to the web UI. The URL of the web UI is either taken from the given parameter or from the configured default of the backend.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A successfull logout
403:
FORBIDDEN. The server refuses to respond to the request.
-
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doTokenLoginBody object {
- login(string, required): The login information.
- password(string, required): The password (MUST be placed in the request body, otherwise the login request will be denied).
- clientToken(string, required): Client side identifier for accessing the session later. The value should be some token that is unique for every login request.
- client(string, required): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version(string, required): Version of the HTTP/JSON interface client. Only for statistic evaluations.
- staySignedIn(boolean, optional): Cookies will be persisted if user choses to stay signed in.
- uiWebPath(string, optional): Defines another path on the web server where the UI is located. If this parameter is not defined the configured default of the backend is used.
- clientIP(string, optional): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent(string, optional): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- jsonResponse(boolean, optional): ’True’ or ’false’ (default). Defines the returned data type as JSON. Default `false` will return a redirect.
Responses:
200:
In case `jsonResponse=true`, it is returned a JSON object. Otherwise a redirect to the web UI. The URL of the web UI is either taken from the given parameter or from the configured default of the backend. This redirect will only contain the server side token. The client side token sent in the request must be appended by the client creating the session. The final URL must have the form redirect_URL&clientToken=token. Both tokens are necessary to use the session and both tokens must match. Otherwise the session is terminated. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TokenLoginResponse object {
- serverToken(string, optional): The token generated by the server.
- jsessionid(string, optional): No description available
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- url(string, optional): The URL of the redirect to the web UI.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
Content-type: text/html-
TokenLoginResponse object {
- serverToken(string, optional): The token generated by the server.
- jsessionid(string, optional): No description available
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- url(string, optional): The URL of the redirect to the web UI.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type token (empty) A valid session reservation token
query string client (empty) Identifier of the client using the HTTP/JSON interface. Default: Value of configuration property `com.openexchange.ajax.login.http-auth.client`
query string clientUserAgent (empty) Parameter to override the user agent used for session creation. By default the `User-Agent` request header is evaluated.
query string loginPath (empty) The login path to be set on the resulting `Location` response header as part of the redirect response. Default: Value of configuration property `com.openexchange.UIWebPath`.
query string shard (empty) Shard identifier to route the requiest accordingly
query string Responses:
200:
A html error page
302:
In case of a succes the middleware answers with a redirect to for bootstrapping the client session
400:
In case the token is missing
403:
In case the login is not allowed
-
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
redeemTokenBody object {
- token(string, required): The token created with `token?action=acquireToken`.
- client(string, required): Identifier of the client using the HTTP/JSON interface. The client must identifier must be the same for each request after creating the login session.
- secret(string, required): The value of the secret string for token logins. This is configured through the tokenlogin-secrets configuration file.
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. Additionally a random token is contained to be used for the Easy Login method. If configured within tokenlogin-secrets configuration file even the user password will be returned. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse object {
- session(string, optional): The session ID.
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- context_id(integer, optional): The context ID.
- locale(string, optional): The users locale (e.g. "en_US").
- requires_multifactor(boolean, optional): True if multifactor login required
- rampup(object, optional): Contains various client specific rampup data. Only set if the rampup parameter is set to 'true'.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
accessSessionBody object {
- serverToken(string, required): The login name.
- clientToken(string, required): The password (MUST be placed in the request body, otherwise the login request will be denied).
- client(string, required): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
Responses:
200:
A JSON object conform to the normal response body containing the session identifier, the login, the identifier and the locale of the user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TokensResponse object {
- data(TokensData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
TokensData object {
- session(string, optional): The session ID.
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- context_id(integer, optional): The context ID.
- locale(string, optional): The users locale (e.g. "en_US").
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type authId (empty) Identifier for tracing every single login request passed between different systems in a cluster. The value should be some token that is unique for every login request. This parameter must be given as URL parameter and not inside the body of the POST request. (IS OPTIONAL, meaning can be empty)
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
doLoginBody object {
- rampup(string, optional): Determines whether client specific rampup data should be returned with a successfull login request or not.
- rampupFor(string, optional): Optional client identifier which is used to retrieve the rampup data.
- name(string, required): The login name.
- password(string, required): The password (MUST be placed in the request body, otherwise the login request will be denied).
- client(string, optional): Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange.
- version(string, optional): Used version of the HTTP/JSON interface client.
- clientIP(string, optional): IP address of the client host for that the session is created. If this parameter is not specified the IP address of the HTTP client doing this request is used.
- clientUserAgent(string, optional): Value of the User-Agent header of the client host for that the session is created. If this parameter is not specified the User-Agent of the current HTTP client doing this request is used.
- staySignedIn(boolean, optional): Cookies will be persisted if user choses to stay signed in
Responses:
200:
A JSON object containing the session ID used for all subsequent requests. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
LoginResponse object {
- session(string, optional): The session ID.
- user(string, optional): The username.
- user_id(integer, optional): The user ID.
- context_id(integer, optional): The context ID.
- locale(string, optional): The users locale (e.g. "en_US").
- requires_multifactor(boolean, optional): True if multifactor login required
- rampup(object, optional): Contains various client specific rampup data. Only set if the rampup parameter is set to 'true'.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Mail
The mail module is used to access mail data. When mails are stored on an IMAP server, some functionality is not available due to restrictions of the IMAP protocol. Such functionality is marked with "not IMAP".-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string edit (empty) 1 indicates that this request should fill the message compose dialog to edit a message and thus display-specific date is going to be withheld.
query integer view "Specifies the view of the mail's body: raw (returns the content as it is, meaning no preparation are performed and thus no guarantee for safe contents is given), text ( forces the server to deliver a text-only version of the requested mail's body, even if content is HTML), textNoHtmlAttach (is the same as 'text', but does not deliver the HTML part as attachment in case of multipart/alternative content), html (to allow a possible HTML mail body being transferred as it is (but white-list filter applied)), noimg (to allow a possible HTML content being transferred but without original image src attributes which references external images; can be used to prevent loading external linked images (spam privacy protection)). document (to have a inline HTML representation of message's content in a separate window) **If set, the corresponding gui config setting will be ignored.**"
query string forceImages (empty) Use `true` to enforce that images are allowed in HTML content. Only applicable in case `view` parameter is `document`
query boolean unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer attach_src (empty) 1 to let the JSON mail representation being extended by "source" field containing the mail raw RFC822 source data.
query integer estimate_length (empty) If set to "true" the "size" field for mail attachments is adjusted by applying an estimation based on attachment's Content-Transfer-Encoding header
query boolean pregenerate_previews (empty) If set to "true" preview generation is triggered in the background for all file attachments of the referenced mail message
query boolean no_nested_message (empty) If set to "true" nested messages are handled as regular attachments
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailResponse object {
- data(MailData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailData object {
- nested_msgs(array[object], optional): An array containing additional mails that are attached to this mail.
- security_info(array[GuardSecurityInfo], optional): Information if mail is encrypted or signed. Requires Guard
- security(array[GuardSecurityResult], optional): Information regarding signature verification or decryption type after processed by Guard
- authenticity(inline_schema_authenticity, optional): Informations about the authenticity of the sender domain.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
GuardSecurityInfo object {
- encrypted(boolean, optional): True if the mail is currently encrypted
- signed(boolean, optional): True if the email has signatures
-
GuardSecurityResult object {
- decrypted(boolean, optional): True if the mail has been decrypted.
- type(string, optional): Type of encryption. Currently only PGP supported
- pgpInline(boolean, optional): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures(array[GuardSignatureResult], optional): Array of signatures, if any, and the verification status
-
GuardSignatureResult object {
- verified(boolean, optional): True if the signature was verified and correct
- missing(boolean, optional): True if the signature could not be verified due to missing public key
- date(integer, optional): Date of the signature in ticks
-
inline_schema_authenticityInformations about the authenticity of the sender domain.{
- dmarc(inline_schema_dmarc, optional): The DMARC authentication results
- dkim(inline_schema_dkim, optional): The DKIM authentication results
- spf(inline_schema_spf, optional): The SPF authentication results
- unconsidered_results(array[object], optional): A list of unconsidered results
- trusted(boolean, optional): Defines whether the sender is a trusted sender.
- image(string, optional): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain(string, optional): The from domain
- status(string, optional): The overall authenticity status
-
inline_schema_dmarcThe DMARC authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_dkimThe DKIM authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_spfThe SPF authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string Responses:
200:
A JSON object with the value `true`. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsAllSeenResponse object {
- data(boolean, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
PUT /mail?action=update Updates a mail or a folder's messages and/or moves a mail to another folder.
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail that shall be updated (**mandatory** if a mail shall be moved).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string Body:
Description:A JSON object containing the new values that ought to be applied to mail and/or the id of the destination folder (if the mail shall be moved, otherwise it must not be specified).
Content-type: application/json-
MailUpdateBody object {
- folder_id(string, optional): The object ID of the destination folder (if the mail shall be moved).
- color_label(integer, optional): The color number between 0 and 10.
- flags(integer, optional): A set of flags to add or remove. Note: Flags for "recent" (8) and "user" (64) are ignored.
- value(boolean, optional): Use `true` to add the flags specified by flags (logical OR) and `false` to remove them (logical AND with the inverted value).
- set_flags(integer, optional): A set of flags to add. Note: Flags for "recent" (8) and "user" (64) are ignored.
- clear_flags(integer, optional): A set of flags to remove. Note: Flags for "recent" (8) and "user" (64) are ignored.
Responses:
200:
A JSON object containing the object ID and the folder ID of an updated and/or moved mail or only the folder ID if several mails are updated. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse object {
- data(MailDestinationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailDestinationData object {
- folder_id(string, optional): Object ID of the destination folder.
- id(string, optional): Object ID of the "new" mail.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) The ID of the folder into that the emails should be imported.
query string flags (empty) In case the mail should be stored with status "read" (e.g. mail has been read already in the client inbox), the parameter "flags" has to be included. For information about mail flags see Detailed mail data.
query string force (empty) If this parameter is set to `true`, the server skips checking the valid from address.
query boolean Body:
Description:No description available
Content-type: multipart/form-data-
importMailBody object {
- file(string, required): The RFC822 encoded email as binary data.
Responses:
200:
A JSON object containing an array of JSON objects each with the folder identifier and the object ID of the imported mail(s). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailImportResponse object {
- data(array[MailDestinationData], optional): An array of JSON objects each describing the folder ID and object ID of one imported mail.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailDestinationData object {
- folder_id(string, optional): Object ID of the destination folder.
- id(string, optional): Object ID of the "new" mail.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string Responses:
200:
'A JSON object containing an integer value representing the folder's mail count. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailCountResponse object {
- data(integer, optional): The folder's mail count.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return.
query integer limit (empty) A positive integer number to specify how many items shall be returned according to given sorting; overrides `left_hand_limit`/`right_hand_limit` parameters and is equal to `left_hand_limit=0` and `right_hand_limit=
`. query integer categoryid (empty) The category id to filter for. If set to "general" all mails which does not belong to any other category are retrieved.
query string Responses:
200:
'A JSON object containing an array with mail data. Each array element describes one mail and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse object {
- data(array[array[string]], optional): Array of mails. Each mail is described as an array itself.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) In case the mail should not be sent out, but saved in a specific folder, the "folder" parameter can be used. If the mail should be sent out to the recipient, the "folder" parameter must not be included and the mail is stored in the folder "Sent Items".
query string flags (empty) In case the mail should be stored with status "read" (e.g. mail has been read already in the client inbox), the parameter "flags" has to be included. If no `folder` parameter is specified, this parameter must not be included. For information about mail flags see Mail data model.
query string Body:
Description:The mail as MIME data block
Content-type: application/octet-stream-
string
Responses:
200:
A JSON object containing the folder ID and the object ID of the mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse object {
- data(MailDestinationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailDestinationData object {
- folder_id(string, optional): Object ID of the destination folder.
- id(string, optional): Object ID of the "new" mail.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string lineWrapAfter (empty) An integer value specifying the line-wrap setting (only effective for plain-text content); if absent the setting is taken from user's mail settings.
query integer Body:
Description:No description available
Content-type: multipart/form-data-
sendMailBody object {
-
json_0(string, required):
'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body
(as html content) defined in nested JSON array `attachments` and its header data (from, to,
subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text
("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail
requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON
array of infostore document ID(s) that ought to be appended to this mail as attachments. The field
"msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates
the type of the message:
0 (normal new mail),
1 (a reply mail, field `msgref` must be present),
2 (a forward mail, field `msgref` must be present),
3 (draft edit operation, field `msgref` must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence),
4 (transport of a draft mail, field `msgref` must be present),
6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by `msgref` field) being deleted after successful transport).'
-
json_0(string, required):
'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body
(as html content) defined in nested JSON array `attachments` and its header data (from, to,
subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text
("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail
requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON
array of infostore document ID(s) that ought to be appended to this mail as attachments. The field
"msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates
the type of the message:
Responses:
200:
A HTML page containing the object ID of the newly created mail or in case of errors an error object (see File uploads as an example).
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested mail that shall be copied.
query string folder (empty) Object ID of the folder who contains the mails.
query string Body:
Description:A JSON object containing the id of the destination folder.
Content-type: application/json-
MailDestinationBody object {
- folder_id(string, optional): The object ID of the destination folder.
Responses:
200:
A JSON object containing the object ID and the folder ID of the copied mail. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailDestinationResponse object {
- data(MailDestinationData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailDestinationData object {
- folder_id(string, optional): Object ID of the destination folder.
- id(string, optional): Object ID of the "new" mail.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object providing the identifiers of the source and target folder.
Content-type: application/json-
MailMoveAllBody object {
- source(string, optional): The identifier of the source folder.
- target(string, optional): The identifier of the target folder.
Responses:
200:
A JSON object containing an entry for each affected folder. Each entry in turn references a JSON object providing "total" and "unread" fields, which given the total number of mails and the number of unread mails in the folder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) A comma-separated list of Object IDs of the requested mails.
query string Responses:
200:
The raw byte data of the ZIP file.
Content-type: application/zip-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored.
query string setFrom (empty) A flag (`true`/`false`) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user's email address aliases.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse object {
- data(MailReplyData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailReplyData object {
- msgref(string, optional): Indicates the ID of the referenced original mail.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the information of a mail for which a delivery receipt shall be requested.
Content-type: application/json-
MailAckBody object {
- from(string, optional): The from email address.
- folder(string, optional): The ID of the folder where the mail is placed.
- id(string, optional): The ID of the mail.
Responses:
200:
A JSON object with an empty data field if everything went well or a JSON object containing the error information. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAckResponse object {
- data(object, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response or the string “thread” to return thread-sorted messages. If this parameter is specified and holds a column number, then the parameter order must be also specified. Note: Applies only to root-level messages.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.
query string Body:
Description:A JSON object describing the search term as described in Advanced search. Example: `{"filter":["and",["=", {"field":"to"},"test1@example.com"],["not",["=",{"attachment":"name"},"document.pdf"]]]}` which represents 'to = "test1@example.com" AND NOT from = "test2@example.com"'. Available field names are `from`, `to`, `cc`, `bcc`, `subject`, `received_date`, `sent_date`, `size`, `flags`, `content`, `content_type`, `disp`, and `priority`.
Content-type: application/json-
string
Responses:
200:
'A JSON object containing an array with matching mails. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse object {
- data(array[array[string]], optional): Array of mails. Each mail is described as an array itself.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the requested mails.
Content-type: application/json-
MailListElement object {
- id(string, required): The object ID of the mail.
- folder(string, required): The object ID of the related folder.
-
array[MailListElement]
Responses:
200:
'A JSON object containing an array with mail data. Mails are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse object {
- data(array[array[string]], optional): Array of mails. Each mail is described as an array itself.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string ignore (empty) The type of updates which should be ignored. Currently known values are 'deleted' and 'changed'. E.g. if you only want to retrieve deleted mails you use 'ignore=changed'.
query string Responses:
200:
Just an empty JSON array is going to be returned since this action cannot be applied to IMAP. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsResponse object {
- data(array[array[string]], optional): Array of mails. Each mail is described as an array itself.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string csid (empty) The "csid" parameter providing the composition space identifier.
query string Body:
Description:'Contains the rudimentary mail as JSON object as described in Detailed mail data with just its message body (as html content) defined in nested JSON array `attachments` and its header data (from, to, subject, etc.). The field "content_type" defines whether the mail ought to be sent as plain text ("text/plain"), as html ("text/html") or as multipart/alternative ("ALTERNATIVE"). Sending a mail requires some special fields inside JSON mail object. The field "infostore_ids" defines a JSON array of infostore document ID(s) that ought to be appended to this mail as attachments. The field "msgref" indicates the ID of the referenced original mail. Moreover the field "sendtype" indicates the type of the message:
0 (normal new mail),
1 (a reply mail, field `msgref` must be present),
2 (a forward mail, field `msgref` must be present),
3 (draft edit operation, field `msgref` must be present in order to delete previous draft message since e.g. IMAP does not support changing/replacing a message but requires a delete-and-insert sequence),
4 (transport of a draft mail, field `msgref` must be present),
6 (signals that user intends to send out a saved draft message and expects the draft message (referenced by `msgref` field) being deleted after successful transport). The `csid` field, if it is missing from the URL it must then be present in the body.'Content-type: application/x-www-form-urlencoded-
MailData object {
- nested_msgs(array[object], optional): An array containing additional mails that are attached to this mail.
- security_info(array[GuardSecurityInfo], optional): Information if mail is encrypted or signed. Requires Guard
- security(array[GuardSecurityResult], optional): Information regarding signature verification or decryption type after processed by Guard
- authenticity(inline_schema_authenticity, optional): Informations about the authenticity of the sender domain.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
GuardSecurityInfo object {
- encrypted(boolean, optional): True if the mail is currently encrypted
- signed(boolean, optional): True if the email has signatures
-
GuardSecurityResult object {
- decrypted(boolean, optional): True if the mail has been decrypted.
- type(string, optional): Type of encryption. Currently only PGP supported
- pgpInline(boolean, optional): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures(array[GuardSignatureResult], optional): Array of signatures, if any, and the verification status
-
GuardSignatureResult object {
- verified(boolean, optional): True if the signature was verified and correct
- missing(boolean, optional): True if the signature could not be verified due to missing public key
- date(integer, optional): Date of the signature in ticks
-
inline_schema_authenticityInformations about the authenticity of the sender domain.{
- dmarc(inline_schema_dmarc, optional): The DMARC authentication results
- dkim(inline_schema_dkim, optional): The DKIM authentication results
- spf(inline_schema_spf, optional): The SPF authentication results
- unconsidered_results(array[object], optional): A list of unconsidered results
- trusted(boolean, optional): Defines whether the sender is a trusted sender.
- image(string, optional): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain(string, optional): The from domain
- status(string, optional): The overall authenticity status
-
inline_schema_dmarcThe DMARC authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_dkimThe DKIM authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_spfThe SPF authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
Responses:
200:
'A JSON object containing the identifier of the saved draft e-mail. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
MailsResponse object {
- data(array[array[string]], optional): Array of mails. Each mail is described as an array itself.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) The identifier of the folder to provide the status information for
query string Responses:
200:
'The JSON representation for the status information. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ExamineResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- validity(string, optional): The folder validity string.
- total(integer, optional): The number of total messages.
- unread(integer, optional): The number of unread messages.
- next(string, optional): The expected next identifier.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the requested attachment (can be substituted by the parameter `cid` otherwise this parameter is **mandatory**).
query string cid (empty) Value of header 'Content-ID' of the requested attachment (can be substituted by the parameter `attachment` otherwise this parameter is **mandatory**).
query string save (empty) 1 overwrites the defined mimetype for this attachment to force the download dialog, otherwise 0.
query integer filter (empty) 1 to apply HTML white-list filter rules if and only if requested attachment is of MIME type `text/htm*` **AND** parameter `save` is set to 0.
query integer allow_nested_messages (empty) A value of "false" leads to light-weight JSON objects for nested messages containing only the "id" field
query boolean scan (empty) Flag to request an Anti-Virus scan for the specified e-mail attachment before downloading it. Note that if there is a max file limitation set on the middleware, the URL parameter 'exact_length' has to be set to 'true' to instruct the middleware to calculate the attachment's size before passing it to the Anti-Virus scanner.
query boolean as_json (empty) Nested messages are parsed into full JSON objects. Can lead to longer loading times, for multiple nested messages.
query boolean decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string rotate (empty) Adds a 'rotate' transformation, leading to the image being rotated according to the contained EXIF information.
query boolean width (empty) The maximum width of the target image.
query integer height (empty) The maximum height of the target image.
query integer shrinkOnly (empty) Set to true to only scale images 'greater than' target size.
query boolean scaleType Defines the scale type. Possible value:
cover
- The "cover" scale type, specifying the minimum target dimensions.
The source image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "cover", will result in the picture being resized to 267x200 pixels.contain
- The "contain" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "contain", will result in the picture being resized to 200x150 pixels.containforcedimension
- The "containforcedimension" scale type, specifying the maximum target dimensions.
The source image will be resized in a way that the resulting image fits into the target resolution entirely, with the original aspect ratio being preserved while smaller sides get padded to fit exact dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "containforcedimension", will result in the picture being first resized to 200x150 pixels, then height gets padded by 25 pixels per side resulting in exactly 200x200 pixels.coverandcrop
- The "coverandcrop" scale type, specifying the target dimensions.
If the source image is bigger than the target dimension, in a first step the image will be resized in a way that the resulting image covers the target resolution entirely, with the original aspect ratio being preserved. In a second step the image will be cropped to fit the target dimension. For example, scaling an image with an original resolution of 640x480 pixels to 200x200 pixels and type "coverandcrop", will result in the picture being resized to 267x200 pixels and then cropped to fit 200x200. In case the image is smaller than then target dimension the image will not be resized and instead it gets padded to fit exact dimension. For example, with an original resolution of 100x100 pixels and a target dimension of 200x200 pixels and type "coverandcrop", will result in the picture being padded on all sides with 50 pixels.auto
- The "auto" scale type.
query string cropWidth (empty) The width of the specified rectangular region.
query integer cropHeight (empty) The height of the specified rectangular region.
query integer cropX (empty) The X coordinate of the upper-left corner of the specified rectangular region.
query integer cropY (empty) The Y coordinate of the upper-left corner of the specified rectangular region.
query integer Responses:
200:
The raw byte data of the document. The response type for the HTTP Request is set accordingly to the defined mimetype for this attachment, except the parameter save is set to 1.
Content-type: application/json-
string
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachment.
query string attachment (empty) ID of the requested attachment.
query string dest_folder (empty) Object ID of the folder in which the attachment should be stored.
query string Body:
Description:A possible empty JSON object containing the optional fields `description` and `filename`. The filename and description values will be used for the newly created file in the drive module.
Content-type: application/json-
PutAttachmentBody object {
- filename(string, optional): The name of the newly created drive file.
- description(string, optional): The description of the newly created drive file.
Responses:
200:
A JSON object containting the data of the store operation. E.g. contains the id of the newly created drive file.
Content-type: application/json-
PutAttachmentResponse object {
- data(inline_schema_data, optional): No description available
-
inline_schema_data {
- mailFolder(string, optional): Object ID of the folder who contains the mails.
- mailUID(string, optional): Object ID of the mail which contains the attachment.
- id(string, optional): Object ID of the newly created drive file.
- folder_id(string, optional): Object ID of the folder in which the attachment is stored to.
- filename(string, optional): Name of the newly created drive file.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Not IMAP: timestamp of the last update of the deleted mails.
query long Body:
Description:A JSON array with object IDs of the mail folders that shall be cleared.
Content-type: application/json-
array[string]
Responses:
200:
A JSON array with IDs of mail folder that could not be cleared; meaning the response body is an empty JSON array if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsCleanUpResponse object {
- data(array[string], optional): Not IMAP: An array with object IDs of mails which were modified after the specified timestamp and were therefore not deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the mail which contains the attachments.
query string attachment (empty) A comma-separated list of IDs of the requested attachments.
query string scan (empty) Flag to request an Anti-Virus scan for the specified e-mail attachments before downloading them.
query boolean Responses:
200:
The raw byte data of the ZIP file.
Content-type: application/zip-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string sort (empty) The identifier of a column which determines the sort order of the response or the string “thread” to return thread-sorted messages. If this parameter is specified and holds a column number, then the parameter order must be also specified. Note: Applies only to root-level messages.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.
query string size (empty) The optional number of latest messages to consider.
query integer Body:
Description:A JSON object describing the search term as introducted in Advanced search. Example: `{"filter":["and",["=", {"field":"to"},"test1@example.com"],["not",["=",{"attachment":"name"},"document.pdf"]]]}` which represents 'to = "test1@example.com" AND NOT from = "test2@example.com"'. Available field names are `from`, `to`, `cc`, `bcc`, `subject`, `received_date`, `sent_date`, `size`, `flags`, `content`, `content_type`, `disp`, and `priority`.
Content-type: application/x-www-form-urlencoded-
string
Responses:
200:
A JSON object containing an array of objects, each representing a message thread with informations about the root and last mail. The `thread` field is a JSON array of objects each representing a message in the conversation sorted by time-line and filled with the specified `columns`. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailThreadReferencesResponse object {
- data(array[MailThreadReferenceData], optional): An array of JSON objects each representing a conversation.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailThreadReferenceData object {
- rootMailId(string, optional): The unique id of the root mail.
- rootOriginalMailId(string, optional): The original unique id of the root mail.
- rootOriginalFolderId(string, optional): The original folder id of the root mail.
- latestMailId(string, optional): The unique id of the latest mail.
- latestOriginalMailId(string, optional): The original unique id of the latest mail.
- latestOriginalFolderId(string, optional): The original folder id of the latest mail.
- latestReceivedDate(integer, optional): Date and time as measured by the receiving server of the latest mail.
- thread(array[MailData], optional): JSON array consisting of JSON objects, each representing a message in the conversation.
-
MailData object {
- nested_msgs(array[object], optional): An array containing additional mails that are attached to this mail.
- security_info(array[GuardSecurityInfo], optional): Information if mail is encrypted or signed. Requires Guard
- security(array[GuardSecurityResult], optional): Information regarding signature verification or decryption type after processed by Guard
- authenticity(inline_schema_authenticity, optional): Informations about the authenticity of the sender domain.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
GuardSecurityInfo object {
- encrypted(boolean, optional): True if the mail is currently encrypted
- signed(boolean, optional): True if the email has signatures
-
GuardSecurityResult object {
- decrypted(boolean, optional): True if the mail has been decrypted.
- type(string, optional): Type of encryption. Currently only PGP supported
- pgpInline(boolean, optional): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures(array[GuardSignatureResult], optional): Array of signatures, if any, and the verification status
-
GuardSignatureResult object {
- verified(boolean, optional): True if the signature was verified and correct
- missing(boolean, optional): True if the signature could not be verified due to missing public key
- date(integer, optional): Date of the signature in ticks
-
inline_schema_authenticityInformations about the authenticity of the sender domain.{
- dmarc(inline_schema_dmarc, optional): The DMARC authentication results
- dkim(inline_schema_dkim, optional): The DKIM authentication results
- spf(inline_schema_spf, optional): The SPF authentication results
- unconsidered_results(array[object], optional): A list of unconsidered results
- trusted(boolean, optional): Defines whether the sender is a trusted sender.
- image(string, optional): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain(string, optional): The from domain
- status(string, optional): The overall authenticity status
-
inline_schema_dmarcThe DMARC authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_dkimThe DKIM authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_spfThe SPF authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string columns (empty) A comma-separated list of either columns or header names to return, like "600,601,X-Custom-Header". Each column is specified by a numeric column identifier, see Detailed mail data.
query string headers (empty) A comma-separated list of header names to return, like "From,X-Custom-Header". This parameter can be used in addition to the columns parameter.
query string unseen (empty) If `true` only mails without the `\Seen` flag are returned.
query boolean deleted (empty) If `false` only mails without the `\Deleted` flag are returned.
query boolean sort (empty) The identifier of a column which determines the sort order of the response or the string “thread” to return thread-sorted messages. If this parameter is specified and holds a column number, then the parameter order must be also specified. Note: Applies only to root-level messages.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified. Note: Applies only to root-level messages.
query string includeSent (empty) A boolean value to signal that conversations also include messages taken from special "sent" aka "sent items" folder.
query boolean left_hand_limit (empty) A positive integer number to specify the "left-hand" limit of the range to return. Note: Applies only to root-level messages.
query integer right_hand_limit (empty) A positive integer number to specify the "right-hand" limit of the range to return. Note: Applies only to root-level messages.
query integer limit (empty) A positive integer number to specify how many items shall be returned according to given sorting; overrides `left_hand_limit`/`right_hand_limit` parameters and is equal to `left_hand_limit=0` and `right_hand_limit=
`. Note: Applies only to root-level messages. query integer categoryid (empty) The category id to filter for. Retrieves all conversations with at least one mail in the category.
query string max (empty) The max. number of messages to consider.
query string Responses:
200:
A JSON object containing an array of objects, each representing a conversation's root message along with its message thread. The root message's JSON object is filled according to the specified `columns` and is enhanced by a special `thread` field representing the full message thread (including the root message itself). `thread` is a JSON array of objects each representing a message in the conversation sorted by time-line and filled with the specified `columns`. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailConversationsResponse object {
- data(array[MailConversationData], optional): An array of JSON objects each representing a conversation's root message.
- cache(boolean, optional): If present and set to true, that parameter signals that response has been fetched from cache
- more(integer, optional): If present that parameter signals how many items are totally available since client requested a certain chunk from overall result set
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailConversationData object {
- unreadCount(integer, optional): No description available
- thread(array[MailData], optional): JSON array consisting of JSON objects, each representing a message in the conversation.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array, optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
MailData object {
- nested_msgs(array[object], optional): An array containing additional mails that are attached to this mail.
- security_info(array[GuardSecurityInfo], optional): Information if mail is encrypted or signed. Requires Guard
- security(array[GuardSecurityResult], optional): Information regarding signature verification or decryption type after processed by Guard
- authenticity(inline_schema_authenticity, optional): Informations about the authenticity of the sender domain.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
GuardSecurityInfo object {
- encrypted(boolean, optional): True if the mail is currently encrypted
- signed(boolean, optional): True if the email has signatures
-
GuardSecurityResult object {
- decrypted(boolean, optional): True if the mail has been decrypted.
- type(string, optional): Type of encryption. Currently only PGP supported
- pgpInline(boolean, optional): True if the mail was encrypted using PGP Inline rather than PGP Mime
- signatures(array[GuardSignatureResult], optional): Array of signatures, if any, and the verification status
-
GuardSignatureResult object {
- verified(boolean, optional): True if the signature was verified and correct
- missing(boolean, optional): True if the signature could not be verified due to missing public key
- date(integer, optional): Date of the signature in ticks
-
inline_schema_authenticityInformations about the authenticity of the sender domain.{
- dmarc(inline_schema_dmarc, optional): The DMARC authentication results
- dkim(inline_schema_dkim, optional): The DKIM authentication results
- spf(inline_schema_spf, optional): The SPF authentication results
- unconsidered_results(array[object], optional): A list of unconsidered results
- trusted(boolean, optional): Defines whether the sender is a trusted sender.
- image(string, optional): In case the result is positive and the mail address of the sender is a trusted mail address this field contains the uid of the image if one exists. The image can be obtained from the image module.
- from_domain(string, optional): The from domain
- status(string, optional): The overall authenticity status
-
inline_schema_dmarcThe DMARC authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_dkimThe DKIM authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
inline_schema_spfThe SPF authentication results{
- result(string, optional): The result of the mechanism
- reason(string, optional): The reason of the status
- from_domain(string, optional): The origin domain of the sender
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object providing the share reference to resolve
Content-type: application/json-
ResolveShareReferenceElement object {
- reference(string, required): The reference string.
Responses:
200:
'The JSON representation for the resolved share reference. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
ResolveShareReferenceResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- shareToken(string, optional): The associated share token.
- contextId(integer, optional): The originator's context identifier.
- userId(integer, optional): The originator's user identifier.
- files(array[object], optional): The file meta data.
- password(string, optional): The optional password that protects the share link.
- expiration(integer, optional): The optional expiration date of the share link.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Not IMAP: timestamp of the last update of the deleted mails.
query long harddelete (empty) Flag to hard delete the messages, meaning not to create a backup copy of each message in default trash if set to `true`.
query boolean returnAffectedFolders (empty) Flag to generate an JSON response as described below. If set to `false` just an empty JSON Array is returned.
query boolean Body:
Description:A JSON array of JSON objects with the id and folder of the mails.
Content-type: application/json-
MailListElement object {
- id(string, required): The object ID of the mail.
- folder(string, required): The object ID of the related folder.
-
array[MailListElement]
Responses:
200:
Not IMAP: A JSON array with object IDs of mails which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailsCleanUpResponse object {
- data(array[string], optional): Not IMAP: An array with object IDs of mails which were modified after the specified timestamp and were therefore not deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored.
query string max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse object {
- data(MailReplyData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailReplyData object {
- msgref(string, optional): Indicates the ID of the referenced original mail.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean save (empty) 1 to write the complete message source to output stream. **NOTE:** This parameter will only be used if parameter `src` is set to 1.
query integer Responses:
200:
A JSON object containing the complete message source as plain text. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailSourceResponse object {
- data(string, optional): The complete message source as plain text.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested mail (can be substituded by `message_id` parameter).
query string message_id (empty) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter.
query string unseen (empty) Use `true` to leave an unseen mail as unseen although its content is requested.
query boolean Responses:
200:
A JSON object containing the message headers as plain text. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailHeadersResponse object {
- data(string, optional): The (formatted) message headers as plain text.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the mails.
query string id (empty) Object ID of the requested message.
query string view Content 'text' forces the server to deliver a text-only version of the requested mail's body, even if content is HTML. 'html' to allow a possible HTML mail body being transferred as it is (but white-list filter applied). NOTE: if set, the corresponding gui config setting will be ignored.
query string setFrom (empty) A flag (`true`/`false`) that signals if "From" header shall be pre-selected according to a suitable recipient address that matches one of user's E-Mail address aliases.
query boolean max_size (empty) A positive integer number (greater than 10000) to specify how many characters of the message content will be returned. If the number is smaller than 10000 the value will be ignored and 10000 used.
query integer decrypt (empty) If true, and the object is encrypted, an attempt will be made to decrypt the object. An error will be thrown if needed authentication isn't available. (Guard Required)
query boolean cryptoAuth (empty) Authentication token used for Guard in order to decrypt or sign items. Required if the token is not attached to the session and the decrypt flag was sent.
query string Responses:
200:
A JSON object containing all data of the requested mail. Not IMAP: with timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailReplyResponse object {
- data(MailReplyData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailReplyData object {
- msgref(string, optional): Indicates the ID of the referenced original mail.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive).
- id(string, optional): Object ID of the mail.
- folder_id(string, optional): Object ID of the parent folder.
- attachment(boolean, optional): Indicates whether this mail has attachments.
- from(array[array[string]], optional): Each element is a two-element array specifying one sender (address). The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values.
- to(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one receiver.
- cc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one carbon-copy receiver.
- bcc(array[array[string]], optional): Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver.
- subject(string, optional): The mail's subject.
- size(integer, optional): The size if the mail in bytes.
- sent_date(integer, optional): Date and time as specified in the mail by the sending client.
- received_date(integer, optional): Date and time as measured by the receiving server.
-
flags(integer, optional):
Various system flags. A sum of zero or more of following values (see javax.mail.Flags.Flag for details).
* 1 (answered),
* 2 (deleted),
* 4 (draft),
* 8 (flagged),
* 16 (recent),
* 32 (seen),
* 64 (user),
* 128 (spam),
* 256 (forwarded)
- level(integer, optional): Zero-based nesting level in a thread.
- disp_notification_to(string, optional): Content of message's header "Disposition-Notification-To".
-
priority(integer, optional):
Value of message's X-Priority header.
* 0 (no priority),
* 5 (very low),
* 4 (low),
* 3 (normal),
* 2 (high),
* 1 (very high)
- msg_ref(string, optional): Message reference on reply/forward.
- flag_seen(string, optional): Special field to sort mails by seen status.
- account_name(string, optional): Message's account name.
- account_id(integer, optional): Message's account identifier.
- user(array[string], optional): An array with user-defined flags as strings.
- headers(object, optional): A map with fields for every non-standard header. The header name is the field name. The header value is the value of the field as string.
- attachments(array[MailAttachment], optional): Each element is an attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative.
- truncated(boolean, optional): `true` / `false` if the mail content was trimmed.
- source(string, optional): RFC822 source of the mail. Only present for "?action=get&attach_src=true".
- cid(string, optional): The value of the "Content-ID" header, if the header is present.
- original_id(string, optional): The original mail identifier (e.g. if fetched from "virtual/all" folder).
- original_folder_id(string, optional): The original folder identifier (e.g. if fetched from "virtual/all" folder).
- content_type(string, optional): The MIME type of the mail.
- text_preview(string, optional): The optional preview of the mail body
-
MailAttachment object {
- id(string, optional): Object ID (unique only inside the same message).
- content_type(string, optional): MIME type.
- content(string, optional): Content as text. Present only if easily convertible to text.
- filename(string, optional): Displayed filename (mutually exclusive with content).
- size(integer, optional): Size of the attachment in bytes.
- disp(string, optional): Attachment's disposition.
-
-
-
Mail_categories
The module mail_categories allows to manage mail categories.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string category_ids (empty) A comma separated list of category identifiers. If set only the unread counters of this categories are retrieved.
query string Responses:
200:
'A JSON object with a field for each active category containing the number of unread messages. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
Mail_CategoriesUnreadResponse object {
- data(object, optional): A JSON object with a field for each active category containing the number of unread messages.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string category_id (empty) The identifier of a category.
query string apply-for-existing (empty) A flag indicating whether old mails should be reorganized. Defaults to 'false'.
query boolean apply-for-future-ones (empty) A flag indicating whether a rule should be created or not. Defaults to 'true'.
query boolean Body:
Description:'A JSON object containing a "from" field which contains an array of mail addresses.'
Content-type: application/json-
Mail_CategoriesTrainBody object {
- from(array[string], optional): An array of email addresses
Responses:
200:
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string category_id (empty) The identifier of a category.
query string Body:
Description:'A JSON array of mail identifier, e.g.: [{"id":ID, "folder_id":FID},{"id":ID2, "folder_id":FID2}, {...}]'
Content-type: application/json-
Mail_CategoriesMoveBody object {
- id(string, optional): The object ID of the mail
- folder_id(string, optional): The folder ID of the mail
-
array[Mail_CategoriesMoveBody]
Responses:
200:
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).'
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Mailaccount
The mailaccount module is used to manage multiple mail accounts held by a user.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Account ID of the requested account.
query integer Responses:
200:
An object containing all data of the requested account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountResponse object {
- data(MailAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The optional account identifier to query the status for a single mail account. If not set the status for all accounts are returned
query integer Responses:
200:
A small JSON response providing the accounts' status information; such as "ok" or "invalid_credentials" In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountStatusResponse object {
- data(inline_schema_data, optional): No description available
- warnings(CommonResponse, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- status(string, optional): The status' identifier, such as "ok" or "invalid_credentials"
- message(string, optional): An optional human-readable status-related message
-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object identifying (by field `id`) and describing the account to update. Only modified fields are present.
Content-type: application/json-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
Responses:
200:
A JSON object containing the data of the updated mail account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountUpdateResponse object {
- data(MailAccountData, optional): No description available
- warnings(array[CommonResponse], optional): An array of error objects that occurred during the creation of the account.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string tree (empty) Indicates whether on successful validation the folder tree shall be returned (or `null`on failure) or if set to `false` or missing only a boolean is returned which indicates validation result.
query boolean Body:
Description:A JSON object describing the account to validate.
Content-type: application/json-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
Responses:
200:
A JSON object that contains a value representing the validation result (may be a boolean or a folder tree object). If the validation fails then the error fields are filled and an additional `warnings` field might be added.
Content-type: application/json-
MailAccountValidationResponse object {
- data(object, optional): 'A boolean if parameter `tree` is not specified indicating the validation result otherwise the folder tree object FolderData extended by a field `subfolder_array` that contains possible subfolders. In the tree case a value of `null` indicating a failed validation.'
- warnings(CommonResponse, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Mail account data.
query string Responses:
200:
A JSON object containing an array with data for all mail accounts. Each array element describes one account and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountsResponse object {
- data(object, optional): Array of mail accounts. Each account is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the new account to create.
Content-type: application/json-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
Responses:
200:
A JSON object containing the data of the inserted mail account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountUpdateResponse object {
- data(MailAccountData, optional): No description available
- warnings(array[CommonResponse], optional): An array of error objects that occurred during the creation of the account.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailAccountData object {
- id(integer, optional): The account identifier.
- name(string, required): The account's display name.
- login(string, required): The login name.
- password(string, required): The (optional) password.
- mail_url(string, required): The mail server URL, e.g. "imap://imap.somewhere.com:143". **URL is preferred over single fields** (like `mail_server`, `mail_port`, etc.).
- mail_server(string, optional): The mail server's hostname or IP address.
- mail_port(integer, optional): The mail server's port.
- mail_protocol(string, optional): The mail server's protocol. **Always use basic protocol name.** E.g. use "imap" instead of "imaps".
- mail_secure(boolean, optional): Whether to establish a secure connection to mail server (SSL, TLS).
- mail_starttls(boolean, optional): Whether to establish a secure connection to mail server via STARTTLS.
- mail_oauth(integer, optional): Provides the identifier of the associated OAuth account (if any) or `-1`.
- transport_url(string, optional): The transport server URL, e.g. "smtp://smtp.somewhere.com:25". **URL is preferred over single fields** (like `transport_server`, `transport_port`, etc.).
- transport_server(string, optional): The transport server's hostname or IP address.
- transport_port(integer, optional): The transport server's port.
- transport_protocol(string, optional): The transport server's protocol. **Always use basic protocol name.** E.g. use "smtp" instead of "smtps".
- transport_secure(boolean, optional): Whether to establish a secure connection to transport server (SSL, TLS).
- transport_login(string, optional): The transport login. **Please see `transport_auth` for the handling of this field.**
- transport_password(string, optional): The transport password. **Please see `transport_auth` for the handling of this field.**
- transport_auth(string, optional): Specifies the source for mail transport (SMTP) credentials. Possible values are `mail`, `custom`, and `none`. `mail` signals to use the same credentials as given in associated mail store (IMAP, POP3). `custom` signals that individual credentials are supposed to be used (fields `transport_login`, `transport_password` and/or `transport_oauth` are considered). `none` means the mail transport does not support any authentication mechanism (rare case!)
- transport_starttls(boolean, optional): Whether to establish a secure connection to transport server via STARTTLS.
- transport_oauth(integer, optional): The identifier of the OAuth account to use for mail transport. **Please see `transport_auth` for the handling of this field.**
- root_folder(string, optional): The fully-qualifying identifier of account's root folder, e.g. "default519".
- primary_address(string, required): The user's primary address in account, e.g. "someone@somewhere.com".
- spam_handler(string, optional): The name of the spam handler used by account.
- trash(string, optional): The name of the default trash folder.
- sent(string, optional): The name of the default sent folder.
- drafts(string, optional): The name of the default drafts folder.
- spam(string, optional): The name of the default spam folder.
- confirmed_spam(string, optional): The name of the default confirmed-spam folder.
- confirmed_ham(string, optional): The name of the default confirmed-ham folder.
- unified_inbox_enabled(boolean, optional): Whether Unified INBOX is enabled.
- trash_fullname(string, optional): Path to default trash folder. Preferred over `trash`.
- sent_fullname(string, optional): Path to default sent folder. Preferred over `sent`.
- drafts_fullname(string, optional): Path to default drafts folder. Preferred over `drafts`.
- spam_fullname(string, optional): Path to default spam folder. Preferred over `spam`.
- confirmed_spam_fullname(string, optional): Path to default confirmed-spam folder. Preferred over `confirmed_spam`.
- confirmed_ham_fullname(string, optional): Path to default confirmed-ham folder. Preferred over `confirmed_ham`.
- pop3_refresh_rate(integer, optional): The interval in minutes the POP3 account is refreshed.
- pop3_expunge_on_quit(boolean, optional): Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not.
- pop3_delete_write_through(boolean, optional): If option `pop3_expunge_on_quite` is disabled, this field defines whether a deleted in local INBOX also deletes affected message in actual POP3 account.
- pop3_storage(string, optional): The name of POP3 storage provider, default is "mailaccount".
- pop3_path(string, optional): Path to POP3's virtual root folder in storage, default name of the POP3 account beside default folders.
- personal(string, optional): The customizable personal part of the email address.
- reply_to(string, optional): The customizable reply-to email address.
- addresses(string, optional): The comma-separated list of available email addresses including aliases (**only available for primary mail account**).
- meta(string, optional): Stores arbitrary JSON data as specified by client associated with the mail account.
- archive(string, optional): The name of the archive folder. **Currently not functional!**
- archive_fullname(string, optional): The full name of the archive folder. **Currently not functional!**
-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array with the ID of the mail account that shall be deleted.
Content-type: application/json-
array[integer]
Responses:
200:
A JSON object containing an array with identifiers of deleted accounts. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailAccountDeletionResponse object {
- data(array[integer], optional): An array containing the identifiers of the mail accounts that were deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
MailCompose
The MailCompose REST API.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Body:
Description:No description available
Content-type: multipart/form-data-
postAttachmentsBody object {
- file(string, required): The file to add
Responses:
200:
A JSON object containing the newly added attachment.
Content-type: application/json-
MailComposeAttachmentResponse object {
- data(MailComposeAttachment, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeAttachment objectAn attachment object.{
- id(string, optional): The attachment id
- name(string, optional): The attachment name
- size(integer, optional): The attachments size in bytes
- mimeType(string, optional): The mime type
- cid(string, optional): The attachments content identifier
- contentDisposition(string, optional): Allows filtering. Inline images don't need to be displayed in the attachment list.
- origin(string, optional): Origin of file, i.e. File from drive instead of local attachment.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Responses:
200:
A JSON object containing the requested composition space.
Content-type: application/json-
MailComposeResponse object {
- data(MailComposeMessageModel, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeMessageModel object {
- id(string, optional): An address
- from(array[string], optional): Flat array of two strings. First item is display name, second item is email address.
- to(array[array[string]], optional): An array of addresses
- cc(array[array[string]], optional): An array of addresses
- bcc(array[array[string]], optional): An array of addresses
- subject(string, optional): The subject
- content(string, optional): The text content
- contentType(string, optional): The content type
- attachments(array[object], optional): An array of attachments
- meta(inline_schema_meta, optional): Object of meta information
- requestReadReceipt(boolean, optional): Request read receipt flag
- priority(string, optional): priority
- sharedAttachments(inline_schema_sharedAttachments, optional): The shared attachments object
- security(inline_schema_security, optional): The security settings
-
inline_schema_metaObject of meta information{
- type(string, optional): The type
-
date(integer, optional):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId(string, optional): Original folder id during reply or forward
- originalId(string, optional): Original message id during reply or forward
-
inline_schema_sharedAttachmentsThe shared attachments object{
- language(string, optional): The locale string
- enabled(boolean, optional): The enabled flag
- autodelete(boolean, optional): The auto delete flag
- expiryDate(integer, optional): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password(string, optional): The password
-
inline_schema_securityThe security settings{
- encrypt(boolean, optional): No description available
- pgpInline(boolean, optional): No description available
- sign(boolean, optional): No description available
- language(string, optional): No description available
- message(string, optional): No description available
- pin(string, optional): No description available
- msgRef(string, optional): No description available
- authentication(string, optional): No description available
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Body:
Description:An object containing the attributes to update
Content-type: application/json-
MailComposeMessageModel object {
- id(string, optional): An address
- from(array[string], optional): Flat array of two strings. First item is display name, second item is email address.
- to(array[array[string]], optional): An array of addresses
- cc(array[array[string]], optional): An array of addresses
- bcc(array[array[string]], optional): An array of addresses
- subject(string, optional): The subject
- content(string, optional): The text content
- contentType(string, optional): The content type
- attachments(array[object], optional): An array of attachments
- meta(inline_schema_meta, optional): Object of meta information
- requestReadReceipt(boolean, optional): Request read receipt flag
- priority(string, optional): priority
- sharedAttachments(inline_schema_sharedAttachments, optional): The shared attachments object
- security(inline_schema_security, optional): The security settings
-
inline_schema_metaObject of meta information{
- type(string, optional): The type
-
date(integer, optional):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId(string, optional): Original folder id during reply or forward
- originalId(string, optional): Original message id during reply or forward
-
inline_schema_sharedAttachmentsThe shared attachments object{
- language(string, optional): The locale string
- enabled(boolean, optional): The enabled flag
- autodelete(boolean, optional): The auto delete flag
- expiryDate(integer, optional): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password(string, optional): The password
-
inline_schema_securityThe security settings{
- encrypt(boolean, optional): No description available
- pgpInline(boolean, optional): No description available
- sign(boolean, optional): No description available
- language(string, optional): No description available
- message(string, optional): No description available
- pin(string, optional): No description available
- msgRef(string, optional): No description available
- authentication(string, optional): No description available
Responses:
200:
A JSON object containing the updated composition space.
Content-type: application/json-
MailComposeResponse object {
- data(MailComposeMessageModel, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeMessageModel object {
- id(string, optional): An address
- from(array[string], optional): Flat array of two strings. First item is display name, second item is email address.
- to(array[array[string]], optional): An array of addresses
- cc(array[array[string]], optional): An array of addresses
- bcc(array[array[string]], optional): An array of addresses
- subject(string, optional): The subject
- content(string, optional): The text content
- contentType(string, optional): The content type
- attachments(array[object], optional): An array of attachments
- meta(inline_schema_meta, optional): Object of meta information
- requestReadReceipt(boolean, optional): Request read receipt flag
- priority(string, optional): priority
- sharedAttachments(inline_schema_sharedAttachments, optional): The shared attachments object
- security(inline_schema_security, optional): The security settings
-
inline_schema_metaObject of meta information{
- type(string, optional): The type
-
date(integer, optional):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId(string, optional): Original folder id during reply or forward
- originalId(string, optional): Original message id during reply or forward
-
inline_schema_sharedAttachmentsThe shared attachments object{
- language(string, optional): The locale string
- enabled(boolean, optional): The enabled flag
- autodelete(boolean, optional): The auto delete flag
- expiryDate(integer, optional): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password(string, optional): The password
-
inline_schema_securityThe security settings{
- encrypt(boolean, optional): No description available
- pgpInline(boolean, optional): No description available
- sign(boolean, optional): No description available
- language(string, optional): No description available
- message(string, optional): No description available
- pin(string, optional): No description available
- msgRef(string, optional): No description available
- authentication(string, optional): No description available
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
deleteMailComposeByIdResponse object {
- success(boolean, optional): True if such a composition space has been successfully closed; false otherwise
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment
path string Responses:
200:
The attachment as file.
Content-type: application/json-
string
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment
path string Body:
Description:No description available
Content-type: multipart/form-data-
postAttachmentsBody object {
- file(string, required): The file to add
Responses:
200:
A JSON object containing the newly added attachment.
Content-type: application/json-
MailComposeAttachmentResponse object {
- data(MailComposeAttachment, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeAttachment objectAn attachment object.{
- id(string, optional): The attachment id
- name(string, optional): The attachment name
- size(integer, optional): The attachments size in bytes
- mimeType(string, optional): The mime type
- cid(string, optional): The attachments content identifier
- contentDisposition(string, optional): Allows filtering. Inline images don't need to be displayed in the attachment list.
- origin(string, optional): Origin of file, i.e. File from drive instead of local attachment.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string attachmentId (empty) The ID of the attachment
path string Responses:
200:
A JSON object containing the success status.
Content-type: application/json-
DeleteAttachmentsByIdBody object {
- success(boolean, optional): true if the attachment has been successfully deleted
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Responses:
200:
The path to the mail.
Content-type: application/json-
MailComposeSendResponse object {
- data(string, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Body:
Description:No description available
Content-type: multipart/form-data-
postMailComposeSendBody object {
- JSON(string, required): Represents the request body as JSON string containing the MailMessageModel.
- file(string, optional): The optional file to add
Responses:
200:
The path to the sent mail or {"success"=true}.
Content-type: application/json-
MailComposeSendResponse object {
- data(string, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Responses:
200:
A JSON object containing the new attachment.
Content-type: application/json-
MailComposeAttachmentResponse object {
- data(MailComposeAttachment, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeAttachment objectAn attachment object.{
- id(string, optional): The attachment id
- name(string, optional): The attachment name
- size(integer, optional): The attachments size in bytes
- mimeType(string, optional): The mime type
- cid(string, optional): The attachments content identifier
- contentDisposition(string, optional): Allows filtering. Inline images don't need to be displayed in the attachment list.
- origin(string, optional): Origin of file, i.e. File from drive instead of local attachment.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return. Each column is specified by the name of the Composition Space attribute. If no columns are specified only the "id" column is set.
query string Responses:
200:
A JSON array containing message models.
Content-type: application/json-
MailComposeGetResponse object {
- data(array[MailComposeMessageModel], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeMessageModel object {
- id(string, optional): An address
- from(array[string], optional): Flat array of two strings. First item is display name, second item is email address.
- to(array[array[string]], optional): An array of addresses
- cc(array[array[string]], optional): An array of addresses
- bcc(array[array[string]], optional): An array of addresses
- subject(string, optional): The subject
- content(string, optional): The text content
- contentType(string, optional): The content type
- attachments(array[object], optional): An array of attachments
- meta(inline_schema_meta, optional): Object of meta information
- requestReadReceipt(boolean, optional): Request read receipt flag
- priority(string, optional): priority
- sharedAttachments(inline_schema_sharedAttachments, optional): The shared attachments object
- security(inline_schema_security, optional): The security settings
-
inline_schema_metaObject of meta information{
- type(string, optional): The type
-
date(integer, optional):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId(string, optional): Original folder id during reply or forward
- originalId(string, optional): Original message id during reply or forward
-
inline_schema_sharedAttachmentsThe shared attachments object{
- language(string, optional): The locale string
- enabled(boolean, optional): The enabled flag
- autodelete(boolean, optional): The auto delete flag
- expiryDate(integer, optional): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password(string, optional): The password
-
inline_schema_securityThe security settings{
- encrypt(boolean, optional): No description available
- pgpInline(boolean, optional): No description available
- sign(boolean, optional): No description available
- language(string, optional): No description available
- message(string, optional): No description available
- pin(string, optional): No description available
- msgRef(string, optional): No description available
- authentication(string, optional): No description available
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string type (empty) One of new/reply/replyall/forward/resend/edit/copy
query string vcard (empty) Attach users vcard
query boolean Body:
Description:Array of Objects (id, folderId) to reference mails (reply or multiple on forward as example)
Content-type: application/json-
array[object]
Responses:
200:
A JSON object containing the newly created message model.
Content-type: application/json-
MailComposeResponse object {
- data(MailComposeMessageModel, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeMessageModel object {
- id(string, optional): An address
- from(array[string], optional): Flat array of two strings. First item is display name, second item is email address.
- to(array[array[string]], optional): An array of addresses
- cc(array[array[string]], optional): An array of addresses
- bcc(array[array[string]], optional): An array of addresses
- subject(string, optional): The subject
- content(string, optional): The text content
- contentType(string, optional): The content type
- attachments(array[object], optional): An array of attachments
- meta(inline_schema_meta, optional): Object of meta information
- requestReadReceipt(boolean, optional): Request read receipt flag
- priority(string, optional): priority
- sharedAttachments(inline_schema_sharedAttachments, optional): The shared attachments object
- security(inline_schema_security, optional): The security settings
-
inline_schema_metaObject of meta information{
- type(string, optional): The type
-
date(integer, optional):
The date we should use for "On 6.6.2018 someone
wrote:". Server decides whether this is sent or received date. Milliseconds since January 1, 1970, 00:00:00 GMT - originalFolderId(string, optional): Original folder id during reply or forward
- originalId(string, optional): Original message id during reply or forward
-
inline_schema_sharedAttachmentsThe shared attachments object{
- language(string, optional): The locale string
- enabled(boolean, optional): The enabled flag
- autodelete(boolean, optional): The auto delete flag
- expiryDate(integer, optional): The expiry date. Milliseconds since January 1, 1970, 00:00:00 GMT
- password(string, optional): The password
-
inline_schema_securityThe security settings{
- encrypt(boolean, optional): No description available
- pgpInline(boolean, optional): No description available
- sign(boolean, optional): No description available
- language(string, optional): No description available
- message(string, optional): No description available
- pin(string, optional): No description available
- msgRef(string, optional): No description available
- authentication(string, optional): No description available
400:
Bad request, response contains error message.
401:
Not authorized
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the composition space
path string Responses:
200:
A JSON array containing the added attachments to concat.
Content-type: application/json-
MailComposeAttachmentPostResponse object {
- data(array[MailComposeAttachment], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailComposeAttachment objectAn attachment object.{
- id(string, optional): The attachment id
- name(string, optional): The attachment name
- size(integer, optional): The attachments size in bytes
- mimeType(string, optional): The mime type
- cid(string, optional): The attachments content identifier
- contentDisposition(string, optional): Allows filtering. Inline images don't need to be displayed in the attachment list.
- origin(string, optional): Origin of file, i.e. File from drive instead of local attachment.
400:
Bad request, response contains error message.
401:
Not authorized
-
-
-
Mailfilter
The mailfilter module is used to access all mail filter related options. First of all the main structure of a mail filter script is, that it has different rules. Each of them contains one command. This command takes a test condition which executes the actions given in that command if the test condition is true. The test condition consists of a test command and some arguments for this command depending on the command itself. Because the available tests depend on the mail filter server, these tests must be determined at runtime. So that no test field is transferred to the server which it isn't able to handle. Examples for tests are `address`, `allof` and `anyof`. Each test has a special comparison. The list of available comparisons depends on the test given and the mail filter server configuration so they have to be determined at runtime too. See chapter Mail filter for more information.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON array with unique identifiers, which represents how the corresponding rules are order.
Content-type: application/json-
array[integer]
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object with the ID of the rule to delete.
Content-type: application/json-
MailFilterDeletionBody object {
- id(integer, optional): The ID of the rule that shall be deleted.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON array with unique identifiers, which represents how the corresponding rules are order.
Content-type: application/json-
array[integer]
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object with the ID of the rule to delete.
Content-type: application/json-
MailFilterDeletionBody object {
- id(integer, optional): The ID of the rule that shall be deleted.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object describing the rule with the `id` set (which identifies the rule to change). Only modified fields are present.
Content-type: application/json-
MailFilterRule object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTest, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTest object {
- test(MailFilterNotTest, optional): No description available
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string flag (empty) If given, only rules with this flag are returned.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with an array of rule-objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterRulesResponse object {
- data(array[MailFilterRule], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailFilterRule object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTest, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTest object {
- test(MailFilterNotTest, optional): No description available
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with the fields `tests` (containing an array of available test-objects, see Possible tests.) and `actioncommands` (containing an array of valid actions. See Possible action commands). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterConfigResponse object {
- data(MailFilterConfigData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailFilterConfigData object {
- tests(array[MailFilterConfigTest], optional): Array of available test-objects.
- actioncommands(array[string], optional): Array of available action commands.
- capabilities(array[string], optional): Array of supported imap capabilities
-
MailFilterConfigTest object {
- test(string, optional): The name of the test, see Possible tests.
- comparison(array[string], optional): An array of the valid comparison types for this test, see Possible comparisons.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string folderId (empty) The id of the folder the sieve rule should be applied to. If missing the rule will be applied to the inbox.
query string id (empty) The id of the sieve rule which should be applied.
query integer Responses:
200:
If the script was successfully applied the response contains just an empty array. In case of errors or warnings the array contains a result for each mail which contained an error or a warning. Those results contain further informations about the error or the warning. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterApplyResponse object {
- data(array[object], optional): The results per mail
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string folderId (empty) The id of the folder the sieve rule should be applied to. If missing the rule will be applied to the inbox.
query string Body:
Description:A JSON object describing the mail filter rule. If the field `position` is included, it's taken as the position of the rule in the array on the server side (this value shouldn't be greater than the size of all rules).
Content-type: application/json-
MailFilterRulev2 object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTestv2, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTestv2 object {
- test(MailFilterNotTestv2, optional): No description available
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTestv2 objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
If the script was successfully applied the response contains just an empty array. In case of errors or warnings the array contains a result for each mail which contained an error or a warning. Those results contain further informations about the error or the warning. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterApplyResponse object {
- data(array[object], optional): The results per mail
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with the text of the complete sieve script. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterScriptResponse object {
- data(string, optional): The mail filter script.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object describing the rule with the `id` set (which identifies the rule to change). Only modified fields are present.
Content-type: application/json-
MailFilterRulev2 object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTestv2, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTestv2 object {
- test(MailFilterNotTestv2, optional): No description available
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTestv2 objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string flag (empty) If given, only rules with this flag are returned.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with an array of rule-objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterRulesResponsev2 object {
- data(array[MailFilterRulev2], optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailFilterRulev2 object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTestv2, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTestv2 object {
- test(MailFilterNotTestv2, optional): No description available
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTestv2 objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with the fields `tests` (containing an array of available test-objects, see Possible tests.) and `actioncommands` (containing an array of valid actions. See Possible action commands). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterConfigResponsev2 object {
- data(MailFilterConfigDatav2, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MailFilterConfigDatav2 object {
- tests(array[MailFilterConfigTestv2], optional): Array of available test-objects.
- actioncmds(array[MailFilterConfigAction], optional): Array of available action-objects.
- options(inline_schema_options, optional): A options object containing additional information for the client.
-
MailFilterConfigTestv2 object {
- id(string, optional): The name of the test, see Possible tests and Simplified tests.
- comparisons(array[string], optional): An array of the valid comparison types for this test, see Possible comparisons.
- headers(array[string], optional): An array of valid headers for the envelope and address tests.
- parts(array[string], optional): An array of valid address parts for the envelope and address tests.
-
MailFilterConfigAction object {
- id(string, optional): The name of the action, see Possible actions.
-
inline_schema_optionsA options object containing additional information for the client.{
- allowNestedTests(boolean, optional): Defines if nested rules should be allowed by the client or not.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object describing the mail filter rule. If the field `position` is included, it's taken as the position of the rule in the array on the server side (this value shouldn't be greater than the size of all rules).
Content-type: application/json-
MailFilterRulev2 object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTestv2, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTestv2 object {
- test(MailFilterNotTestv2, optional): No description available
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTestv2 objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests and Simplified tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): The timezone which should be used for a date or currentdate test. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
A JSON object containing the ID of the newly created rule. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterCreationResponse object {
- data(integer, optional): The id of the newly created rule.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Responses:
200:
A JSON object with the text of the complete sieve script. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterScriptResponse object {
- data(string, optional): The mail filter script.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string username (empty) Must contain the user name for **admin mode**. So the normal credentials are taken for authentication but the mail filter of the user with this username is being changed.
query string Body:
Description:A JSON object describing the mail filter rule. If the field `position` is included, it's taken as the position of the rule in the array on the server side (this value shouldn't be greater than the size of all rules).
Content-type: application/json-
MailFilterRule object {
- id(integer, optional): A unique identifier of the rule (once created must not be changed).
- position(integer, optional): The position inside the mail filter list (starts with 0).
- rulename(string, optional): A name describing the rule, can be empty but must not contain a line break.
- active(boolean, optional): If this rule is active or not.
- flags(array[string], optional): An array containing flags which are set on this rule. Each flag can only contain the following characters: 1-9 a-z A-Z. Currently 3 flags are reserved here: "spam" which marks the default spam rule, "vacation" which marks the vacation rules and "autoforward" which marks an autoforwarding rule.
- test(MailFilterTest, optional): No description available
- actioncmds(array[MailFilterAction], optional): An array of action commands.
- text(string, optional): If this rule cannot be read in this string is filled containing the whole lines of this command.
- errormsg(string, optional): If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn't known.
-
MailFilterTest object {
- test(MailFilterNotTest, optional): No description available
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterNotTest objectA test object which result will be negated.{
- id(string, optional): The name of the test command, see Possible tests.
- comparison(string, optional): The comparison type, see Possible comparisons.
- addresspart(string, optional): The addresspart which shall be used for envelope or address tests, see Possible address parts.
- headers(array[string], optional): An array containing the header fields (for address-, envelope-, exists- and header-test).
- header(string, optional): The header field of the date test.
- values(array[string], optional): An array containing the value for the header fields or the values for the body. The test will be true if any of the strings matches (for address-, envelope-, header-test and body-test).
- size(integer, optional): The size in bytes (for size-test).
- datepart(string, optional): Type of the comparison, which can be "date", "weekday" or "time" (for currentdate-test).
- datevalue(array[integer], optional): Contains the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 (sunday) to 6 (saturday) reflecting the equivalent weekday (for currentdate-test).
- zone(string, optional): Containing the timezone of date or currentdate tests. E.g. "+0100". If omitted the current timezone of the user is used.
- extensionskey(string, optional): The extension key (for body-test).
- extensionsvalue(string, optional): A value for the given key. If the key has no value the value given here is ignored (for body-test).
-
MailFilterAction object {
- id(string, optional): A string defining the object itself (e.g. "keep" or "discard").
- to(string, optional): A string containing where the mail should be redirected to (for redirect-command).
- into(string, optional): This string takes the object id of the destination mail folder (for move-command).
- text(string, optional): A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command).
- days(string, optional): The days for which a vacation text is returned (for vacation-command).
- addresses(array[string], optional): The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent.
-
from(object, optional):
Support for the ":from" tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear
. The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. (for vacation-command) - subject(string, optional): The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command).
- flags(array[string], optional): An array containing the flags which should be added or set to a mail. A flag can either be a system flag or a user flag. System flags begin with a backslash and can be: "seen", "answered", "flagged", "deleted", "draft" or "recent". User flags begin with a dollar sign and can contain any ASCII characters between 0x21 ("!") and 0x7E ("~") (inclusive), except for 0x22 ("), 0x25 (%), 0x28 ((), 0x29 ()), 0x2A (*), 0x5C (backslash), 0x5D (]) and 0x7B ({). Mail color flags as used by OX are implemented by user flags of the form `$cl_n`, where "n" is a number between 1 and 10 (inclusive). (for addflags- and setflags-command)
- message(string, optional): The content of the notification message (for notify-command).
- method(string, optional): The method of the notification message, eg. `mailto:012345678@sms.gateway` (for notify-command).
- keys(array[string], optional): The public keys which should be used for encryption (for pgp-command).
- copy(boolean, optional): An optional boolean flag indicating whether a copy tag should be added to the fileinto or redirect command or not.
Responses:
200:
A JSON object containing the ID of the newly created rule. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MailFilterCreationResponse object {
- data(integer, optional): The id of the newly created rule.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Messaging
The messaging module is divided into services which represent a messaging backend (they add a new folder module "messaging"), into accounts which represent the concrete configuration of accounts for a given messaging service, and into messages which represent single messages consisting of some metadata, headers and a content.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string recipients (empty) A list of recipients as defined in RFC822, like "Joe Doe
". If set the message is sent to the given list of recipients, otherwise this defaults to the "To" header of the message. query string Body:
Description:A JSON array of JSON arrays with the folder and ID as elements each identifying a message.
Content-type: spplication/json-
MessagingMessageData object {
- id(string, optional): The ID of the message. Only unique in the given folder.
- folder(string, optional): The folder ID.
- threadLevel(integer, optional): The nesting level of this message according to the conversation it's belonged to. May not be set.
- flags(integer, optional): Bitmask showing the state of this message. The same as in the module mail.
- receivedDate(integer, optional): The time this message was received.
- colorLabel(integer, optional): An arbitrary number marking the message in a certain color. The same as the color label common to all groupware objects.
- user(array[string], optional): An array of strings representing user flags.
- size(integer, optional): The size of the message in bytes.
- picture(string, optional): The URL to a picture for this message.
- url(string, optional): A link to the messages origin currently used in RSS messages.
- sectionId(string, optional): The section ID of a certain message part, if the content-type is `multipart/*`.
- headers(object, optional): A JSON object of header data. Usually the value is either a string or an array (if it has more than one value). Certain headers are rendered as more complex structures.
- body(object, optional): A JSON object representing the content of the message.
Responses:
200:
A JSON object containing the number 1 if message could be sent. In case of errors the responsible fields in the response are filled (see Error handling.
Content-type: application/json-
MessagingMessageUpdateResponse object {
- data(integer, optional): The response value.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string messagingService (empty) The messaging service ID that the account belongs to.
query string id (empty) The messaging account ID.
query integer Responses:
200:
A JSON object containing the number 1 if deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingAccountUpdateResponse object {
- data(integer, optional): The response value.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the modified data of the account. The fields `id` and `messagingService` must always be set.
Content-type: application/json-
MessagingAccountData object {
- id(integer, optional): Identifier of the messaging account.
- messagingService(string, optional): The messaging service ID of the messaging service this account belongs to.
- displayName(string, optional): User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration(object, optional): The configuration data according to the `formDescription` of the relevant messaging service.
Responses:
200:
A JSON object containing the number 1 if update was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingAccountUpdateResponse object {
- data(integer, optional): The response value.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the account to create. The ID is generated by the server and must not be present.
Content-type: application/json-
MessagingAccountData object {
- id(integer, optional): Identifier of the messaging account.
- messagingService(string, optional): The messaging service ID of the messaging service this account belongs to.
- displayName(string, optional): User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration(object, optional): The configuration data according to the `formDescription` of the relevant messaging service.
Responses:
200:
A JSON object containing the ID of the newly created account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingAccountUpdateResponse object {
- data(integer, optional): The response value.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string messagingService (empty) List only those accounts that belong to the given `messagingService`.
query string Responses:
200:
A JSON object containing an array with account objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingAccountsResponse object {
- data(array[MessagingAccountData], optional): An array containing JSON objects representing messaging accounts.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MessagingAccountData object {
- id(integer, optional): Identifier of the messaging account.
- messagingService(string, optional): The messaging service ID of the messaging service this account belongs to.
- displayName(string, optional): User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration(object, optional): The configuration data according to the `formDescription` of the relevant messaging service.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the message to load.
query string folder (empty) The folder ID of the message.
query string peek (empty) If set to `true` the read/unread state of the message will not change. Default is `false`.
query boolean Responses:
200:
A JSON object containing the data of the message. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingMessageResponse object {
- data(MessagingMessageData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MessagingMessageData object {
- id(string, optional): The ID of the message. Only unique in the given folder.
- folder(string, optional): The folder ID.
- threadLevel(integer, optional): The nesting level of this message according to the conversation it's belonged to. May not be set.
- flags(integer, optional): Bitmask showing the state of this message. The same as in the module mail.
- receivedDate(integer, optional): The time this message was received.
- colorLabel(integer, optional): An arbitrary number marking the message in a certain color. The same as the color label common to all groupware objects.
- user(array[string], optional): An array of strings representing user flags.
- size(integer, optional): The size of the message in bytes.
- picture(string, optional): The URL to a picture for this message.
- url(string, optional): A link to the messages origin currently used in RSS messages.
- sectionId(string, optional): The section ID of a certain message part, if the content-type is `multipart/*`.
- headers(object, optional): A JSON object of header data. Usually the value is either a string or an array (if it has more than one value). Certain headers are rendered as more complex structures.
- body(object, optional): A JSON object representing the content of the message.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of column names, like "folder,headers,body". See Messaging fields for valid column names.
query string folder (empty) The folder ID, like "com.openexchange.messaging.twitter://535/defaultTimeline/directMessages".
query string sort (empty) A column name to sort by.
query string order (empty) The order direction which can be "asc" for ascending (default) or "desc" for descending.
query string Responses:
200:
A JSON object containing an array with data for all messages. Each array element describes one message and is itself an array. The elements of each array contain the information specified by the corresponding column names in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingMessagesResponse object {
- data(object, optional): Array of messages. Each message is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of column names, like "folder,headers,body". See Messaging fields for valid column names.
query string Body:
Description:A JSON array of JSON arrays with the folder and ID as elements each identifying a message.
Content-type: application/json-
array[array[object]]
Responses:
200:
A JSON object containing an array with data for requested messages. Each array element describes one message and is itself an array. The elements of each array contain the information specified by the corresponding column names in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingMessagesResponse object {
- data(object, optional): Array of messages. Each message is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the messaging service to load.
query string Responses:
200:
A JSON object containing the data of the messaging service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingServiceResponse object {
- data(MessagingServiceData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MessagingServiceData object {
- id(string, optional): The identifier of the messaging service. This is usually a string in reverse domain name notation, like "com.openexchange.messaging.twitter".
- displayName(string, optional): Human-readable display name of the service.
- formDescription(array[MessagingFormDescription], optional): An array of dynamic form fields. Same as in PubSub.
- messagingActions(array[string], optional): An array representing a dynamic set of actions that are possible with messages of this service.
-
MessagingFormDescription object {
- widget(string, optional): The name of the widget.
- name(string, optional): The name of the field.
- displayName(string, optional): The display name of the field.
- mandatory(boolean, optional): Indicates whether the field is mandatory.
- options(object, optional): A list of available options in the field.
- defaultValue(object, optional): Can contain a default value.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string messagingService (empty) The messaging service ID that the account belongs to.
query string id (empty) The messaging account ID.
query integer Responses:
200:
A JSON object containing the data of the requested account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingAccountResponse object {
- data(MessagingAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MessagingAccountData object {
- id(integer, optional): Identifier of the messaging account.
- messagingService(string, optional): The messaging service ID of the messaging service this account belongs to.
- displayName(string, optional): User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content.
- configuration(object, optional): The configuration data according to the `formDescription` of the relevant messaging service.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string messageAction (empty) The message action to invoke.
query string id (empty) The ID of the message the action shall be invoked on. Only used on actions of type "storage".
query string folder (empty) The folder ID of the message. Only used on actions of type "storage".
query string account (empty) The account ID. Only used on actions of type "none".
query integer Body:
Description:A JSON array of JSON arrays with the folder and ID as elements each identifying a message.
Content-type: spplication/json-
MessagingMessageData object {
- id(string, optional): The ID of the message. Only unique in the given folder.
- folder(string, optional): The folder ID.
- threadLevel(integer, optional): The nesting level of this message according to the conversation it's belonged to. May not be set.
- flags(integer, optional): Bitmask showing the state of this message. The same as in the module mail.
- receivedDate(integer, optional): The time this message was received.
- colorLabel(integer, optional): An arbitrary number marking the message in a certain color. The same as the color label common to all groupware objects.
- user(array[string], optional): An array of strings representing user flags.
- size(integer, optional): The size of the message in bytes.
- picture(string, optional): The URL to a picture for this message.
- url(string, optional): A link to the messages origin currently used in RSS messages.
- sectionId(string, optional): The section ID of a certain message part, if the content-type is `multipart/*`.
- headers(object, optional): A JSON object of header data. Usually the value is either a string or an array (if it has more than one value). Certain headers are rendered as more complex structures.
- body(object, optional): A JSON object representing the content of the message.
Responses:
200:
A JSON object containing the number 1 if message could be sent. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingMessageUpdateResponse object {
- data(integer, optional): The response value.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array of messaging service objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MessagingServicesResponse object {
- data(array[MessagingServiceData], optional): An array containing JSON objects representing messaging services.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MessagingServiceData object {
- id(string, optional): The identifier of the messaging service. This is usually a string in reverse domain name notation, like "com.openexchange.messaging.twitter".
- displayName(string, optional): Human-readable display name of the service.
- formDescription(array[MessagingFormDescription], optional): An array of dynamic form fields. Same as in PubSub.
- messagingActions(array[string], optional): An array representing a dynamic set of actions that are possible with messages of this service.
-
MessagingFormDescription object {
- widget(string, optional): The name of the widget.
- name(string, optional): The name of the field.
- displayName(string, optional): The display name of the field.
- mandatory(boolean, optional): Indicates whether the field is mandatory.
- options(object, optional): A list of available options in the field.
- defaultValue(object, optional): Can contain a default value.
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Body:
Description:The information required to finish the registration of a new multifactor device.
Content-type: application/json-
MultifactorFinishAuthenticationData objectThe provider specific parameters required for authentication.{
- secret_code(string, optional): (SMS, TOTP, BACKUP_STRING provider only) The secret authentication token.
- clientData(string, optional): (U2F provider only) The U2F client data.
- keyHandle(string, optional): (U2F provider only) The U2F key handle.
- signatureData(string, optional): (U2F provider only) The signed U2F challenge.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providers (empty) A comma separated list of provider names to return. Omit to return all available providers.
query string Responses:
200:
A JSON object containing the result of the operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorProvidersResponse object {
- data(array[MultifactorProvider], optional): An array of providers.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MultifactorProvider object {
- name(string, optional): The name of the provider
- backupProvider(boolean, optional): true, if the provider can act as "backup"-provider, false otherwise.
- backupOnlyProvider(boolean, optional): true, if the provider can ONLY act as "backup"-provider, false otherwise.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A device which should be registered as new multifactor device.
Content-type: application/json-
MultifactorDevice object {
- id(string, optional): The unique ID of the device
- name(string, optional): The user friendly name of the device
- backup(boolean, optional): true, if the device is a "backup" device, false otherwise
- enabled(boolean, optional): true, if the device is enabled, false otherwise
- providerName(string, optional): The name of the device's provider
- parameters(inline_schema_parameters, optional): The provider specific parameters required for starting a new registration.
-
inline_schema_parametersThe provider specific parameters required for starting a new registration.{
- phoneNumber(string, optional): (SMS provider only) The phone number of the SMS device to register
Responses:
200:
A JSON object containing necessary information required to finish the registration process. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorStartRegistrationResponse object {
- data(inline_schema_data, optional): Registration response data
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_dataRegistration response data{
- deviceId(string, optional): A unique ID of the new device
- challenge(inline_schema_challenge, optional): A challenge required to be solved for registering a new device
-
inline_schema_challengeA challenge required to be solved for registering a new device{
- sharedSecret(string, optional): (TOTP, BACKUP_STRING provider only) The TOTP secret
- base64Image(string, optional): (TOTP provider only) A base64 encoded QR-Code containing all relevant information for setting up TOTP.
- url(string, optional): (TOTP provider only) An URL containing all relevant information for setting up TOTP.
- requestId(string, optional): (U2F provider only) The unique U2F request ID.
- registerRequests(array[object], optional): A list of challenge data
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Body:
Description:The information required to finish the registration of a new multifactor device.
Content-type: application/json-
MultifactorFinishRegistrationData objectThe provider specific parameters required to finish a device registration.{
- secret_code(string, optional): (SMS, TOTP provider only) The secret token required to finish the registration.
- clientData(string, optional): (U2F provider only) The U2F client data required to finish the registration.
- registrationData(string, optional): (U2F provider only) The U2F registration data data required to finish the registration.
Responses:
200:
A JSON object containing all device IDs deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providerName (empty) The name of the multifactor provider
query string Body:
Description:A device containing the device ID, and the new name.
Content-type: application/json-
MultifactorDevice object {
- id(string, optional): The unique ID of the device
- name(string, optional): The user friendly name of the device
- backup(boolean, optional): true, if the device is a "backup" device, false otherwise
- enabled(boolean, optional): true, if the device is enabled, false otherwise
- providerName(string, optional): The name of the device's provider
- parameters(inline_schema_parameters, optional): The provider specific parameters required for starting a new registration.
-
inline_schema_parametersThe provider specific parameters required for starting a new registration.{
- phoneNumber(string, optional): (SMS provider only) The phone number of the SMS device to register
Responses:
200:
A dev
Content-type: application/json-
MultifactorDeviceResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MultifactorDevice object {
- id(string, optional): The unique ID of the device
- name(string, optional): The user friendly name of the device
- backup(boolean, optional): true, if the device is a "backup" device, false otherwise
- enabled(boolean, optional): true, if the device is enabled, false otherwise
- providerName(string, optional): The name of the device's provider
- parameters(inline_schema_parameters, optional): The provider specific parameters required for starting a new registration.
-
inline_schema_parametersThe provider specific parameters required for starting a new registration.{
- phoneNumber(string, optional): (SMS provider only) The phone number of the SMS device to register
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Responses:
200:
A JSON object containing all device IDs deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorDeleteResponse object {
- data(array[string], optional): Array of device IDs which where deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string providerName (empty) The name of the multifactor provider
query string deviceId (empty) The ID of the multifactor device
query string Responses:
200:
A JSON object containing necessary information required to finish the authentication process. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the result of the operation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
MultifactorDevicesResponse object {
- data(array[MultifactorDevice], optional): Array of multifactor devices.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
MultifactorDevice object {
- id(string, optional): The unique ID of the device
- name(string, optional): The user friendly name of the device
- backup(boolean, optional): true, if the device is a "backup" device, false otherwise
- enabled(boolean, optional): true, if the device is enabled, false otherwise
- providerName(string, optional): The name of the device's provider
- parameters(inline_schema_parameters, optional): The provider specific parameters required for starting a new registration.
-
inline_schema_parametersThe provider specific parameters required for starting a new registration.{
- phoneNumber(string, optional): (SMS provider only) The phone number of the SMS device to register
-
-
-
Multiple
The multiple module allows to bundle multiple requests to most other modules in a single request.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string continue (empty) Specifies whether processing of requests should stop when an error occurs, or whether all request should be processed regardless of errors.
query boolean Body:
Description:A JSON array with JSON objects, each describing one request.
Content-type: application/json-
SingleRequest objectContains all currently available (resp. possible) parameters that could be specified to perform a request in the multiple module except `action`, `module`, and `data` which are part of the actual request itself.{
- module(string, required): The name of the request's module like "mail", "folders", etc.
- action(string, required): The name of the request's action like "all", "list", etc.
- data(object, optional): The request's body as a JSON object.
- columns(string, optional): The "columns" parameter of a request.
- tree(string, optional): The "tree" parameter of a request.
- allowed_modules(string, optional): The "allowed_modules" parameter of a request.
- parent(string, optional): The "parent" parameter of a request.
- all(integer, optional): The "all" parameter of a request.
- errorOnDuplicateName(boolean, optional): The "errorOnDuplicateName" parameter of a request.
- id(string, optional): The "id" parameter of a request.
- timestamp(integer, optional): The "timestamp" parameter of a request.
- ignore(string, optional): The "ignore" parameter of a request.
- cascadePermissions(string, optional): The "cascadePermissions" parameter of a request.
- hardDelete(boolean, optional): The "hardDelete" parameter of a request.
- content_type(string, optional): The "content_type" parameter of a request.
- sort(string, optional): The "sort" parameter of a request.
- order(string, optional): The "order" parameter of a request.
- folder(string, optional): The "folder" parameter of a request.
- start(integer, optional): The "start" parameter of a request.
- end(integer, optional): The "end" parameter of a request.
- email(string, optional): The "email" parameter of a request.
- query(string, optional): The "query" parameter of a request.
- left_hand_limit(integer, optional): The "left_hand_limit" parameter of a request.
- right_hand_limit(integer, optional): The "right_hand_limit" parameter of a request.
- recurrence_master(boolean, optional): The "recurrence_master" parameter of a request.
- showPrivate(boolean, optional): The "showPrivate" parameter of a request.
- occurrence(string, optional): The "occurrence" parameter of a request.
- type(integer, optional): The "type" parameter of a request.
- limit(integer, optional): The "limit" parameter of a request.
- uid(string, optional): The "uid" parameter of a request.
- includeSent(boolean, optional): The "includeSent" parameter of a request.
- headers(string, optional): The "headers" parameter of a request.
- message_id(string, optional): The "message_id" parameter of a request.
- edit(integer, optional): The "edit" parameter of a request.
- hdr(integer, optional): The "hdr" parameter of a request.
- src(integer, optional): The "src" parameter of a request.
- save(integer, optional): The "save" parameter of a request.
- view(string, optional): The "view" parameter of a request.
- unseen(boolean, optional): The "unseen" parameter of a request.
- max_size(integer, optional): The "max_size" parameter of a request.
- attach_src(boolean, optional): The "attach_src" parameter of a request.
- attachment(string, optional): The "attachment" parameter of a request.
- cid(string, optional): The "cid" parameter of a request.
- filter(integer, optional): The "filter" parameter of a request.
- lineWrapAfter(integer, optional): The "lineWrapAfter" parameter of a request.
- flags(integer, optional): The "falgs" parameter of a request.
- force(boolean, optional): The "force" parameter of a request.
- setFrom(boolean, optional): The "setFrom" parameter of a request.
- version(integer, optional): The "version" parameter of a request.
- recursive(string, optional): The "recursive" parameter of a request.
- diff(integer, optional): The "diff" parameter of a request.
- attached(integer, optional): The "attached" parameter of a request.
- accountId(integer, optional): The "accountId" parameter of a request.
- password(string, optional): The "password" parameter of a request.
- force_secure(string, optional): The "force_secure" parameter of a request.
- name(string, optional): The "name" parameter of a request.
- setIfAbsent(string, optional): The "setIfAbsent" parameter of a request.
- serviceId(string, optional): The "serviceId" parameter of a request.
- oauth_token(string, optional): The "oauth_token" parameter of a request.
- uuid(string, optional): The "uuid" parameter of a request.
- oauth_verifier(string, optional): The "oauth_verifier" parameter of a request.
- displayName(string, optional): The "displayName" parameter of a request.
- client(string, optional): The "client" parameter of a request.
- participant(string, optional): The "participant" parameter of a request.
- from(integer, optional): The "from" parameter of a request.
- until(integer, optional): The "until" parameter of a request.
- merged(boolean, optional): The "merged" parameter of a request.
- messagingService(string, optional): The "messagingService" parameter of a request.
- peek(string, optional): The "peek" parameter of a request.
- recipients(string, optional): The "recipients" parameter of a request.
- messageAction(string, optional): The "messageAction" parameter of a request.
- attachmentid(string, optional): The "attachmentid" parameter of a request.
- provider(string, optional): The "provider" parameter of a request.
- timezone(string, optional): The "timezone" parameter of a request.
- internal_userid(integer, optional): The "internal_userid" parameter of a request.
- userid(integer, optional): The "userid" parameter of a request.
- user_id(integer, optional): The "user_id" parameter of a request.
- email1(string, optional): The "email1" parameter of a request.
- email2(string, optional): The "email2" parameter of a request.
- email3(string, optional): The "email3" parameter of a request.
- system(string, optional): The "system" parameter of a request.
- filestorageService(string, optional): The "filestorageService" parameter of a request.
-
array[SingleRequest]
Responses:
200:
A JSON array containing the response data of the processed requests where response[0] corresponds to request[0], response[1] to request[1], and so on.
Content-type: application/json-
MultipleResponse object {
- data(object, optional): An array of the data of the requests that was processed with the multiple module.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
400:
Syntactically incorrect request.
-
-
-
OAuth
The Open-Xchange server can act as an OAuth client or be an OAuth provider itself. The OAuth module supports both aspects: * Manage multiple OAuth accounts for certain online services for a user. The OAuth mechanism allows the Open-Xchange application to act as behalf of this user using previously obtained access tokens granted by user. The according interface is divided into two parts: Account access and service's meta data access. * Manage granted accesses of external services that can access a users data on his behalf, called "grants".-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array of JSON objects each describing a granted access. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthGrantsResponse object {
- data(array[OAuthGrantData], optional): An array containing one object for every granted access.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthGrantData object {
- client(OAuthClientData, optional): No description available
- scopes(object, optional): A mapping from scope tokens to translated, human-readable descriptions for every scope that was granted to the external service (example: {"read_contacts":"See all your contacts"}).
- date(integer, optional): The time when the access was granted.
-
OAuthClientData object {
- id(string, optional): The client's ID.
- name(string, optional): The client's/service's name.
- description(string, optional): A description of the client.
- website(string, optional): A URL to the client's website.
- icon(string, optional): A URL or path to obtain the client's icon via the image module.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array of JSON objects each describing an OAuth service's meta data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthServicesResponse object {
- data(array[OAuthServiceMetaData], optional): An array with OAuth service meta data.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthServiceMetaData object {
- id(string, optional): The identifier of the service meta data, e.g. "com.openexchange.oauth.twitter".
- displayName(string, optional): The service's display name.
- availableScopes(array[string], optional): The available scopes for the OAuth provider
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The account identifier. May also be provided in request body's JSON object by field `id`.
query integer Body:
Description:A JSON object providing the OAuth account data to update. Currently the only values which make sense being updated are `displayName` and the `token`-`secret`-pair.
Content-type: application/json-
OAuthAccountData object {
- id(integer, optional): The numeric identifier of the OAuth account.
- displayName(string, optional): The account's display name.
- serviceId(string, optional): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter".
- token(string, optional): The token.
- secret(string, optional): The token secret.
- enabledScopes(array[string], optional): The enabled scopes for this OAuth account
- availableScopes(array[string], optional): The available scopes for the OAuth provider of this OAuth account
- associations(array[object], optional): The account associations of the OAuth account.
Responses:
200:
A JSON object indicating whether the update was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountUpdateResponse object {
- data(boolean, optional): Indicates whether the the account was updated successfully.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string oauth_token (empty) The request token from preceeding OAuth interaction.
query string uuid (empty) The UUID of the preceeding OAuth interaction.
query string displayName (empty) The display name for the new account.
query string oauth_verifier (empty) The verifier string which confirms that user granted access.
query string scopes (empty) A space-separated list of scopes to be added. Valid scopes are 'calendar', 'contacts', 'mail', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider.
query string Responses:
200:
A JSON object containing the newly created OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountResponse object {
- data(OAuthAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthAccountData object {
- id(integer, optional): The numeric identifier of the OAuth account.
- displayName(string, optional): The account's display name.
- serviceId(string, optional): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter".
- token(string, optional): The token.
- secret(string, optional): The token secret.
- enabledScopes(array[string], optional): The enabled scopes for this OAuth account
- availableScopes(array[string], optional): The available scopes for the OAuth provider of this OAuth account
- associations(array[object], optional): The account associations of the OAuth account.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The account identifier.
query integer Responses:
200:
A JSON object indicating whether the deletion was successful. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountDeletionResponse object {
- data(boolean, optional): Indicates whether the the account was deleted successfully.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.twitter".
query string displayName (empty) The display name of the account.
query string scopes (empty) A space-separated list of scopes to be added. Valid scopes are 'calendar', 'contacts', 'mail', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider.
query string Responses:
200:
A JSON object containing the resulting interaction providing information to complete account creation. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountInteractionResponse object {
- data(OAuthAccountInteraction, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthAccountInteraction object {
- authUrl(string, optional): The numeric identifier of the OAuth account.
- type(string, optional): The interaction type name, which can be "outOfBand" or "callback".
- token(string, optional): The token.
- uuid(string, optional): The UUID for this OAuth interaction.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string serviceId (empty) The service meta data identifier. If missing all accounts of all services are returned; otherwise all accounts of specified service are returned.
query string Responses:
200:
A JSON object containing an array of JSON objects each describing an OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountsResponse object {
- data(array[OAuthAccountData], optional): An array of OAuth account objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthAccountData object {
- id(integer, optional): The numeric identifier of the OAuth account.
- displayName(string, optional): The account's display name.
- serviceId(string, optional): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter".
- token(string, optional): The token.
- secret(string, optional): The token secret.
- enabledScopes(array[string], optional): The enabled scopes for this OAuth account
- availableScopes(array[string], optional): The available scopes for the OAuth provider of this OAuth account
- associations(array[object], optional): The account associations of the OAuth account.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The account identifier.
query integer Responses:
200:
A JSON object containing the data of the OAuth account. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthAccountResponse object {
- data(OAuthAccountData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthAccountData object {
- id(integer, optional): The numeric identifier of the OAuth account.
- displayName(string, optional): The account's display name.
- serviceId(string, optional): The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter".
- token(string, optional): The token.
- secret(string, optional): The token secret.
- enabledScopes(array[string], optional): The enabled scopes for this OAuth account
- availableScopes(array[string], optional): The available scopes for the OAuth provider of this OAuth account
- associations(array[object], optional): The account associations of the OAuth account.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string client (empty) The ID of the client whose access shall be revoked.
query string Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The service's identifier.
query string Responses:
200:
A JSON object containing the meta data of the OAuth service. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
OAuthServiceResponse object {
- data(OAuthServiceMetaData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
OAuthServiceMetaData object {
- id(string, optional): The identifier of the service meta data, e.g. "com.openexchange.oauth.twitter".
- displayName(string, optional): The service's display name.
- availableScopes(array[string], optional): The available scopes for the OAuth provider
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The account identifier. May also be provided in request body's JSON object by field `id`.
query integer serviceId (empty) The service meta data identifier, e.g. "com.openexchange.oauth.twitter".
query string scopes (empty) A space-separated list of scopes to be added. Valid scopes are 'calendar', 'contacts', 'mail', 'drive', 'generic'. Note that not all scopes are applicable to every OAuth provider.
query string Responses:
200:
The boolean value true if the account was successfully re-authorised.
-
-
OpenID
This module supports the Single Sign On mechanism known as OpenId and therefore a few requests are needed to initiate an authentication and trigger the end of the session.-
Parameters:
Parameter Value Description Parameter Type Data Type state (empty) The state which started the logout process.
query string Responses:
302:
A redirect to the after logout page.
-
Parameters:
Parameter Value Description Parameter Type Data Type hash (empty) The hash value from where the request was triggered for later deeplink purposes.
query string version (empty) The client version.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
init_get_reqBody object {
- flow(string, required): One of the three following strings can be used, {login, logout, thirdParty}. Either one will start the corresponding process in the OpenID module.
- redirect(boolean, required): Describes wether the response will be in form of a redirect or an URL placed in a 'redirect' parameter in a JSON body.
- client(string, optional): The client identifier.
Responses:
200:
A JSON object containing the redirect URL in an own 'redirect' parameter.
Content-type: application/json-
InitResponse object {
- redirect(string, optional): The location where to redirect the user to.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
302:
A redirect to the OpenID provider for user authentication.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type hash (empty) The hash value from where the request was triggered for later deeplink purposes.
query string version (empty) The client version.
query string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
init_put_reqBody object {
- flow(string, required): Only 'thirdParty' as value possible.
- redirect(boolean, required): Describes wether the response will be in form of a redirect or an URL placed in a 'redirect' parameter in a JSON body.
- client(string, optional): The client identifier.
Responses:
200:
A JSON object containing the redirect URL in an own 'redirect' parameter.
Content-type: application/json-
InitResponse object {
- redirect(string, optional): The location where to redirect the user to.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
302:
A redirect to the OpenID provider for user authentication.
-
-
-
Passwordchange
Via the passwordchange module the users can change their password.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the old and the new password.
Content-type: application/json-
PasswordChangeBody object {
- old_password(string, optional): The user's current password or `null` if the password wasn't set before (especially for guest users).
- new_password(string, optional): The new password the user wants to set or `null` to remove the password (especially for guest users).
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Pns
The interface to add/remove notification subscriptions associated with a token for certain topics-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the subscription to remove
Content-type: application/x-www-form-urlencoded-
UnsubscriptionData object {
- client(string, optional): The client identifier; e.g. "open-xchange-appsuite". If not specified, session-associated client identifier is considered
- token(string, required): The token to use when sending out notifications using specified transport
- transport(string, required): The identifer of the transport; currently supported: - "apn" - "gcm" - "wns" and - "websocket"
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
PnsResponse object {
- data(PnsData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
PnsData object {
- success(boolean, optional): The flag signaling success
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the subscription
Content-type: application/x-www-form-urlencoded-
SubscriptionData object {
- client(string, optional): The client identifier; e.g. "open-xchange-appsuite". If not specified, session-associated client identifier is considered
- token(string, required): The token to use when sending out notifications using specified transport
- transport(string, required): The identifer of the transport; currently supported: - "apn" - "gcm" - "wns" and - "websocket"
- topics(array[string], required): An array of topic identifiers or wild-cards, to which the subscription signals interest. E.g. ["ox:mail:*","ox:calendar:new"] interest for all mail-related events and for newly created appointments
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
PnsResponse object {
- data(PnsData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
PnsData object {
- success(boolean, optional): The flag signaling success
-
-
-
Quota
The filestore module allows accessing information about the use and quota of the filestore.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string module (empty) The module identifier (e.g. "share_links", "filestorage", ...) to get quota information for, required if account is set.
query string account (empty) The account identifier within the module to get quota information for.
query string Responses:
200:
If `module` is not specified it is returned a JSON object containing all quota modules as fields. Each field is an object itself consisting of a field `display_name` and a field `accounts`. `accounts` is an array of JSON objects containing the properties `account_id`, `account_name`, `countquota` (account's quota limit for the number of items, or not set if not defined), `countuse` (account's actual usage for the number of items, or not set if no count quota defined), `quota` (account's quota limit for the storage in bytes, or not set if not defined) and `use` (account's actual usage for the storage in bytes, or not set if no storage quota defined). In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotasResponse object {
- data(object, optional): Dependent on the request parameters: the payload may be a JSON object containing the quota modules as fields that represent JSON objects itself with the properties "display_name" and "accounts" (array of account data objects) or it may be a JSON array of account data objects if the parameter "module" specifies a certain quota module.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
400:
If a specified `module` is not existing.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the mail quota. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotaResponse object {
- data(QuotaData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
QuotaData object {
- quota(integer, optional): Represents the maximum storage (-1 represents an unlimited quota).
- use(integer, optional): Represents the used storage.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the filestore quota. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
QuotaResponse object {
- data(QuotaData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
QuotaData object {
- quota(integer, optional): Represents the maximum storage (-1 represents an unlimited quota).
- use(integer, optional): Represents the used storage.
-
-
-
Reminder
The reminder module provides the ability to fetch all active reminders for a user between two dates.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array with JSON objects containing the field `id` of the reminders to delete.
Content-type: application/json-
ReminderListElement object {
- id(integer, optional): The ID of the reminder.
-
array[ReminderListElement]
Responses:
200:
A JSON object containing an array with identifiers of reminders that were not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RemindersResponse object {
- data(ReminderData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ReminderData object {
- id(integer, optional): The ID of the reminder.
- target_id(integer, optional): The object ID of the target this reminder is attached to.
- folder(integer, optional): The ID of the folder through that the object can be read.
- alarm(integer, optional): The time of the alarm.
- module(integer, optional): The module of the reminder's target object.
- server_time(integer, optional): The time on the server.
- user_id(integer, optional): The ID of the user.
- last_modified(integer, optional): The last modification timestamp of the reminder.
- recurrence_position(integer, optional): The recurrence position for series appointments or 0 if no series.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string end (empty) The end date of the reminder range.
query long modules (empty) A comma separated list of module ids to retrieve (e.g. "1,4" for tasks and appointments). If the parameter is missing or empty then all modules are retrieved.
query string Responses:
200:
A JSON object containing an array with data for each reminder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RemindersResponse object {
- data(ReminderData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ReminderData object {
- id(integer, optional): The ID of the reminder.
- target_id(integer, optional): The object ID of the target this reminder is attached to.
- folder(integer, optional): The ID of the folder through that the object can be read.
- alarm(integer, optional): The time of the alarm.
- module(integer, optional): The module of the reminder's target object.
- server_time(integer, optional): The time on the server.
- user_id(integer, optional): The ID of the user.
- last_modified(integer, optional): The last modification timestamp of the reminder.
- recurrence_position(integer, optional): The recurrence position for series appointments or 0 if no series.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the reminder whose alarm date shall be changed.
query long Body:
Description:A JSON object containing the field `alarm` which provides the new reminder date.
Content-type: application/json-
ReminderUpdateBody object {
- alarm(integer, optional): The new time of the alarm.
Responses:
200:
A JSON object containing the data of the updated reminder. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ReminderResponse object {
- data(ReminderData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ReminderData object {
- id(integer, optional): The ID of the reminder.
- target_id(integer, optional): The object ID of the target this reminder is attached to.
- folder(integer, optional): The ID of the folder through that the object can be read.
- alarm(integer, optional): The time of the alarm.
- module(integer, optional): The module of the reminder's target object.
- server_time(integer, optional): The time on the server.
- user_id(integer, optional): The ID of the user.
- last_modified(integer, optional): The last modification timestamp of the reminder.
- recurrence_position(integer, optional): The recurrence position for series appointments or 0 if no series.
-
-
-
Resources
The resource module allows to query available resources. It is mainly used by the dialog for the selection of participants.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) ID of the resource that shall be updated.
query integer timestamp (empty) Timestamp of the last update of the resource to update. If the resource was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the resource data fields to change. Only modified fields are present and the field id is omitted.
Content-type: application/json-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the resource.
query integer Responses:
200:
A JSON object containing the resource data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceResponse object {
- data(ResourceData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing an array of resource identifiers. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllResourcesResponse object {
- data(array[integer], optional): Array of resource identifiers.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the resource data. The field `id` is not present.
Content-type: application/json-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
Responses:
200:
A JSON object with the ID of the newly created resource. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceUpdateResponse object {
- data(ResourceUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceUpdateData object {
- id(integer, optional): The ID of a newly created rsource.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of JSON objects with the id of the requested resources.
Content-type: application/json-
ResourceListElement object {
- id(integer, optional): ID of a resource.
-
array[ResourceListElement]
Responses:
200:
A JSON object containing an array of resource objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse object {
- data(array[ResourceData], optional): Array of resource objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the group to delete.
query long Body:
Description:A JSON array of objects with the field `id` containing the unique identifier of the resource.
Content-type: application/json-
ResourceListElement object {
- id(integer, optional): ID of a resource.
-
array[ResourceListElement]
Responses:
200:
A JSON object with an empty array if the resources were deleted successfully. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse object {
- data(array[ResourceData], optional): Array of resource objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object with the search parameters.
Content-type: application/json-
ResourceSearchBody object {
- pattern(string, optional): Search pattern to find resources. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
Responses:
200:
A JSON object containing an array of resource objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourcesResponse object {
- data(array[ResourceData], optional): Array of resource objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the requested resources.
query long Responses:
200:
A JSON object with fields `new`, `modified` and `deleted` representing arrays of new, modified and deleted resource objects. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ResourceUpdatesResponse object {
- data(ResourceUpdatesData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ResourceUpdatesData object {
- new(array[ResourceData], optional): Array of new resource objects.
- modified(array, optional): Array of modified resource objects.
- deleted(array, optional): Array of deleted resource objects.
-
ResourceData object {
- id(integer, optional): The resource ID.
- display_name(string, optional): Display name of the resource.
- name(string, optional): Internal name with character restrictions.
- mailaddress(string, optional): Email address of the resource.
- availability(boolean, optional): Can be false to mark the resource currently unavailable.
- description(string, optional): The description of the resource.
- last_modified(string, optional): Date and time of the last modification.
- last_modified_utc(string, optional): Timestamp of the last modification.
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string feedUrl (empty) An array containing all RSS Feeds to load. Array can consist of one element.
query array limit (empty) Limitation of elements returned (in total).
query integer sort (empty) The identifier which determines the sort order of the response.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order.
query string Responses:
200:
A JSON object containing an array with data for the rss feed. Each array element describes one article and is an array itself. The elements of each array contain the information provided by the RSS Feed. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
RssResponse object {
- data(array[string], optional): Array containing the differnet articles provided by the rss feed.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
SAML
Endpoints of the built-in SAML 2.0 service provider. See https://documentation.open-xchange.com/latest/middleware/login/02_saml.html.-
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments this parameter is superfluous.
path string SAMLRequest (empty) Base64 encoded SAML 2.0 `
` message. query string SigAlg (empty) Message signature algorithm ID
query string Signature (empty) Message signature
query string RelayState (empty) Message exchange relay state
query string Responses:
200:
HTML response with a self-submitting from that POSTs the `
` back to the IdP. 302:
Redirect URI that submits the `
` back to the IdP per `HTTP-Redirect` binding. 400:
In case of a missing `SAMLRequest` parameter
500:
In case of internal server errors
-
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments this parameter is superfluous.
path string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
slsRespBody object {
-
SAMLResponse(string, required):
Base64 encoded SAML 2.0 `
` message. - RelayState(string, required): Message exchange relay state
-
SAMLResponse(string, required):
Base64 encoded SAML 2.0 `
Responses:
302:
Redirect to `/login?action=samlLogout`
default:
Environment specific exit path (HTML page or redirect) on any error
-
-
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments this parameter is superfluous.
path string flow (empty) One of `login`, `relogin` or `logout` to start the respective flow.
query string session (empty) Required for flow `logout`. A session ID to determine the correct session.
query string redirect (empty) Responds with `302 Found` and sets the response header `Location` to the actual redirect URI.
query string Responses:
200:
Request was successful. Response JSON contains a redirect URI that the client must follow to continue.
Content-type: application/json-
initResponse object {
- redirect_uri(string, required): A redirect URI that the client must follow to continue
302:
In case a redirect was requested
400:
In case of missing or invalid query parameters
500:
In case of an internal server error
-
-
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments this parameter is superfluous.
path string Responses:
200:
The metadata response
500:
HTML error page
-
Parameters:
Parameter Value Description Parameter Type Data Type tenant (empty) In a multi-tenant environment, where different tenants might connect to different identity providers, this parameter denotes the tenant to start a SAML flow for. In single-tenant environments this parameter is superfluous.
path string Body:
Description:No description available
Content-type: application/x-www-form-urlencoded-
acsBody object {
-
SAMLResponse(string, required):
Base64 encoded SAML 2.0 `
` message. - RelayState(string, optional): Message exchange relay state. Optional on unsolicited responses.
-
SAMLResponse(string, required):
Base64 encoded SAML 2.0 `
Responses:
302:
Redirect to `/login?action=samlLogin`
default:
Environment specific exit path (HTML page or redirect) on any error
-
-
-
sessionmanagement
The session management module-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the sessions that were found. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AllSessionsResponse object {
- data(array[SessionManagementData], optional): An array of active sessions and information about those sessions.
-
SessionManagementData object {
- sessionId(string, optional): The session identifier
- ipAddress(string, optional): The IP address associated with the session
- client(string, optional): The client associated with the session
- ctxId(integer, optional): The context identifier
- userId(integer, optional): The user identifier
- loginTime(integer, optional): Time of login in UTC
- lastActive(integer, optional): Time of last activity in UTC
- location(string, optional): Guessed location based on IP address
- device(DeviceInfo, optional): No description available
-
DeviceInfo object {
- info(string, optional): Localized string describing the device which is associated with this session
- type(string, optional): Describing the device type which is associated with this session, possible values are "browser", "oxapp", "sync" and "other"
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array containing all session Ids to delete
Content-type: application/json-
array[string]Session Ids to delete
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
-
Share/Management
The share/management module can create and manage share links via different actions. Dedicated actions to list all shares of a user can be found in the corresponding modules, like `/folders?action=shares` of module "folders" or `/infostore?action=shares` of module "infostore".-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) The timestamp of the last modification of the link. Used to detect concurrent modifications.
query long Body:
Description:A JSON object containing the share target and share link properties of the link to update. Only modified fields should be set but at least the share target ones.
Content-type: application/json-
ShareLinkUpdateBody object {
- url(string, optional): The link to share.
- entity(integer, optional): The identifier of the anonymous user entity for the share.
- is_new(boolean, optional): Whether the share link is new, i.e. it has been created by the `/share/management?action=getLink` request, or if it already existed.
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible.
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share.
- meta(object, optional): Can be used by the client to save arbitrary JSON data along with the share.
- includeSubfolders(boolean, optional): An optional flag indicating whether subfolders should be included or not. Only applicable for Drive folders.
- module(string, optional): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder(string, optional): The folder identifier.
- item(string, optional): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
An empty json object in case of success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the share target and a list of recipients specified in a field `recipients` that is a JSON array with a nested two-elements array containing the recipient information (first element is personal name, second is email address). An optional field `message` can contain a notification.
Content-type: application/json-
ShareLinkSendBody object {
- recipients(array[array[string]], optional): An array that lists the recipients. Each element is itself a two-element array specifying one recipient. The first element represents the personal name, the second element is the email address.
- message(string, optional): Can contain an optional custom message.
- module(string, optional): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder(string, optional): The folder identifier.
- item(string, optional): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
Transport warnings that occurred during sending the notifications are available in a `warnings` array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ShareLinkSendResponse object {
- warnings(object, optional): An array of possible warnings during sending of the notifications.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) The timestamp of the last modification of the link. Used to detect concurrent modifications.
query long Body:
Description:A JSON object containing the share target where the link should be deleted for.
Content-type: application/json-
ShareTargetData object {
- module(string, optional): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder(string, optional): The folder identifier.
- item(string, optional): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the share target where the link should be generated for.
Content-type: application/json-
ShareTargetData object {
- module(string, optional): The folder's module name, i.e. one of "tasks", "calendar", "contacts" or "infostore".
- folder(string, optional): The folder identifier.
- item(string, optional): The object identifier, in case the share target is a single item. This must not be present to share a complete folder.
Responses:
200:
A JSON object containing data of the (newly created) share link. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
ShareLinkResponse object {
- data(ShareLinkData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
ShareLinkData object {
- url(string, optional): The link to share (read-only).
- entity(integer, optional): The identifier of the anonymous user entity for the share (read-only).
- is_new(boolean, optional): Whether the share link is new, i.e. it has been created by the `/share/management?action=getLink` request, or if it already existed (read-only).
- expiry_date(integer, optional): The end date / expiration time after which the share link is no longer accessible.
- password(string, optional): An additional secret / pin number an anonymous user needs to enter when accessing the share.
- includeSubfolders(boolean, optional): An optional flag indicating if subfolders are included or not. Only applicable for shared infostore folders.
- meta(object, optional): Can be used by the client to save arbitrary JSON data along with the share.
-
-
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet.
query string Body:
Description:A JSON object providing the fields that should be changed, excluding its attachments. For deleting attachments see `/snippet?action=detach` request.
Content-type: application/json-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
Responses:
200:
A JSON object containing the data of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetResponse object {
- data(SnippetData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet.
query string Responses:
200:
A JSON object containing the data of the snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetResponse object {
- data(SnippetData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet.
query string type The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for `text/*`), media (for image, audio or video), image (for `image/*`), audio (for `audio/*`), video (for `video/*`) and application (for `application/*`).
query string Body:
Description:No description available
Content-type: multipart/form-data-
addSnippetAttachmentBody object {
- file(string, required): The attachment file.
Responses:
200:
A HTML page as described in File uploads containing a JSON object with the ID of the updated snippet or errors if some occurred.
Content-type: text/html-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet. Otherwise provide one or more identifiers in the request body's JSON array.
query string Body:
Description:A JSON array containing the identifiers of the snippets to delete.
Content-type: application/json-
array[string]
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array of snippet identifiers.
Content-type: application/json-
array[string]
Responses:
200:
A JSON object containing an array with data for the requested snippets. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetsResponse object {
- data(array[SnippetData], optional): An array of snippet objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet.
query string Body:
Description:A JSON array with JSON objects each containing a field `id` with the identifier of an attachment that shall be removed.
Content-type: application/json-
SnippetAttachmentListElement object {
- id(string, optional): The identifier of an attachment.
-
array[SnippetAttachmentListElement]
Responses:
200:
A JSON object containing the ID of the updated snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetUpdateResponse object {
- data(string, optional): The ID of the new snippet.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The identifier of the snippet.
query string attachmentid (empty) The identifier of the attachment.
query string Responses:
200:
The attachment's raw data.
Content-type: application/json-
string
500:
A HTML page in case of errors.
Content-type: application/json-
string
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string type (empty) A list of comma-separated types to filter, e.g. "signature".
query string Responses:
200:
A JSON object containing an array with data for all snippets. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetsResponse object {
- data(array[SnippetData], optional): An array of snippet objects.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object describing the snippet excluding its attachment(s). For adding attachments see `/snippet?action=attach` request.
Content-type: application/json-
SnippetData object {
- id(string, optional): The ID of the snippet.
- accountid(integer, optional): The identifier of the account.
- createdby(integer, optional): The user ID of the creator.
- displayname(string, optional): The display name of the snippet.
- type(string, optional): The type of the snippet, like "signature".
- content(string, optional): Contains the snippet's content.
- module(string, optional): The module identifier, like "com.openexchange.mail".
- shared(boolean, optional): The shared flag.
- misc(object, optional): Contains miscellaneous data as JSON object.
- props(object, optional): Contains custom properties as JSON object.
- files(array[SnippetAttachment], optional): An array of attachments.
-
SnippetAttachment object {
- id(string, optional): The ID of the attachment.
- filename(string, optional): The file name of the attachment.
- mimetype(string, optional): The MIME type of the attachment.
- contentid(string, optional): The content ID of the attachment.
- size(integer, optional): The size of the attachment in bytes.
Responses:
200:
A JSON object containing the ID of the newly created snippet. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
SnippetUpdateResponse object {
- data(string, optional): The ID of the new snippet.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Sync
The module sync delivers several core API extensions to support common operations used in a mobile synchronization environment.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON array containing the folder ID(s).
Content-type: application/x-www-form-urlencoded-
array[string]
Responses:
200:
A JSON object containing an array of folder IDs that could not be cleared due to a concurrent modification. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
FoldersCleanUpResponse object {
- data(array[string], optional): An array with object IDs of folders that could not be processed because of a concurrent modification or something else. If the extendedResponse parameter is set to `true` the array contains json objects instead.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
System
The module for API related to the middelware system-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
WhoAmIResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- random(string, optional): The random token
- session(string, optional): The session identifier
- user(string, optional): The user
- user_id(string, optional): The user identifier
- context_id(string, optional): The context identifier
- requires_multifactor(boolean, optional): An value indicating whether multifactor has been enabled or not
- locale(string, optional): The locale of the user
-
-
Responses:
200:
A JSON object containing the value "TRUE". This indicates that the server is still running and ready to handle more requests
Content-type: application/json-
PingResponse object {
- data(boolean, optional): true
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Responses:
200:
A JSON object containing the time value as long. The time is measured in milliseconds and is the difference between the current time and midnight, January 1, 1970 UTC
Content-type: application/json-
TimeResponse object {
- data(integer, optional): The system time of the node as long
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Tasks
The tasks module is used to access task information.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the tasks.
query string id (empty) Object ID of the requested task.
query string timestamp (empty) Timestamp of the last update of the requested tasks.
query long Body:
Description:A JSON object containing the task's data. Only modified fields are present.
Content-type: application/json-
TaskData object {
-
status(integer, optional):
Status of the task.
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed(integer, optional): How much of the task is completed. An integer number between 0 and 100.
- actual_costs(number, optional): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration(string, optional): Actual duration of the task, e.g. in minutes.
- after_complete(integer, optional): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information(string, optional): Billing information of the task.
- target_costs(number, optional): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration(string, optional): Target duration of the task, e.g. in minutes.
-
priority(integer, optional):
The priority of the task.
* 1 (low),
* 2 (medium),
* 3 (high) - currency(string, optional): The currency, e.g. "EUR".
- trip_meter(string, optional): The trip meter.
- companies(string, optional): Companies.
- date_completed(integer, optional): No description available
- start_time(integer, optional): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time(integer, optional): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
status(integer, optional):
Status of the task.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
Responses:
200:
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdateResponse object {
- data(TaskUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
TaskUpdateData object {
- id(string, optional): ID of a newly created task.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested task.
query string folder (empty) Object ID of the folder who contains the tasks.
query string Responses:
200:
An object containing all data of the requested task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskResponse object {
- data(TaskData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
TaskData object {
-
status(integer, optional):
Status of the task.
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed(integer, optional): How much of the task is completed. An integer number between 0 and 100.
- actual_costs(number, optional): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration(string, optional): Actual duration of the task, e.g. in minutes.
- after_complete(integer, optional): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information(string, optional): Billing information of the task.
- target_costs(number, optional): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration(string, optional): Target duration of the task, e.g. in minutes.
-
priority(integer, optional):
The priority of the task.
* 1 (low),
* 2 (medium),
* 3 (high) - currency(string, optional): The currency, e.g. "EUR".
- trip_meter(string, optional): The trip meter.
- companies(string, optional): Companies.
- date_completed(integer, optional): No description available
- start_time(integer, optional): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time(integer, optional): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
status(integer, optional):
Status of the task.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string timestamp (empty) Timestamp of the last update of the deleted tasks.
query long Body:
Description:A JSON array of JSON objects with the id and folder of the tasks.
Content-type: application/json-
TaskListElement object {
- id(string, required): The object ID of the task.
- folder(string, required): The object ID of the related folder.
-
array[TaskListElement]
Responses:
200:
A JSON array with object IDs of tasks which were modified after the specified timestamp and were therefore not deleted. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskDeletionsResponse object {
- data(array[string], optional): An array with object IDs of tasks which were modified after the specified timestamp and were therefore not deleted.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the task that shall be confirmed.
query string folder (empty) Object ID of the folder who contains the tasks.
query string timestamp (empty) Timestamp of the last update of the task.
query long Body:
Description:A JSON object with the fields `confirmation` and `confirmmessage`.
Content-type: application/json-
TaskConfirmationBody object {
-
confirmation(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative).
- confirmmessage(string, optional): The confirmation message or comment.
-
confirmation(integer, optional):
* 0 (none),
Responses:
200:
Nothing, except the standard response object with empty data, the timestamp of the confirmed and thereby updated task, and maybe errors. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Body:
Description:A JSON object containing the task's data.
Content-type: application/json-
TaskData object {
-
status(integer, optional):
Status of the task.
* 1 (not started),
* 2 (in progress),
* 3 (done),
* 4 (waiting),
* 5 (deferred) - percent_completed(integer, optional): How much of the task is completed. An integer number between 0 and 100.
- actual_costs(number, optional): A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- actual_duration(string, optional): Actual duration of the task, e.g. in minutes.
- after_complete(integer, optional): (DEPRECATED) Only present in AJAX interface. Value will not be stored on OX server.
- billing_information(string, optional): Billing information of the task.
- target_costs(number, optional): A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99.
- target_duration(string, optional): Target duration of the task, e.g. in minutes.
-
priority(integer, optional):
The priority of the task.
* 1 (low),
* 2 (medium),
* 3 (high) - currency(string, optional): The currency, e.g. "EUR".
- trip_meter(string, optional): The trip meter.
- companies(string, optional): Companies.
- date_completed(integer, optional): No description available
- start_time(integer, optional): Inclusive start as Date for whole day tasks and Time for normal tasks.
- end_time(integer, optional): Exclusive end as Date for whole day tasks and as Time for normal tasks.
- title(string, optional): Short description.
- start_date(integer, optional): (DEPRECATED) Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time).
- end_date(integer, optional): (DEPRECATED) Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time).
- note(string, optional): Long description.
- alarm(integer, optional): Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified.
-
recurrence_type(integer, optional):
Specifies the type of the recurrence for a task sequence.
* 0 (none, single event),
* 1 (daily),
* 2 (weekly),
* 3 (monthly),
* 4 (yearly) - days(integer, optional): Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days).
- day_in_month(integer, optional): Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2.
- month(integer, optional): Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4.
- interval(integer, optional): Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4.
- until(integer, optional): Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included.
- notification(boolean, optional): If `true`, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client.
- participants(array[TaskParticipant], optional): Each element identifies a participant, user, group or booked resource.
- users(array[TaskUser], optional): Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once.
- occurrences(integer, optional): Specifies how often a recurrence should appear. May be present only if recurrence_type > 0.
- uid(string, optional): Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID.
- organizer(string, optional): Contains the email address of the appointment organizer which is not necessarily an internal user. **Not implemented for tasks**.
- sequence(integer, optional): iCal sequence number. **Not implemented for tasks**. Must be incremented on update. Will be incremented by the server, if not set.
- confirmations(array[TaskConfirmation], optional): Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks.
- organizerId(integer, optional): Contains the userId of the appointment organizer if it is an internal user. **Not implemented for tasks**.
- principal(string, optional): Contains the email address of the appointment principal which is not necessarily an internal user. **Not implemented for tasks**.
- principalId(integer, optional): Contains the userIId of the appointment principal if it is an internal user. **Not implemented for tasks**.
- full_time(boolean, optional): `True` if the event is a whole day appointment or task, `false` otherwise.
- id(string, optional): Object ID.
- created_by(string, optional): User ID of the user who created this object.
- modified_by(string, optional): User ID of the user who last modified this object.
- creation_date(integer, optional): Date and time of creation.
- last_modified(integer, optional): Date and time of the last modification.
- folder_id(string, optional): Object ID of the parent folder.
- categories(string, optional): String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects.
- private_flag(boolean, optional): Overrides folder permissions in shared private folders: When `true`, this object is not visible to anyone except the owner. Not present in folder objects.
- color_label(integer, optional): Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects.
- number_of_attachments(integer, optional): Number of attachments.
- lastModifiedOfNewestAttachmentUTC(integer, optional): Timestamp of the newest attachment written with UTC time zone.
-
status(integer, optional):
Status of the task.
-
TaskParticipant object {
- id(integer, optional): User ID.
-
type(integer, optional):
Type of participant.
* 1 (user),
* 2 (user group),
* 3 (resource),
* 4 (resource group),
* 5 (external user) - mail(string, optional): Mail address of an external participant.
-
TaskUser object {
- id(integer, optional): User ID. Confirming for other users only works for appointments and not for tasks.
- display_name(string, optional): Displayable name of the participant.
-
confirm(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - confirmmessage(string, optional): Confirm message of the participant.
-
TaskConfirmation object {
-
type(integer, optional):
Type of participant.
* 0 (user),
* 5 (external user) - mail(string, optional): Email address of external participant.
- display_name(string, optional): Display name of external participant.
-
status(integer, optional):
* 0 (none),
* 1 (accepted),
* 2 (declined),
* 3 (tentative) - message(string, optional): Confirm message of the participant.
-
type(integer, optional):
Type of participant.
Responses:
200:
A JSON object containing the id of the newly created task. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdateResponse object {
- data(TaskUpdateData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
TaskUpdateData object {
- id(string, optional): ID of a newly created task.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the tasks.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
A JSON object containing an array with data for all tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse object {
- data(object, optional): Array of tasks. Each task is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
TaskSearchBody object {
- pattern(string, required): Search pattern to find tasks. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- folder(string, optional): Defines the folder to search for tasks in. If this is omitted in all task folders will be searched.
- start(integer, optional): Inclusive start date for a time range the tasks should end in. If start is omitted end is ignored.
- end(integer, optional): Exclusive end date for a time range the tasks should end in. If this parameter is omitted the time range has an open end.
Responses:
200:
A JSON object containing an array with matching tasks. Tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse object {
- data(object, optional): Array of tasks. Each task is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string folder (empty) Object ID of the folder who contains the tasks.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.
query string timestamp (empty) Timestamp of the last update of the requested tasks.
query long ignore Which kinds of updates should be ignored. Omit this parameter or set it to "deleted" to not have deleted tasks identifier in the response. Set this parameter to `false` and the response contains deleted tasks identifier.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
An array with new, modified and deleted tasks. New and modified tasks are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. Deleted tasks would be identified by their object IDs as integers, without being part of a nested array. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TaskUpdatesResponse object {
- data(object, optional): Array of tasks.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,200". Each column is specified by a numeric column identifier, see Common object data, Detailed task and appointment data and Detailed task data.
query string Body:
Description:A JSON array of JSON objects with the id and folder of the tasks.
Content-type: application/json-
array[TaskListElement]
Responses:
200:
A JSON object containing an array with data for the requested tasks. Each array element describes one task and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
TasksResponse object {
- data(object, optional): Array of tasks. Each task is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
Token
The module token delivers several core API extensions to support token based logins.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object with the timestamp of the creation date and a token which can be used to create a new session. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
AcquireTokenResponse object {
- data(inline_schema_data, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
inline_schema_data {
- token(string, optional): The token that can be used for a new session.
-
-
-
User
The user module is used to access user information.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested user.
query string timestamp (empty) Timestamp of the last update of the requested user. If the user was modified after the specified timestamp, then the update must fail.
query long Body:
Description:A JSON object containing the user's data. Only modified fields are present. From Detailed user data only the fields `timezone` and `locale` are allowed to be updated.
Content-type: application/json-
UserData Composed Schema {
- (object, required): No description available
- DistributionListMember(object, required): No description available
- (object, required): No description available
Responses:
200:
In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CommonResponse object {
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) Object ID of the requested user. This parameter is optional and the default is the currently logged in user.
query string Responses:
200:
An object containing all data of the requested user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserResponse object {
- data(UserData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified, then the parameter order must be also specified.
query string order (empty) "asc" if the response entities should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Responses:
200:
A JSON object containing an array with data for all users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UsersResponse object {
- data(object, optional): Array of user. Each user is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the user.
query string name (empty) The name of the attribute.
query string Responses:
200:
A JSON object containing the attribute data. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserAttributeResponse object {
- data(UserAttribute, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
UserAttribute object {
- name(string, optional): The name of the attribute.
- value(string, optional): The value of the attribute.
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string sort (empty) The identifier of a column which determines the sort order of the response. If this parameter is specified , then the parameter order must be also specified.
query string order (empty) "asc" if the response entires should be sorted in the ascending order, "desc" if the response entries should be sorted in the descending order. If this parameter is specified, then the parameter sort must be also specified.
query string Body:
Description:A JSON object containing search parameters.
Content-type: application/json-
UserSearchBody object {
- pattern(string, optional): Search pattern to find tasks. In the pattern, the character "*" matches zero or more characters and the character "?" matches exactly one character. All other characters match only themselves.
- startletter(boolean, optional): Search users with the given startletter. If this field is present, the pattern is matched against the user field which is specified by the property "contact_first_letter_field" on the server (default: last name). Otherwise, the pattern is matched against the display name.
- last_name(string, optional): Searches users where the last name matches with the given last name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- first_name(string, optional): Searches users where the first name matches with the given first name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- display_name(string, optional): Searches users where the display name matches with the given display name. The character "*" matches zero or more characters and the character "?" matches exactly one character. This field is ignored if `pattern` is specified.
- orSearch(boolean, optional): If set to `true`, the fields `last_name`, `first_name` and `display_name` are connected through an OR search habit. This field is ignored if `pattern` is specified.
- emailAutoComplete(boolean, optional): If set to `true`, results are guaranteed to contain at least one email adress and the search is performed by connecting the relevant fields through an OR search habit. This field is ignored if `pattern` is specified.
Responses:
200:
A JSON object containing an array with matching users. Users are represented by arrays. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UsersResponse object {
- data(object, optional): Array of user. Each user is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string columns (empty) A comma-separated list of columns to return, like "1,501,610". Each column is specified by a numeric column identifier, see Common object data, Detailed contact data and Detailed user data.
query string Body:
Description:A JSON array of identifiers of the requested users. A `null` value in the array is interpreted as the currently logged in user.
Content-type: application/json-
array[string]
Responses:
200:
A JSON object containing an array with data for the requested users. Each array element describes one user and is itself an array. The elements of each array contain the information specified by the corresponding identifiers in the `columns` parameter. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UsersResponse object {
- data(object, optional): Array of user. Each user is described as an array itself.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string id (empty) The ID of the user.
query string setIfAbsent (empty) Set to `true` to put the value only if the specified name is not already associated with a value, otherwise `false` to put value in any case.
query boolean Body:
Description:A JSON object providing the name and the value of the attribute. If the `value` field is missing or `null`, the attribute is removed.
Content-type: application/json-
UserAttribute object {
- name(string, optional): The name of the attribute.
- value(string, optional): The value of the attribute.
Responses:
200:
A JSON object providing the information whether the attribute could be set. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
UserAttributionResponse object {
- data(boolean, optional): Indicates whether the attribute could be set.
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
-
-
User/Me
The module user/me is used to access formal information about current user.-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string Responses:
200:
A JSON object containing the data of the current user. In case of errors the responsible fields in the response are filled (see Error handling).
Content-type: application/json-
CurrentUserResponse object {
- data(CurrentUserData, optional): No description available
- error(string, optional): The translated error message. Present in case of errors.
- error_params(array[string], optional): Empty JSON array.
- error_id(string, optional): Unique error identifier to help finding this error instance in the server logs.
- error_desc(string, optional): The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available.
- error_stack(array[string], optional): If configured (see com.openexchange.ajax.response.includeStackTraceOnError) this field provides the stack trace of associated Java exception represented as a JSON array.
- code(string, optional): Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012"
- categories(string, optional): Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs.
- category(integer, optional): Maintained for legacy reasons: The numeric representation of the first category.
- timestamp(integer, optional): The latest timestamp of the returned data (see Updates).
-
CurrentUserData object {
- context_id(integer, optional): The unique identifier of the user's context.
- user_id(integer, optional): The unique identifier of the user himself.
- context_admin(integer, optional): The ID of the context administrator user.
- login_name(string, optional): The login name of the user.
- display_name(string, optional): The display name of the user.
- mail_login(string, optional): The username used to authenticate at the primary mail server. Can be absent in temporary error situations.
- email_address(string, optional): The users' primary email address
- email_aliases(array[string], optional): All email aliases of the user
-
-
-
userfeedback
The user feedback module-
Parameters:
Parameter Value Description Parameter Type Data Type session (empty) A session ID previously obtained from the login module.
query string type (empty) The feedback type
query string Body:
Description:A JSON object describing the feedback
Content-type: application/json-
string
Responses:
200:
A JSON object signaling success. In case of errors the responsible fields in the response are filled (see Error handling).
-
-
Column identifiers
Below you find the identifiers for object fields of certain data objects (models) that can be used in the columns
parameter of a request to return
specific field data of single or multiple objects.
Common object data
ID | Name | Type | Value |
---|---|---|---|
1 | id | String | Object ID |
2 | created_by | String | User ID of the user who created this object. |
3 | modified_by | String | User ID of the user who last modified this object. |
4 | creation_date | Time | Date and time of creation. |
5 | last_modified | Time | Date and time of the last modification. |
20 | folder_id | String | Object ID of the parent folder. |
100 | categories | String | String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
101 | private_flag | Boolean | Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
102 | color_label | Number | Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). Not present in folder objects. |
104 | number_of_attachments | Number | Number of attachments |
105 | lastModifiedOfNewestAttachmentUTC | Time | Date and time of the newest attachment written with UTC time zone. |
Permission object
Name | Type | Value |
---|---|---|
bits | Number | For non-mail folders, a number as described in Permission flags. |
rights | String | For mail folders, the rights string as defined in RFC 2086. |
entity | Number | User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). |
group | Boolean | true if entity refers to a group, false if it refers to a user (ignored for type "anonymous" or "guest"). |
type | String | The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
password | String | An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional) . |
email_address | String | The e-mail address of the recipient (for type "guest"). |
display_name | String | The display name of the recipient (for type "guest", optional). |
contact_id | String | The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
contact_folder | String | The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set). |
expiry_date | Time | The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
Extended permission object
Name | Type | Value |
---|---|---|
entity | Number | Identifier of the permission entity (i.e. user-, group- or guest-ID). |
bits | Number | A number as described in Permission flags. |
type | String | "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
display_name | String | A display name for the permission entity. |
contact | Object | A (reduced) set of Detailed contact data for "user" and "guest" entities. |
share_url | String | The share link for "anonymous" entities. |
password | String | The optionally set password for "anonymous" entities. |
expiry_date | Date | The optionally set expiry date for "anonymous" entities. |
includeSubfolders | Boolean | The optionally set "include subfolders" option for "anonymous" entities. |
isInherited | boolean | A flag indicating whether the permissions is inherited from the parent folder or not. The client must not allow the user to delete or update inherited permissions. |
Common folder data
ID | Name | Type | Value |
---|---|---|---|
1 | id | String | Object ID |
2 | created_by | String | User ID of the user who created this object. |
3 | modified_by | String | User ID of the user who last modified this object. |
4 | creation_date | Time | Date and time of creation. |
5 | last_modified | Time | Date and time of the last modification. |
6 | last_modified_utc | Timestamp | Timestamp of the last modification. Note that the type is Timestamp, not Time. See Date and time for details. (added 2008-10-17, with SP5, temporary workaround) |
20 | folder_id | String | Object ID of the parent folder. |
Detailed folder data
ID | Name | Type | Value |
---|---|---|---|
300 | title | String | Name of this folder. |
301 | module | String | Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail" |
302 | type | Number | See Type of folder |
304 | subfolders | Boolean | true if this folder has subfolders. |
305 | own_rights | Number or String | Permissions which apply to the current user, as described either in Permission flags or in RFC 2086. |
306 | permissions | Array | Each element is an object described in Permission object. |
307 | summary | String | Information about contained objects. |
308 | standard_folder | Boolean | Indicates whether or not folder is marked as a default folder (only OX folder) |
309 | total | Number | The number of objects in this Folder. |
310 | new | Number | The number of new objects in this Folder. |
311 | unread | Number | The number of unread objects in this Folder. |
312 | deleted | Number | The number of deleted objects in this Folder. |
313 | capabilities | Number | Bit mask containing information about mailing system capabilites, as described in capabilities. |
314 | subscribed | Boolean | Indicates whether this folder should appear in folder tree or not. Note: Standard folders cannot be unsubscribed. |
315 | subscr_subflds | Boolean | Indicates whether subfolders should appear in folder tree or not. |
316 | standard_folder_type | Number | Indicates the default folder type. Zero for non-default folder. See Standard folder types |
317 | supported_capabilities | Array | Each element is a String identifying a supported folder capability as described in supported capabilities. Only applicable for non-mail folders. Read Only. |
318 | account_id | String | Will be null if the folder does not belong to any account (i.e. if its module doesn't support multiple accounts), is a virtual folder or an account-agnostic system folder. |
319 | folder_name | String | The raw and therefore untranslated name of this folder |
320 | origin | String | The folder's origin path. |
321 | used_for_sync | Object | A json object containing the fields 'value' and 'protected'. The value field indicates whether this folder is used for sync or not. And the 'protected' field shows if the client can change this value or not. |
3010 | DEPRECATED com.openexchange.publish.publicationFlag | Boolean | DEPRECATED The publication feature has been removed with v7.10.2. This column is igonred. |
3020 | com.openexchange.subscribe.subscriptionFlag | Boolean | Indicates whether this folder has subscriptions storing their content in this folder. Direct write operations on the content of this folder is forbidden. Clients should therefore not offer those options to the user. Read Only, provided by the com.openexchange.subscribe plugin |
3030 | com.openexchange.folderstorage.displayName | String | Provides the display of the folder's owner. Read Only |
3060 | com.openexchange.share.extendedPermissions | Array | Each element is an object described in Extended permission object. Read Only. |
3201 | com.openexchange.calendar.extendedProperties | Object | A json object containing the extended properties of an calendar folder as key value pairs. Each value can be an object, an array or a simple value itself. |
3203 | com.openexchange.calendar.provider | String | The name of the calendar provider. |
3204 | com.openexchange.calendar.accountError | Object | In case the account has errors this field contains a json object with fields related to this error. |
3205 | com.openexchange.calendar.config | Object | A json object containing configuration data for the calendar account. |
3220 | com.openexchange.caldav.url | String | The caldav url to this calendar folder. |
Type of folder
Number | Type |
---|---|
1 | private |
2 | public |
3 | shared |
5 | system folder |
7 | This type is no more in use (legacy type). Will be removed with a future update! |
16 | trash |
20 | pictures |
21 | documents |
22 | music |
23 | videos |
24 | templates |
Detailed task and appointment data
ID | Name | Type | Value |
---|---|---|---|
200 | title | String | Short description. |
201 | start_date | Date or Time | Inclusive start of the event as Date for tasks and whole day appointments and Time for normal appointments. For sequencies, this date must be part of the sequence, i. e. sequencies always start at this date. (deprecated for tasks since v7.6.1, replaced by start_time and full_time) |
202 | end_date | Date or Time | Exclusive end of the event as Date for tasks and whole day appointments and as Time for normal appointments. (deprecated for tasks since v7.6.1, replaced by end_time and full_time) |
203 | note | String | Long description. |
204 | alarm | Number or Time | Specifies when to notify the participants as the number of minutes before the start of the appointment (-1 for "no alarm"). For tasks, the Time value specifies the absolute time when the user should be notified. |
209 | recurrence_type | Number | Specifies the type of the recurrence for a task sequence. See Task sequence type |
212 | days | Number | Specifies which days of the week are part of a sequence. The value is a bitfield with bit 0 indicating sunday, bit 1 indicating monday and so on. May be present if recurrence_type > 1. If allowed but not present, the value defaults to 127 (all 7 days). |
213 | day_in_month | Number | Specifies which day of a month is part of the sequence. Counting starts with 1. If the field "days" is also present, only days selected by that field are counted. If the number is bigger than the number of available days, the last available day is selected. Present if and only if recurrence_type > 2. |
214 | month | Number | Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4. |
215 | interval | Number | Specifies an integer multiplier to the interval specified by recurrence_type. Present if and only if recurrence_type > 0. Must be 1 if recurrence_type = 4. |
216 | until | Date | Inclusive end date of a sequence. May be present only if recurrence_type > 0. The sequence has no end date if recurrence_type > 0 and this field is not present. Note: since this is a Date, the entire day after the midnight specified by the value is included. |
217 | notification | Boolean | If true, all participants are notified of any changes to this object. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client. |
220 | participants | Array | Each element identifies a participant, user, group or booked resource as described in Participant identifier. |
221 | users | Array | Each element represents a participant as described in User participant object. User groups are resolved and are represented by their members. Any user can occur only once. |
222 | occurrences | Number | Specifies how often a recurrence should appear. May be present only if recurrence_type > 0. |
223 | uid | String | Can only be written when the object is created. Internal and external globally unique identifier of the appointment or task. Is used to recognize appointments within iCal files. If this attribute is not written it contains an automatic generated UUID. |
224 | organizer | String | Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks. |
225 | sequence | Number | iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set. |
226 | confirmations | Array | Each element represents a confirming participant as described in Confirming participant. This can be internal and external user. Not implemented for tasks. |
227 | organizerId | Number | Contains the userId of the appointment organizer if it is an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
228 | principal | String | Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
229 | principalId | Number | Contains the userId of the appointment principal if it is an internal user. Not implemented for tasks. (Introduced with 6.20.1) |
401 | full_time | Boolean | True if the event is a whole day appointment or task, false otherwise. |
Task sequence type
Number | Description |
---|---|
0 | none (single event) |
1 | daily |
2 | weekly |
3 | monthly |
4 | yearly |
Participant identifier
Name | Type | Value |
---|---|---|
id | Number | User ID |
type | Number | See Participant types |
String | mail address of an external participant |
Participant types
Number | Type |
---|---|
1 | user |
2 | user group |
3 | resource |
4 | resource group |
5 | external user |
User participant object
Name | Type | Value |
---|---|---|
id | Number | User ID. Confirming for other users only works for appointments and not for tasks. |
display_name | String | Displayable name of the participant. |
confirmation | Number | See Confirmation status |
confirmmessage | String | Confirm Message of the participant |
Confirmation status
Number | Status |
---|---|
0 | none |
1 | accepted |
2 | declined |
3 | tentative |
Confirming participant
Name | Type | Value |
---|---|---|
type | Number | Either 1 = user or 5 = external user. |
String | email address of external participant | |
display_name | String | display name of external participant |
status | Number | See Confirmation status |
message | String | Confirm Message of the participant |
Detailed task data
ID | Name | Type | Value |
---|---|---|---|
300 | status | Number | Status of the task. See Task status |
301 | percent_completed | Number | How much of the task is completed. An integer number between 0 and 100. |
302 | actual_costs | Number | A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
303 | actual_duration | ||
304 | after_complete | Date | Deprecated. Only present in AJAX interface. Value will not be stored on OX server. |
305 | billing_information | ||
307 | target_costs | Number | A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
308 | target_duration | ||
309 | priority | Number | 1 = LOW, 2 = MEDIUM, 3 = HIGH |
312 | currency | ||
313 | trip_meter | ||
314 | companies | ||
315 | date_completed | ||
316 | start_time | Date or Time | Inclusive start as Date for whole day tasks and Time for normal tasks. |
317 | end_time | Date or Time | Exclusive end as Date for whole day tasks and as Time for normal tasks. |
Task status
Number | Status |
---|---|
1 | not started |
2 | in progress |
3 | done |
4 | waiting |
5 | deferred |
Detailed contact data
ID | Displayed name | Name | Type | Description |
---|---|---|---|---|
223 | uid | String | Can only be written when the object is created. Internal and external globally unique identifier of the contact. Is used to recognize contacts within vCard files. If this attribute is not written it contains an automatic generated UUID. | |
500 | Display name | display_name | String | |
501 | Given name | first_name | String | First name. |
502 | Sur name | last_name | String | Last name. |
503 | Middle name | second_name | String | |
504 | Suffix | suffix | String | |
505 | Title | title | String | |
506 | Street home | street_home | String | |
507 | Postal code home | postal_code_home | String | |
508 | City home | city_home | String | |
509 | State home | state_home | String | |
510 | Country home | country_home | String | |
511 | Birthday | birthday | Date | |
512 | Marital status | marital_status | String | |
513 | Number of children | number_of_children | String | |
514 | Profession | profession | String | |
515 | Nickname | nickname | String | |
516 | Spouse name | spouse_name | String | |
517 | Anniversary | anniversary | Date | |
518 | Note | note | String | |
519 | Department | department | String | |
520 | Position | position | String | |
521 | Employee type | employee_type | String | |
522 | Room number | room_number | String | |
523 | Street business | street_business | String | |
524 | Internal user id | user_id | Number | |
525 | Postal code business | postal_code_business | String | |
526 | City business | city_business | String | |
527 | State business | state_business | String | |
528 | Country business | country_business | String | |
529 | Number of employee | number_of_employees | String | |
530 | Sales volume | sales_volume | String | |
531 | Tax id | tax_id | String | |
532 | Commercial register | commercial_register | String | |
533 | Branches | branches | String | |
534 | Business category | business_category | String | |
535 | Info | info | String | |
536 | Manager's name | manager_name | String | |
537 | Assistant's name | assistant_name | String | |
538 | Street other | street_other | String | |
539 | City other | city_other | String | |
540 | Postal code other | postal_code_other | String | |
541 | Country other | country_other | String | |
542 | Telephone business 1 | telephone_business1 | String | |
543 | Telephone business 2 | telephone_business2 | String | |
544 | FAX business | fax_business | String | |
545 | Telephone callback | telephone_callback | String | |
546 | Telephone car | telephone_car | String | |
547 | Telephone company | telephone_company | String | |
548 | Telephone home 1 | telephone_home1 | String | |
549 | Telephone home 2 | telephone_home2 | String | |
550 | FAX home | fax_home | String | |
551 | Cellular telephone 1 | cellular_telephone1 | String | |
552 | Cellular telephone 2 | cellular_telephone2 | String | |
553 | Telephone other | telephone_other | String | |
554 | FAX other | fax_other | String | |
555 | Email 1 | email1 | String | |
556 | Email 2 | email2 | String | |
557 | Email 3 | email3 | String | |
558 | URL | url | String | |
559 | Telephone ISDN | telephone_isdn | String | |
560 | Telephone pager | telephone_pager | String | |
561 | Telephone primary | telephone_primary | String | |
562 | Telephone radio | telephone_radio | String | |
563 | Telephone telex | telephone_telex | String | |
564 | Telephone TTY/TDD | telephone_ttytdd | String | |
565 | Instantmessenger 1 | instant_messenger1 | String | |
566 | Instantmessenger 2 | instant_messenger2 | String | |
567 | Telephone IP | telephone_ip | String | |
568 | Telephone assistant | telephone_assistant | String | |
569 | Company | company | String | |
570 | image1 | String | Deprecated. Use 606 instead. | |
571 | Dynamic Field 1 | userfield01 | String | |
572 | Dynamic Field 2 | userfield02 | String | |
573 | Dynamic Field 3 | userfield03 | String | |
574 | Dynamic Field 4 | userfield04 | String | |
575 | Dynamic Field 5 | userfield05 | String | |
576 | Dynamic Field 6 | userfield06 | String | |
577 | Dynamic Field 7 | userfield07 | String | |
578 | Dynamic Field 8 | userfield08 | String | |
579 | Dynamic Field 9 | userfield09 | String | |
580 | Dynamic Field 10 | userfield10 | String | |
581 | Dynamic Field 11 | userfield11 | String | |
582 | Dynamic Field 12 | userfield12 | String | |
583 | Dynamic Field 13 | userfield13 | String | |
584 | Dynamic Field 14 | userfield14 | String | |
585 | Dynamic Field 15 | userfield15 | String | |
586 | Dynamic Field 16 | userfield16 | String | |
587 | Dynamic Field 17 | userfield17 | String | |
588 | Dynamic Field 18 | userfield18 | String | |
589 | Dynamic Field 19 | userfield19 | String | |
590 | Dynamic Field 20 | userfield20 | String | Contains a UUID if one was assigned (after 6.18.2) |
592 | distribution_list | Array | If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list as defined in Distribution list member. | |
594 | Number of distributionlists | number_of_distribution_list | Number | |
596 | number_of_images | Number | ||
597 | image_last_modified | Timestamp | ||
598 | State other | state_other | String | |
599 | file_as | String | ||
601 | image1_content_type | String | ||
602 | mark_as_distributionlist | Boolean | ||
605 | Default address | default_address | Number | |
606 | image1_url | String | ||
608 | useCount | Number | In case of sorting purposes the column 609 is also available, which places global address book contacts at the beginning of the result. If 609 is used, the order direction (ASC, DESC) is ignored. | |
616 | yomiFirstName | String | Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
617 | yomiLastName | String | Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
618 | yomiCompany | String | Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) | |
619 | addressHome | String | Support for Outlook 'home' address field. (since 6.20.1) | |
620 | addressBusiness | String | Support for Outlook 'business' address field. (since 6.20.1) | |
621 | addressOther | String | Support for Outlook 'other' address field. (since 6.20.1) |
Distribution list member
Name | Type | Value |
---|---|---|
id | String | Object ID of the member's contact if the member is an existing contact. |
folder_id | String | Parent folder ID of the member's contact if the member is an existing contact (preliminary, from 6.22 on). |
display_name | String | Display name |
String | Email address (mandatory before 6.22, afterwards optional if you are referring to an internal contact) | |
mail_field | Number | Which email field of an existing contact (if any) is used for the mail field. See Mail fields. |
Mail fields
Number | Field |
---|---|
0 | independent contact |
1 | default email field (email1) |
2 | second email field (email2) |
3 | third email field (email3) |
Detailed appointment data
ID | Name | Type | Value |
---|---|---|---|
206 | recurrence_id | Number | Object ID of the entire appointment sequence. Present on series and change exception appointments. Equals to object identifier on series appointment and is different to object identifier on change exceptions. |
207 | recurrence_position | Number | 1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
208 | recurrence_date_position | Date | Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
210 | change_exceptions | Array | An array of Dates, representing all change exceptions of a sequence. |
211 | delete_exceptions | Array | An array of Dates, representing all delete exceptions of a sequence. |
400 | location | String | Location |
402 | shown_as | Number | Describes, how this appointment appears in availability queries. See Appointment availability |
408 | timezone | String | Timezone |
410 | recurrence_start | Date | Start of a sequence without time |
ignore_conflicts | Boolean | Ignore soft conflicts for the new or modified appointment. This flag is valid for the current change only, i. e. it is not stored in the database and is never sent by the server to the client. |
Appointment availability
Number | Value |
---|---|
1 | reserved |
2 | temporary |
3 | absent |
4 | free |
Detailed mail data
ID | Name | Type | Value |
---|---|---|---|
102 | color_label | Number | Color number used by Outlook to label the object. The assignment of colors to numbers is arbitrary and specified by the client. The numbers are integer numbers between 0 and 10 (inclusive). |
600 | id | String | Object ID |
601 | folder_id | String | Object ID of the parent folder |
602 | attachment | Boolean | Specifies whether this mail has attachments. |
603 | from | Array | Each element is a two-element array specifying one sender. The first element of each address is the personal name, the second element is the email address. Missing address parts are represented by null values. |
604 | to | Array | Each element is a two-element array (see the from field) specifying one receiver. |
605 | cc | Array | Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
606 | bcc | Array | Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
607 | subject | String | Subject line. |
608 | size | Number | Size of the mail in bytes. |
609 | sent_date | Time | Date and time as specified in the mail by the sending client. |
610 | received_date | Time | Date and time as measured by the receiving server. |
611 | flags | Number | Various system flags. A sum of zero or more of values described in Mail system flags. See javax.mail.Flags.Flag for details. |
612 | level | Number | Zero-based nesting level in a thread. |
613 | disp_notification_to | String | Content of message's header “Disposition-Notification-To” |
614 | priority | Number | Value of message's “X-Priority” header. See X-Priority header. |
615 | msg_ref | String | Message reference on reply/forward. |
651 | flag_seen | String | Special field to sort mails by seen status |
652 | account_name | String | Message's account name. |
653 | account_id | int | Message's account identifier. Since v6.20.2 |
user | Array | An array with user-defined flags as strings. | |
headers | Object | An object with a field for every non-standard header. The header name is the field name. The header value is the value of the field as string. | |
attachments | Array | Each element is an attachment as described in Attachment. The first element is the mail text. If the mail has multiple representations (multipart-alternative), then the alternatives are placed after the mail text and have the field disp set to alternative. | |
nested_msgs | Array | Each element is a mail object as described in this table, except for fields id, folder_id and attachment. | |
truncated | boolean | true/false if the mail content was trimmed. Since v7.6.1 | |
source | String | RFC822 source of the mail. Only present for action=get&attach_src=true |
|
cid | String | The value of the "Content-ID" header, if the header is present. | |
654 | original_id | String | The original mail identifier (e.g. if fetched from "virtual/all" folder). |
655 | original_folder_id | String | The original folder identifier (e.g. if fetched from "virtual/all" folder). |
656 | content_type | String | The Content-Type of a mail; e.g. multipart/mixed; boundary="-0123456abcdefg--" . |
657 | answered | String | Special field to sort mails by answered status. |
658 | forwarded | String | Special field to sort mails by forwarded status. Note that mail service needs either support a \Forwarded system flag or a $Forwarded user flag |
659 | draft | String | Special field to sort mails by draft flag. |
660 | flagged | String | Special field to sort mails by flagged status. |
661 | date | String | The date of a mail message. As configured, either the internal received date or mail's sent date (as given by "Date" header). Supposed to be the replacement for sent_date (609) or received_date (610) to let the Open-Xchange Middleware decide based on configuration for com.openexchange.mail.preferSentDate property what to consider. Supported at both - columns parameter and sort parameter. |
662 | text_preview_if_available | String | A mail's text preview. Only returned if immediately available from mail server. An empty string signals that mail has no body content. NULL signals not available. |
663 | text_preview | String | A mail's text preview. An empty string signals that mail has no body content. Might be slow. |
664 | authenticity_preview | JSON | The light-weighted version of the authenticity status result, i.e. the status string. |
665 | authenticity | JSON | The heavy-weighted version of the authenticity status results as described in MailData. |
Mail system flags
Number | Description |
---|---|
1 | answered |
2 | deleted |
4 | draft |
8 | flagged |
16 | recent |
32 | seen |
64 | user |
128 | spam |
256 | forwarded |
512 | read acknowledged |
X-Priority header
Number | Description |
---|---|
0 | No priority |
5 | Very Low |
4 | Low |
3 | Normal |
2 | High |
1 | Very High |
Attachment
Name | Type | Value |
---|---|---|
id | String | Object ID (unique only inside the same message) |
content_type | String | MIME type |
content | String | Content as text. Present only if easily convertible to text. |
filename | String | Displayed filename (mutually exclusive with content). |
size | Number | Size of the attachment in bytes. |
disp | String | Attachment's disposition: null, inline, attachment or alternative. |
Detailed infoitem data
ID | Name | Type | Value |
---|---|---|---|
108 | object_permissions | Array | Each element is an object described in Object Permission object (preliminary, available with 7.8.0). |
109 | shareable | Boolean | (read-only) Indicates if the item can be shared (preliminary, available with 7.8.0). |
700 | title | String | Title |
701 | url | String | Link/URL |
702 | filename | String | Displayed filename of the document. |
703 | file_mimetype | String | MIME type of the document. The client converts known types to more readable names before displaying them. |
704 | file_size | Number | Size of the document in bytes. |
705 | version | Number | Version number of the document. New documents start at 1. Every update increments the version by 1. |
706 | description | String | Description |
707 | locked_until | Time | The time until which this item will presumably be locked. Only set if the document is currently locked, 0 otherwise. |
708 | file_md5sum | String | MD5Sum of the document, if available. |
709 | version_comment | String | A version comment is used to file a changelog for the file. |
710 | current_version | Boolean | “true” if this version is the current version “false” otherwise. Note: This is not writeable |
711 | number_of_versions | Number | The number of versions of the infoitem. In case the number is unknown this field is set to -1. Note: This is not writeable. |
712 | origin | String | The file's origin path. Since 7.10.0. |
713 | capture_date | Time | The capture/creation date of the media resource. Since 7.10.2. |
714 | geolocation | String | The geo location of the media resource as a parenthesized latitude and longitude pair. Since 7.10.2. |
715 | width | Number | Thhe width of the media resource. Since 7.10.2. |
716 | height | Number | The height of the media resource. Since 7.10.2. |
717 | camera_make | Time | The name of the camera manufacturer. Since 7.10.2. |
718 | camera_model | Time | The name of the camera model. Since 7.10.2. |
719 | camera_iso_speed | Number | The ISO speed value of a camera or input device. Since 7.10.2. |
720 | camera_aperture | Number | The aperture used to create the photo (f-number). Since 7.10.2. |
721 | camera_exposure_time | Number | The length of the exposure, in seconds. Since 7.10.2. |
722 | camera_focal_length | Number | The focal length used to create the photo, in millimeters. Since 7.10.2. |
723 | media_meta | JSON | The meta information for the media resource. Since 7.10.2. |
724 | media_status | String | The status of parsing/analyzing media meta-data from the media resource. Since 7.10.2. |
725 | media_date | Time | The media date represents the capture date, which falls-back to last-modified date if there is capture date. Useful for sorting. Since 7.10.2. |
751 | sequence_number | Number | Sequence number of the infoitem. |
7010 | com.openexchange.share.extendedObjectPermissions | Array | Each element is an object described in Extended object permission object. Read Only, Since 7.8.0. |
7020 | com.openexchange.realtime.resourceID | String | The resource identifier for the infoitem for usage within the realtime component. Read Only, Since 7.8.0. |
7030 | com.openexchange.file.storage.mail.mailMetadata | Object | Additional metadata for items in the mail file storage. Read Only. |
7040 | com.openexchange.file.sanitizedFilename | String | A sanitized version of the filename. Which prevents end users from being confused by special characters, e.g. RTLO (0x202E). Read Only. |
Object Permission object
Name | Type | Value |
---|---|---|
bits | Number | A number as described in Object Permission flags. |
entity | Number | User ID of the user or group to which this permission applies. |
group | Boolean | true if entity refers to a group, false if it refers to a user. |
type | String | The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
password | String | An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional) . |
email_address | String | The e-mail address of the recipient (for type "guest"). |
display_name | String | The display name of the recipient (for type "guest", optional). |
contact_id | String | The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
contact_folder | String | The folder identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", required if "contact_id" is set). |
expiry_date | Time | The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
Extended object permission object
Name | Type | Value |
---|---|---|
entity | Number | Identifier of the permission entity (i.e. user-, group- or guest-ID). |
bits | Number | A number as described in Object Permission flags. |
type | String | "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
display_name | String | A display name for the permission entity. |
contact | Object | A (reduced) set of Detailed contact data for "user" and "guest" entities. |
share_url | String | The share link for "anonymous" entities. |
password | String | The optionally set password for "anonymous" entities. |
expiry_date | Date | The optionally set expiry date for "anonymous" entities. |
Object permission flags
Bits | Value |
---|---|
0 | The numerical value indicating no object permissions. |
1 | The numerical value indicating read object permissions. |
2 | The numerical value indicating write object permissions. This implicitly includes the “read” permission (this is no bitmask). |
Attachment object
ID | Name | Type | Description |
---|---|---|---|
800 | folder | Number | The ID of the first Folder in which the attached object resides. |
801 | attached | Number | The object id of the object this attachement is attached to. |
802 | module | Number | The Module of this Object. Possible values are described in Attachment module |
803 | filename | String | The filename of the attached file. |
804 | file_size | Number | The file size (in bytes) of the attached file. |
805 | file_mimetype | String | The MIME-Type of the attached file |
806 | rft_flag | Boolean | If the attachment is a RTF Attachment of Outlook. (Outlook descriptions can be stored as RTF Documents). |
Attachment module
Number | Name |
---|---|
1 | Appointment |
4 | Task |
7 | Contact |
137 | Infostore |
Mail account data
ID | Name | Type | Value |
---|---|---|---|
1001 | id | Number | Account ID |
1002 | login | String | The login. |
1003 | password | String | The (optional) password. |
1004 | mail_url | String | The mail server URL; e.g. "imap://imap.somewhere.com:143". URL is preferred over single fields (like mail_server, mail_port, etc.) |
1005 | transport_url | String | The transport server URL; e.g. "smtp://smtp.somewhere.com:25". URL is preferred over single fields (like transport_server, transport_port, etc.) |
1006 | name | String | Account's display name. |
1007 | primary_address | String | User's primary address in account; e.g. "someone@somewhere.com" |
1008 | spam_handler | String | The name of the spam handler used by account. |
1009 | trash | String | The name of the default trash folder. |
1010 | sent | String | The name of the default sent folder. |
1011 | drafts | String | The name of the default drafts folder. |
1012 | spam | String | The name of the default spam folder. |
1013 | confirmed_spam | String | The name of the default confirmed-spam folder. |
1014 | confirmed_ham | String | The name of the default confirmed-ham folder. |
1015 | mail_server | String | The mail server's hostname or IP address. |
1016 | mail_port | Number | The mail server's port. |
1017 | mail_protocol | String | The mail server's protocol. Always use basic protocol name. E.g. use "imap" instead of "imaps" |
1018 | mail_secure | Boolean | Whether to establish a secure connection to mail server (SSL, TLS). |
1019 | transport_server | String | The transport server's hostname or IP address. |
1020 | transport_port | Number | The transport server's port. |
1021 | transport_protocol | String | The transport server's protocol. Always use basic protocol name. E.g. use "smtp" instead of "smtps" |
1022 | transport_secure | Boolean | Whether to establish a secure connection to transport server (SSL, TLS). |
1023 | transport_login | String | The transport login. Please see "transport_auth" for the handling of this field. |
1024 | transport_password | String | The transport password. Please see "transport_auth" for the handling of this field. |
1025 | unified_inbox_enabled | Boolean | If enabled for Unified INBOX |
1026 | trash_fullname | String | Path to default trash folder. Preferred over "trash" |
1027 | sent_fullname | String | Path to default sent folder. Preferred over "sent" |
1028 | drafts_fullname | String | Path to default drafts folder. Preferred over "drafts" |
1029 | spam_fullname | String | Path to default spam folder. Preferred over "spam" |
1030 | confirmed_spam_fullname | String | Path to default confirmed-spam folder. Preferred over "confirmed_spam" |
1031 | confirmed_ham_fullname | String | Path to default confirmed-ham folder. Preferred over "confirmed_ham" |
1032 | pop3_refresh_rate | Number | The interval in minutes the POP3 account is refreshed |
1033 | pop3_expunge_on_quit | Boolean | Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not |
1034 | pop3_delete_write_through | Boolean | If option "pop3_expunge_on_quit" is disabled, this property defines whether a delete in local INBOX also deletes affected message in actual POP3 account |
1035 | pop3_storage | String | The name of POP3 storage provider, default is "mailaccount" |
1036 | pop3_path | String | Path to POP3's virtual root folder in storage, default is name of the POP3 account beside default folders |
1037 | personal | String | The customizable personal part of email address |
1038 | reply_to | String | The customizable reply-to email address |
1039 | addresses | String | The comma-separated list of available E-Mail addresses including aliases. !! Only available for primary mail account !! |
1040 | meta | JSON | data Stores arbitrary JSON data as specified by client associated with the mail account |
1041 | archive | String | The name of the archive folder. Currently not functional! |
1042 | archive_fullname | String | The full name of the archive folder. Currently not functional! |
1043 | transport_auth | String | Available since v7.6.1 Specifies the source for mail transport (SMTP) credentials. See Credential source. |
1044 | mail_starttls | Boolean | Available since v7.8.2 Whether to establish a secure connection to mail server via STARTTLS. |
1045 | transport_starttls | Boolean | Available since v7.8.2 Whether to establish a secure connection to transport server via STARTTLS. |
1046 | root_folder | String | Available since v7.8.3 Specifies the identifier of an account's root folder |
1047 | mail_oauth | Integer | Available since v7.8.3 Specifies the identifier of the associated OAuth account for mail access |
1048 | transport_oauth | Integer | Available since v7.8.3 Specifies the identifier of the associated OAuth account for mail transport |
Credential source
Value | Description |
---|---|
Signals to use the same credentials as given in associated mail store (IMAP, POP3). | |
custom | Signals that individual credentials are supposed to be used (fields "transport_login" and "transport_password" are considered). |
none | Means the mail transport does not support any authentication mechanism (rare case!) |
Detailed user data
ID | Displayed name | Name | Type | Value |
---|---|---|---|---|
610 | Aliases | aliases | Array | The user's aliases |
611 | Time zone | timezone | String | The time zone ID. |
612 | Locale | locale | String | The name of user's entire locale, with the language, country and variant separated by underbars. E.g. "en", "de_DE" |
613 | Groups | groups | Array | The IDs of user's groups |
614 | Contact ID | contact_id | Number | The contact ID of the user |
615 | Login info | login_info | String | The user's login information |
616 | Guest Created By | guest_created_by | Number | The ID of the user who has created this guest in case this user represents a guest user; it is 0 for regular users (preliminary, available with v7.8.0) |
Messaging message columns
Name | Description |
---|---|
id | The id attribute |
folderId | The folder attribute |
contentType | The "Content-Type" header |
from | The "From" header |
to | The "To" header |
cc | The "Cc" header |
bcc | The "Bcc" header |
subject | The "Subject" header |
size | The size attribute |
sentDate | The "Date" header |
receivedDate | The receivedDate attribute |
flags | The flags attribute |
threadLevel | The threadLevel attribute |
dispositionNotificationTo | The "Disposition-Notification-To" header. |
priority | The "X-Priority" header |
colorLabel | The colorLabel attribute |
url | The url attribute |
body | The content attribute |
headers | The headers attribute |
picture | The url to the message picture. |
Group data
ID | Name | Type | Value |
---|---|---|---|
1 | id | String | Object ID |
5 | last_modified | Time | Date and time of the last modification. |
700 | name | String | The name of the group. |
701 | display_name | String | The display name of the group. |
702 | members | String | A comma separated list of user ids. |
Flags and bitmasks
Permission flags
Bits | Value |
---|---|
0-6 | Folder permissions: |
0 (no permissions) | |
1 (see the folder) | |
2 (create objects in folder) | |
4 (create subfolders) | |
64 (all permissions) | |
7-13 | Read permissions for objects in folder: |
0 (no permissions) | |
1 (read only own objects) | |
2 (read all objects) | |
64 (all permissions) | |
14-20 | Write permissions for objects in folder: |
0 (no permissions) | |
1 (modify only own objects) | |
2 (modify all objects) | |
64 (all permissions) | |
21-27 | Delete permissions for objects in folder: |
0 (no permissions) | |
1 (delete only own objects) | |
2 (delete all objects) | |
64 (all permissions) | |
28 | Admin flag: |
0 (no permissions) | |
1 (every operation modifying the folder in some way requires this permission (e.g. changing the folder name) | |
29 | User flag support: (for Mail folder only) |
0 (no user flag support) | |
1 (user flag support) | |
30 | Rename support: (for Mail folder only) |
0 (not allowed to rename) | |
1 (allowed to rename) |
Capabilities
Bit | Description |
---|---|
0 | Mailing system supports permissions. |
1 | Mailing system supports ordering mails by their thread reference. |
2 | Mailing system supports quota restrictions. |
3 | Mailing system supports sorting. |
4 | Mailing system supports folder subscription. |
Note: Capabilities describe the entire mailing system (mail account), not the specific folder in which they are transmitted. E.g. bit 4 of the capabilities on the user's inbox describes whether subscriptions are supported by the default account, even though the inbox itself cannot be unsubscribed because it's a standard folder.
Standard Folder Types
Bit | Description |
---|---|
0 | No default folder. |
1 | Task. |
2 | Calendar. |
3 | Contact. |
7 | Inbox. |
8 | Infostore. |
9 | Drafts. |
10 | Sent. |
11 | Spam. |
12 | Trash. |
Supported Capabilities
Name | Description |
---|---|
permissions | Folder storage supports permissions. |
publication | Folder storage supports folder publication. Deprecated with v7.10.2! |
quota | Folder storage supports quota restrictions. |
sort | Folder storage supports sorting. |
subscription | Folder storage supports folder subscription. |
Event Flags
Name | Description |
---|---|
attachments | The event contains at least one attachment. |
alarms | The calendar user has at least one alarm associated with the event. |
scheduled | Event is a group-scheduled meeting with an organizer. |
organizer | The calendar user is the organizer of the meeting. |
organizer_on_behalf | The calendar user is the organizer of the meeting, and the current user acts on behalf of him. |
attendee | The calendar user is attendee of the meeting. |
attendee_on_behalf | The calendar user is attendee of the meeting, and the current user acts on behalf of him. |
private | Event is classified private, so is invisible for others. |
confidential | Event is classified as confidential, so only start and end time are visible for others. |
transparent | Event is transparent for the calendar user, i.e. invisible to free/busy time searches. |
event_tentative | Indicates that the event's overall status is tentative. |
event_confirmed | Indicates that the event's overall status is definite. |
event_cancelled | Indicates that the event's overall status is cancelled. |
needs_action | The calendar user's participation status is needs action. |
accepted | The calendar user's participation status is accepted. |
declined | The calendar user's participation status is declined. |
tentative | The calendar user's participation status is tentative. |
delegated | The calendar user's participation status is delegated. |
series | The event represents the master of a recurring event series, or an expanded (regular) occurrence of a series. |
overridden | The event represents an exception / overridden instance of a recurring event series. |
first_occurrence | The event represents the first occurrence of a recurring event series. |
last_occurrence | The event represents the last occurrence of a recurring event series. |
Mail filter
This chapter gives a detailed description of the mail filter module. It should be uses as a source of information in addition to the http api.
First of all the main structure of a mail filter script is, that it has different rules. Each of them contains one command. This command takes a test condition which executes the actions given in that command if the test condition is true.
The test condition consists of a test command and some arguments for this command depending on the command itself. Because the available tests depend on the mail filter server, these tests must be determined at runtime. So that no test field is transferred to the server which it isn't able to handle. Examples for tests are address, allof and anyof.
Each test has a special comparison. The list of available comparisons depends on the test given and the mail filter server configuration so they have to be determined at runtime too.
Each time you want to do some action on a mail you need a so called action command. This describes what to do with a mail. To action commands the same applies as to the test commands and their comparison types, they must be determined at runtime.
All those dynamical values can be fetched via a config object at startup. This object shows the capabilities of the server to the client. This allows the client to show only the capabilities the server actually has to the user and to send only objects to the server which produce no errors on the server side.
To deal with this high flexibility of mail filters this specification can be roughly divided into 2 parts. A non-changing core and dynamical extensions. The core specification is that each rule consists of a name, an ID, a value showing if this rule is active or not and a tag which can be set on a rule to mark that rule for a special purpose. Furthermore each rule takes a test object, specifying in what case the following actions are triggered, and one or many actioncommands, specifying the actions itself.
The objects for the tests and the actions are dynamical, so the set presented in this specification may be changed over the time, but only compatible changes are allowed to the objects, otherwise new test or action objects have to be introduced. Due to the fact that not every sieve implementation will offer all the capabilities written in this document, the server will sent his configuration if a special request is made. This configuration will show which of the tests and which of the actions are allowed. So for example if the server signals that it is capable of handling vacation, sending a vacation object as action is safe.
Furthermore some tests use a comparison field as stated above which specifies how the fields are compared. The values of this field must also be determined at runtime. So in the configuration object there is a special part which shows the comparisons which are available. Note that not all comparisons can be used with every test. Some of them are denoted to a special test, which is described in Possible comparisons.
Possible tests
Name | Description |
---|---|
address | This test type applies to addresses only. So it may be used for all header fields which contain addresses. This test returns true if any combination of the header-list and values-list arguments match. |
envelope | This test applies to the envelope of a mail. This test isn't used under normal circumstances as the envelope isn't accessible in all mail setups. This test returns true if any combination of the header-list and values-list arguments match. |
true | A test for a true result (can be used if an action command should be executed every time). |
not | Negates a given test. |
size | Deals with the size of the mail. |
currentdate | Compares a given date with the current date. |
header | Tests against all headers of a mail. So with this test in contrast to the address test also fields such as subject can be handled. This test returns true if any combination of the header-list and values-list arguments match. |
body | Tests against the content of a mail. |
allof | Defines an AND condition between several tests. |
anyof | Defines an OR condition between several tests. |
date | Compares a given date with the given date header. |
exists | Tests whether a list of headers exist or not. |
Simplified tests
The mailfilter v2 api suppports some simplified rules.
Name | Description |
---|---|
subject | A convenience test to match against a mails subject. |
from | A convenience test to match against a mails From header. |
to | A convenience test to match against a mails To header. |
cc | A convenience test to match against a mails Cc header. |
anyRecipient | A convenience test to match against a mails To and Cc headers. |
mailingList | Matches against common mailing list headers for simple filtering of mailing list mails. |
Possible comparisons
Name | Description |
---|---|
is | If a field is equal to a given value. |
not is | If a field is unequal to a given value. |
contains | If a field contains a given value at any position. |
not contains | If a field not contains a given value at any position. |
matches | Tests if the value matches the value in the specified field ("*" matches zero or more characters, "?" matches a single character, to use these characters themselves they have to be escaped via backslash). |
not matches | Tests if the value doesn't matches the value in the specified field ("*" matches zero or more characters, "?" matches a single character, to use these characters themselves they have to be escaped via backslash). |
regex | Tests if a given regular expression matches with the value present in the specified field. |
not regex | Tests if a given regular expression doesn't matches with the value present in the specified field. |
startswith | Like matches but adds an additional wildcard character at the end of the value. |
not startswith | Like 'not matches' but adds an additional wildcard character at the end of the value. |
endswith | Like matches but adds an additional wildcard character at the beginning of the value. |
not endswith | Like 'not matches' but adds an additional wildcard character at the beginning of the value. |
Possible currentdate comparisons
Name | Description |
---|---|
is | Used in the date test to check for a value equal to the given one. |
not is | Used in the date test to check for a value unequal to the given one. |
ge | Used in the date test to check for a value greater or equal to the given one. |
not ge | Used in the date test to check for a value smaller to the given one. |
le | Used in the date test to check for a value less or equal to the given one. |
not le | Used in the date test to check for a value greater to the given one. |
Possible address parts
Name | Description |
---|---|
all | The hole mail address. This is also the default. |
localpart | The local part of the mail address. |
domain | The domain part of the mail address. |
Possible size comparisons
Name | Description |
---|---|
over | Used in the size test to check for a value greater than the given one. |
not over | Used in the size test to check for a value smaller or equal to the given one. |
under | Used in the size test to check for a value less than the given one. |
not under | Used in the size test to check for a value greater or equal to the given one. |
Possible extensions
Name | Description |
---|---|
content | An extension used in conjunction with the body test to define the content which should be considered. This extension will need a parameter specifying the mime-type of the part of the message which will be searched. |
text | An extension used in conjunction with the body test to define that only the text of the body should be considered in this test. This extension takes no parameter. |
Structure of tests
This section describes the structures of tests.
address-test
Name | Type | Value | Description |
---|---|---|---|
id | String | address | A string describing the test command. |
comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
addresspart | String | The address part which should be tested, see Possible address parts. | |
headers | Array | A string array containing the header fields. | |
values | Array | A string array containing the value for the header fields. The test will be true if any of the strings matches. |
envelope-test
Name | Type | Value | Description |
---|---|---|---|
id | String | envelope | A string describing the test command. |
comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
addresspart | String | The address part which should be tested, see Possible address parts. | |
headers | Array | A string array containing the header fields. | |
values | Array | A string array containing the value for the header fields. The test will be true if any of the strings matches. |
true-test
Name | Type | Value | Description |
---|---|---|---|
id | String | true | A string describing the test command. |
not-test
Name | Type | Value | Description |
---|---|---|---|
id | String | not | A string describing the test command. |
test | Object | One of the test objects which result will be negated. |
size-test
Name | Type | Value | Description |
---|---|---|---|
id | String | size | A string describing the test command. |
comparison | String | Only two types are valid here. A description can be found in Possible size comparisons. | |
size | Number | A number specifying the size for this comparison, in bytes. |
currentdate-test
Name | Type | Value | Description |
---|---|---|---|
id | String | currentdate | A string describing the test command. |
comparison | String | Only three types are valid here. A description can be found in Possible currentdate comparisons. | |
datepart | String | A string containing the string "date", "weekday" or "time" as we only allow fix date, time and weekday comparisions for now. | |
datevalue | Array | A value array containing the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 to 6, reflecting the equivalent weekday, starting from Sunday through Saturday, i.e. 0 - Sunday, ..., 6 - Saturday. The test will be true if any of the values matches | |
zone | String | The optional timezone which should be used for the test. E.g. "+0100". If omitted the current timezone of the user is used. |
header-test
Name | Type | Value | Description |
---|---|---|---|
id | String | header | A string describing the test command. |
comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
headers | Array | A string array containing the header fields. | |
values | Array | A string array containing the values for the header fields. The test will be true if any of the strings matches. |
allof-test
Name | Type | Value | Description |
---|---|---|---|
id | String | allof | A string describing the test command. |
tests | Array | A array of tests. |
anyof-test
Name | Type | Value | Description |
---|---|---|---|
id | String | anyof | A string describing the test command. |
tests | Array | A array of tests. |
body-test
Name | Type | Value | Description |
---|---|---|---|
id | String | body | A string describing the test command. |
comparison | String | Available types can be found in the config object. (see Possible comparisons). | |
extensionskey | String | The extension key can be one of the value found in Possible extensions. | |
extensionsvalue | String | A value for the given key. If the key has no value (see Possible extensions for this information) the value given here is ignored. | |
values | Array | A string array containing the values for the body. The test will be true if any of the strings matches. |
date-test
Name | Type | Value | Description |
---|---|---|---|
id | String | date | A string describing the test command. |
comparison | String | Only three types are valid here. A description can be found in Possible currentdate comparisons. | |
header | String | The header field to test against. | |
datepart | String | A string containing the string "date", "weekday" or "time" as we only allow fix date, time and weekday comparisions for now. | |
datevalue | Array | A value array containing the corresponding value to the datepart. For "date" and "time" this will be an array of "Date" (unix timestamp). For "weekday", it will be an array of integers ranging from 0 to 6, reflecting the equivalent weekday, starting from Sunday through Saturday, i.e. 0 - Sunday, ..., 6 - Saturday. The test will be true if any of the values matches | |
zone | String | The optional timezone which should be used for the test. E.g. "+0100". If omitted the current timezone of the user is used. |
exists-test
Name | Type | Value | Description |
---|---|---|---|
id | String | exists | A string describing the test command. |
headers | Array | A string array containing the header fields. |
simplified-header-test
Name | Type | Value | Description |
---|---|---|---|
id | String | A string describing a simplified test command. | |
comparison | String | Available types can be found in the config object (see Possible comparisons). Defaults to "contains". | |
values | Array | A string array containing the values for the header fields. The test will be true if any of the strings matches. |
Possible action commands
Name | Description |
---|---|
keep | Keeps a mail non-changed. |
discard | Discards a mail without any processing. |
redirect | Redirects a mail to a given e-mail address. |
move | Moves a mail into a given subfolder (the syntax of the subfolder given here must be the correct syntax of the underlying IMAP-server and is up to the GUI to detect things such as altnamespace or unixhierarchysep). |
reject | Rejects the mail with a given text. |
stop | Stops any further progressing of a mail. |
vacation | Creates a vacation mail. |
setflag | Set flags of a mail. |
addflag | Adds flags to a mail. |
notify | Adds a notification. |
pgp | Encrypts a mail via pgp. |
Structure of action commands
This section describes the structures of action commands.
keep-command
Name | Type | Value | Description |
---|---|---|---|
id | String | keep | A string defining the object itself. |
discard-command
Name | Type | Value | Description |
---|---|---|---|
id | String | discard | A string defining the object itself. |
redirect-command
Name | Type | Value | Description |
---|---|---|---|
id | String | redirect | A string defining the object itself. |
to | String | A string containing where the mail should be redirected to. | |
copy | Boolean | An optional boolean flag. If set the :copy argument will be added to the redirect command. See RFC 3894 for further details. |
move-command
Name | Type | Value | Description |
---|---|---|---|
id | String | move | A string defining the object itself. |
into | String | This string takes the object id of the destination mail folder as specified in the HTTP API of the groupware. | |
copy | Boolean | An optional boolean flag. If set the :copy argument will be added to the fileinto command. See RFC 3894 for further details. |
reject-command
Name | Type | Value | Description |
---|---|---|---|
id | String | reject | A string defining the object itself. |
text | String | A string containing the reason why the mail is rejected. |
stop-command
Name | Type | Value | Description |
---|---|---|---|
id | String | stop | A string defining the object itself. |
vacation-command
Name | Type | Value | Description |
---|---|---|---|
id | String | vacation | A string defining the object itself. |
days | Integer | The days for which a vacation text is returned. | |
addresses | Array | The addresses for which this vacation is responsible. That means for which addresses out of the aliases array of the user defining this filter, vacations will be sent. | |
from | String or Array | Support for the ':from' tag. Specifies the value of the from header for the auto-reply mail, e.g. Foo Bear foo.bear@ox.io (Since 7.8.1). The array of strings should be a simple JSONArray with length 2; the first element should include the personal part of the e-mail address and the second element the actual e-mail address. If only the e-mail address is available, that should be the only element of the array. | |
subject | String | The new subject for the returned message (can be left empty, when only adding RE:). | |
text | String | The vacation text itself. |
addflag-command
Name | Type | Value | Description |
---|---|---|---|
id | String | addflags | A string defining the object itself. |
flags | Array | An array containing the flags which should be added to that mail. A flag can be either a system flag or a user flag. System flags begin with a backslash (\) and can be one of the ones describes in Flags. System flags are case-insensitive. User flags begin with a dollar sign ($) and can contain any ASCII characters between 0x21 (!) and 0x7E (~), inclusive, except for the characters 0x22, 0x25, 0x28, 0x29, 0x2A, 0x5C, 0x5D and 0x7B, which correspond to "%()*]{ Mail color flags as used by OX are implemented by user flags of the form $cl_n, where n is a number between 1 and 10, inclusive. See RFC 3501 for further details on IMAP flags and their meanings. |
setflag-command
Name | Type | Value | Description |
---|---|---|---|
id | String | setflags | A string defining the object itself. |
flags | Array | An array containing the flags which should be set. A flag can be either a system flag or a user flag. System flags begin with a backslash () and can be one of the ones describes in Flags. System flags are case-insensitive. User flags begin with a dollar sign ($) and can contain any ASCII characters between 0x21 (!) and 0x7E (~), inclusive, except for the characters 0x22, 0x25, 0x28, 0x29, 0x2A, 0x5C, 0x5D and 0x7B, which correspond to "%()*]{ Mail color flags as used by OX are implemented by user flags of the form $cl_n, where n is a number between 1 and 10, inclusive. See RFC 3501 for further details on IMAP flags and their meanings. |
Flags
Name |
---|
\seen |
\answered |
\flagged |
\deleted |
\draft |
\recent |
notify-command
Name | Type | Value | Description |
---|---|---|---|
id | String | notify | A string defining the object itself. |
message | String | the content of the notification message. | |
method | String | the method of the notification message, e.g. "mailto:012345678@sms.gateway". |
pgp-command
Name | Type | Value | Description |
---|---|---|---|
id | String | pgp | A string defining the object itself. |
keys | Array | The public keys as string which should be used for encryption. |
Advanced Search
This chapter describes the search module in more detail. Each search request contains a JSON object representing the search term. The search term is embedded
in a wrapping JSON object with the field filter
, like {"filter":[search term]}
. In general the structure of a search
term is in prefix notation, meaning the operator is written before its operands: [">", 5, 2]
represents the condition
"5 > 2".
Operators
There are two kinds of search operators, comparison operators and logic operators.
Comparison operators
Comparison operators compare two operands with one another. The exception is the "isNull" operator which has only one operand which must be a field name. The following operators are available:
Operator | Description |
---|---|
">" | greater |
"<" | smaller |
"=" | equal |
"<=" | smaller or equal |
">=" | greater or equal |
"<>" | unequal |
"isNull" | is NULL |
Logic operators
Logic operators combine search expressions. Whereby the logic operator "not" has exactly one operand, the other logic operators can have any number of operands. Each operand must be an array representing a nested search expression.
Operator |
---|
"not" |
"and" |
"or" |
Operands
Each operator needs one or more operands. There are different types of operands:
- Constant
- Field
- Attachment
- Header
Constant
Primitive JSON types are interpreted as constants, but arrays are not valid operands for comparison operators!
Field
A field operand is a JSON object with the member field
specifying the field name, e.g. {"field":"first_name"}
.
The available field names depend on the module that implements the search.
Attachment
A attachment operand is a JSON object with the member attachment
specifying the attachment name, e.g. {"attachment":"somedocument.txt"}
.
The attachment search is only available in case the FILENAME_SEARCH
capability is included in the list of supported_capabilities of the folder.
Header
A header operand is a JSON object with the member header
specifying the header name, e.g. {"header":"From"}
.
Examples
{
"filter":[
"and",
[
"=",
{
"field":"field_name1"
},
"value1"
],
[
"not",
[
">",
{
"field":"field_name2"
},
"value2"
]
]
]
}
Represents the expression field_name1 = value1 AND NOT field_name2 > value2
.
Calendar account configuration
This chapter describes the configuration of different calendar accounts.
ICal feeds
Various ICal feeds can be subscribed by the given URI and optional basic authentication.
For example:
{
"configuration":{
"uri":"http://example.org/feed/theExampleFeed.ics"
}
}
If basic authentication is required the body should contain 'login', 'password' or both as desired by the endpoint, for instance:
{
"configuration":{
"uri":"http://example.org/feed/theSecureExampleFeed.ics"
"login":"johnDoe",
"password":"myPassword"
}
}
The google calendar account basically only needs the id of a valid google oauth account with the calendar_ro
scope.
For example:
{
"configuration":{
"oauthId":5
}
}
This way the middleware creates a google calendar account which uses the given oauth account. During the initialization of the account the folders
field is filled with all available google calendars.
This json object contains another json objects for each calendar, whereby the key of each entry is the id of the google calendar (E.g. test_account@gmail.com
). Each google calendar object contains different informations about the calendar (e.g. the color, default reminders etc.). But the most important field is the enabled
field which defines whether a google calendar is subscribed or not. By default only the primary account is enabled (and therefore subscribed). If the client wants to enable other accounts too, it can do so by setting the enabled
field to true
and updating the account.
Example configuration after creation:
"configuration": {
"oauthId": 41,
"folders": {
"test_account@gmail.com": {
"enabled": true,
"color": "#9fe1e7",
"default_reminders": [
{
"action": "DISPLAY",
"duration": "-PT30M"
}
],
"primary": true
},
"#contacts@group.v.calendar.google.com": {
"enabled": false,
"color": "#92e1c0",
"default_reminders": []
},
"en.german#holiday@group.v.calendar.google.com": {
"enabled": false,
"color": "#16a765",
"default_reminders": []
},
"e_2_en#weeknum@group.v.calendar.google.com": {
"enabled": false,
"color": "#42d692",
"default_reminders": []
}
}
}
Config module
The config module is used to retrieve and set user-specific configuration. The configuration is stored in a tree. Each node of the tree has a name and a value. The values of leaf nodes are strings which store the actual configuration data. The values of inner nodes are defined recursively as objects with one field for each child node. The name and the value of each field is the name and the value of the corresponding child node, respectively.
The namespace looks like the following:
- /ajax/config/
- gui – A string containing GUI-specific settings (currently, it is a huge JSON object).
- fastgui - A string containing GUI-specific settings. This is a JSON object that must be kept small for performance.
- context_id - the unique identifier of the context (read-only).
- cookielifetime - the cookie life time in seconds or -1 for session cookie (read-only).
- identifier – the unique identifier of the user (read-only).
- contact_id – the unique identifier of the contact data of the user (read-only).
- language – the configured language of the user.
- timezone – the configured timezone of the user.
- availableTimeZones – a JSON object containing all available time zones. The key is the time zone identifier and the value contains its name in users language. (read-only).
- reloadTimes - Selectable times for GUI reload
- serverVersion - Version string of the server.
- currentTime - User timezone specific long of the current server time.
- maxUploadIdleTimeout - Timeout after that idle uploads are deleted.
- folder/ – the standard folder of the user
- tasks – the standard task folder (read-only)
- calendar – the standard calendar folder (read-only)
- contacts – the standard contacts folder (read-only)
- infostore – the private infostore folder (read-only)
- eas – whether EAS folder selection is enabled (read-only)
- participants
- autoSearch - If a search for all users, groups and resources when participant selection dialog is opened. (read-only)
- showWithoutEmail - If external participants without email should be shown.
- showDialog – Enables participant selection dialog for appointments and tasks. (read-only)
- availableModules – Contains a JSON array listing all enabled modules for a user. GUI loads Plugins through this list. To get your plugin listed here, create a subtree below modules/ without a module * subelement or with a subelement containing true (read-only)
- minimumSearchCharacters – Minimum number of characters a search pattern must have to prevent large responses and slow queries. (read-only)
- modules
- portal
- gui GUI settings for portal module
- module
- mail
- addresses – all email addresses of the user including the primary address (read-only)
- appendmailtext
- allowhtmlimages – Alters default setting whether external images contained in HTML content are allowed or not
- colorquoted – color quoted lines
- contactCollectFolder – contact folder id to save mail addresses from sent mails
- contactCollectEnabled – switch contact collection on/off
- contactCollectOnMailAccess – enables/disables contact collection for incoming mails. Default is true.
- contactCollectOnMailTransport – enables/disables contact collection for outgoing mails. Default is true.
- defaultaddress – primary email address of the user (read-only)
- deletemail – delete emails or move to trash
- emoticons – display emoticons as graphics
- defaultFolder
- drafts – identifier of the folder with the mail drafts (read-only)
- inbox – identifier of the folder that gets all incoming mails (read-only)
- sent – identifier of the folder with the sent mails (read-only)
- spam – identifier of the folder with the spam mails (read-only)
- trash – identifier of the folder with the deleted mails (read-only)
- forwardmessage – forward messages as inline or attachment
- gui GUI settings for mail module
- inlineattachments – activate inlining of HTML attachments
- linewrap
- module – if mail module is enabled or not
- phishingheaders – header(s) identifying phishing headers
- replyallcc – put all recipients on reply all into CC
- sendaddress – one email address out of the addresses list that are email sent with
- spambutton – Spam Button should be displayed in GUI or not
- vcard – attach vcard when sending mails
- calendar
- calendar_conflict
- calendar_freebusy
- calendar_teamview
- gui GUI settings for the calendar module
- module
- notifyNewModifiedDeleted receive mail notification for new, modified or deleted appointments
- notifyAcceptedDeclinedAsCreator receive mail notification for accepted or declined appointments created by the user
- notifyAcceptedDeclinedAsParticipant receive mail notification for accepted or declined appointments that the user participates
- defaultStatusPrivate Default status for new appointments in private folders, where the user is participant. This does not affect appointments created by this user, which always have the status "accepted". The status are described in User participant object. Default is 0:none
- defaultStatusPublic Default status for new appointments in public folders, where the user is participant. This does not affect appointments created by this user, which always have the status "accepted". The status are described in User participant object. Default is 0:none
- contacts
- gui GUI settings for the contacts module
- mailAddressAutoSearch – Define if a search is triggered when the recipient selection dialog is opened or the folder is changed. (read-only)
- module True if the contact module is enabled for the current user, false otherwise.
- singleFolderSearch – True if the current user is allowed to search for contacts only in a single folder. False if contact searches across all folders are allowed. (read-only)
- characterSearch – True if the side bar for searching for contacts by a start letter should be displayed. False if the side bar should be hidden. (read-only)
- allFoldersForAutoComplete – true if an auto complete search may omit the folder identifier array and search for contacts in all readable folders. This is configured through the contact.properties configuration file. (read-only)
- tasks
- gui GUI settings for the tasks module
- module
- delegate_tasks
- notifyNewModifiedDeleted receive mail notification for new, modified or deleted tasks
- notifyAcceptedDeclinedAsCreator receive mail notification for accepted or declined tasks created by the user
- notifyAcceptedDeclinedAsParticipant receive mail notification for accepted or declined taks that the user participates
- infostore
- gui GUI settings for the infostore module
- folder – the standard infostore folders (read-only)
- trash – identifier of the default infostore trash folder (read-only)
- pictures – identifier of the default infostore pictures folder (read-only)
- documents – identifier of the default infostore documents folder (read-only)
- music – identifier of the default infostore music folder (read-only)
- videos – identifier of the default infostore videos folder (read-only)
- templates – identifier of the default infostore templates folder (read-only)
- module
- interfaces
- ical
- vcard
- syncml
- folder
- gui UI settings for the folder tree
- public_folders
- read_create_shared_folders
- tree – Selected folder tree, the user wants to use. Currents trees are 0 for the known OX folder tree and 1 for the new virtual folder tree.
- com.openexchange.extras
- module – Extras link in the configuration (read only)
- com.openexchange.user.passwordchange
- module – Will load Plug-In which allows to change the Password within the users configuration (read only)
- com.openexchange.user.personaldata
- module – Will load Plug-In which allows to edit personal contact information within the users configuration (read only)
- com.openexchange.group
- enabled – Specifies whether the user is allowed to edit groups and loads the corresponding Plug-In. (read only)
- com.openexchange.resource
- enabled – Specifies whether the user is allowed to edit resources and loads the corresponding Plug-In. (read only)
- com.openexchange.publish
- enabled – Specifies whether the user is allowed to publish items. (read only)
- com.openexchange.subscribe
- enabled – Specifies whether the user is allowed to subscribe sources. (read only)
- olox20 [DEPRECATED]
- active – Tells the UI if the user is allowed to use the OXtender for Microsoft Outlook 2. (read only)
- module – Is set to false to prevent the UI from trying to load a plugin. (read only)
- com.openexchange.oxupdater [DEPRECATED]
- module – Is true if the OXUpdater package is installed and started. (read only)
- active – Is true if the user is allowed to download the OXUpdater. Otherwise it's false. (read only)
- com.openexchange.passwordchange
- showStrength – Show a widget, which displays the current passwort Strength while entering. (default: false)
- minLength – The minimum length of an entered password. (default: 4)
- maxLength – The maximum length of an entered password. 0 for unlimited. (default: 0)
- regexp – Defines the class of allowed special characters as Regular Expression. (default: [^a-z0-9])
- special – Shows an example of allowed special characters to the user. Should be a subset of "regexp" in a human readable format. (default: $, _, or %)
- portal