Overview
Documentation of the Open-Xchange HTTP API which is used by the new AJAX GUI.
Version information
Version : 7.8.2
Contact information
Contact : Open-Xchange GmbH
Contact Email : info@open-xchange.com
URI scheme
Host : example.com
BasePath : /ajax
Schemes : HTTPS
Tags
-
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](http://oxpedia.org/wiki/index.php?title=Login_variations).
Because of security reasons each login variation will reject requests containing the parameter "password" within the URL query (starting with 7.8.0).
-
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.
-
folders : The folders module is used to access the OX folder structure.
Folders with some kind of special:
| ID | Type | Description | |----|------|-------------| | 6 | contacts | System Users |
-
tasks : The tasks module is used to access task information.
-
contacts : The contacts module is used to access contact information.
-
calendar : The calendar module is used to access calendar data.
-
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".
-
groups : The group module allows to query available groups. It is mainly used by the dialog for the selection of participants.
-
resources : The resource module allows to query available resources. It is mainly used by the dialog for the selection of participants.
-
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.
-
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.
-
reminder : The reminder module provides the ability to fetch all active reminders for a user between two dates.
-
multiple : The multiple module allows to bundle multiple requests to most other modules in a single request.
-
quota : The filestore module allows accesssing information about the use and quota of the filestore.
-
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, notcallback_$actionnamefor legacy purposes. -
export : The module export allows to export specific module data (like contacts, tasks or appointments) from a folder in several formats (iCal, vCard, CSV).
-
sync : The module sync delivers several core API extensions to support common operations used in a mobile synchronization environment.
-
token : The module token delivers several core API extensions to support token based logins.
-
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.
-
file : The ajax file upload module offers to store files in server’s dedicated download directory for a configureable amount of time. The files are then accessible for further operations like inline images in (html) mails.
-
image : The image module allows to download images from Open-Xchange server without providing a session ID in request’s URL parameters.
-
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.
-
mailaccount : The mailaccount module is used to manage multiple mail accounts held by a user (available since v6.12).
-
autoconfig : The module autoconfig can be used to request the best available settings for an appropriate mail server (available since v6.22).
-
user : The user module is used to access user information (available since v6.14).
-
user/me : The module user/me is used to access formal information about current user (available since v7.6.2).
-
OAuth : The Open-Xchange server can act as an OAuth client (starting with v6.20) or be an OAuth provider itself (starting with v7.8.0). 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".
-
JSlob : The JSlob module is used to store and retrieve arbitrary JSON-structured configuration for a single user (available since v6.22).
-
freebusy : Provides access to free/busy information (available since v6.22.1).
-
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.
-
snippet : Available since v7.0.0/v6.22.0.
-
halo
-
capabilities : Provides access to capabilities, i.e. modules or features that are available on the backend and the user has access to (available since v7.4.2).
-
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 (available since v7.6.0).
-
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
autocompleterequest, 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 followingautocompleteandqueryrequests, whilequeryperforms 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!
Preliminary, available since v7.6.1.
-
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=sharesof module "folders" or/infostore?action=sharesof module "infostore".
Preliminary, available since v7.8.0.
-
passwordchange : Via the passwordchange module the users can change their password.
-
filestorage : The file storage module provides access to file storage backends, e.g. Drive, Dropbox, etc.
-
mail_categories : The module mail_categories allows to manage mail categories.
Consumes
-
application/x-www-form-urlencoded
Produces
-
application/json
Paths
Gets all mail accounts (available since v6.12).
GET /account?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
A comma-separated list of columns to return, like "1,800". Each column is specified by a numeric column identifier, see Mail account data. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
mailaccount
Deletes a mail account (available since v6.12).
PUT /account?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with the ID of the mail account that shall be deleted. |
< integer > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mailaccount
Gets a mail account (available since v6.12).
GET /account?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Account ID of the requested account. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mailaccount
Creates a new mail account (available since v6.12).
PUT /account?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object describing the new account to create. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mailaccount
Updates a mail account (available since v6.12).
PUT /account?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object identifying (by field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mailaccount
Validates a mail account which shall be created (available since v6.12).
PUT /account?action=validate
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
Indicates whether on successful validation the folder tree shall be returned (or |
boolean |
|
Body |
body |
A JSON object describing the account to validate. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
mailaccount
Gets all attachments for an object.
GET /attachment?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
columns |
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. |
string |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
attachments
Creates an attachment.
POST /attachment?action=attach
Description
Note
It is possible to create multiple attachments at once. Therefor add additional form fields and replace "[index]" in json_[index]
and file_[index] with the appropriate index, like json_1, file_1. The index always starts with 0 (mandatory attachment object).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file_0 |
The attachment file as per |
file |
|
FormData |
json_0 |
A JSON string representing an attachment object as described in AttachmentData model with at least the fields |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
attachments
Deletes attachments.
PUT /attachment?action=detach
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with the identifiers of the attachments that shall be deleted. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
attachments
Gets an attachment’s document/filedata.
GET /attachment?action=document
Description
It is possible to add a filename to the request’s URI like /attachment/{filename}?action=document.
The filename may be added to the customary attachment path to suggest a filename to a Save-As dialog.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
content_type |
If present the response declares the given |
string |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
id |
Object ID of the requested attachment. |
string |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string(binary) |
Produces
-
application/octet-stream
Tags
-
attachments
Gets an attachment.
GET /attachment?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
id |
Object ID of the requested infoitem. |
string |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
attachments
Gets a list of attachments.
PUT /attachment?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
columns |
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. |
string |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with the identifiers of the requested attachments. |
< integer > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
attachments
Gets the new and deleted attachments.
GET /attachment?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
columns |
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. |
string |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
ignore |
Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned. |
enum (deleted) |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested infoitems. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
attachments
Gets the auto configuration for a mail account (available since v6.22).
POST /autoconfig?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
email |
The email address for which a mail configuration will be discovered. |
string |
|
FormData |
force_secure |
Enforces a secure connection for configured mail account, default is |
boolean |
|
FormData |
password |
The corresponding password for the mail account. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
autoconfig
Gets all appointments.
GET /calendar?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
end |
Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned. |
integer(int64) |
|
Query |
folder |
Object ID of the folder, whose contents are queried. If not specified, defaults to all calendar folders. |
string |
|
Query |
recurrence_master |
Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated. |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
showPrivate |
Only works in shared folders: When enabled, shows private appointments of the folder owner. Such appointments are anonymized by stripping away all information except start date, end date and recurrence information (since 6.18) |
boolean |
|
Query |
start |
Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
calendar
Confirms an appointment.
PUT /calendar?action=confirm
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the appointments. |
string |
|
Query |
id |
Object ID of the appointment that shall be confirmed. |
string |
|
Query |
occurrence |
The numeric identifier of the occurrence to which the confirmation applies (in case "id" denotes a series appointment). Available since v7.6.0. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the appointment. |
integer(int64) |
|
Body |
body |
A JSON object with the fields |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
calendar
Deletes appointments (available since v6.22).
PUT /calendar?action=delete
Description
Before version 6.22 the request body contained a JSON object with the fields id, folder and
optionally pos and could only delete one appointment.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the deleted appointments. |
integer(int64) |
|
Body |
body |
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. |
< AppointmentDeletionsElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
calendar
Gets appointments between a specified time range.
GET /calendar?action=freebusy
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
end |
Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned. |
integer(int64) |
|
Query |
id |
Internal user id. Must be obtained from the contact module. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
start |
Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned. |
integer(int64) |
|
Query |
type |
Constant for user or resource (1 for users, 3 for resources). |
enum (, ) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
calendar
Gets an appointment.
GET /calendar?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the appointments. |
string |
|
Query |
id |
Object ID of the requested appointment. |
string |
|
Query |
recurrence_position |
Recurrence position of requested appointment. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
calendar
Gets all change exceptions (available since v7.2.0).
GET /calendar?action=getChangeExceptions
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the appointments. |
string |
|
Query |
id |
Object ID of the appointment series. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
calendar
Requests whether there are appointments on days in a specified time range.
GET /calendar?action=has
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
end |
Upper exclusive limit of the queried range as a Date. Only appointments which end before this date are returned. |
integer(int64) |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
start |
Lower inclusive limit of the queried range as a Date. Only appointments which start on or after this date are returned. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing an array with the length of the number of days between |
Tags
-
calendar
Gets a list of appointments.
PUT /calendar?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
recurrence_master |
Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated. |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id, folder and optionally either recurrence_position or recurrence_date_position of the requested appointments. |
< AppointmentListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
calendar
Creates an appointment.
PUT /calendar?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the appointment’s data. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
calendar
Gets new appointments.
GET /calendar?action=newappointments
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
end |
Upper exclusive limit of the queried range as a Date. Only appointments which start before this date are returned. |
integer(int64) |
|
Query |
limit |
Limits the number of returned objects to the given value. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
start |
Lower inclusive limit of the queried range as a Date. Only appointments which end on or after this date are returned. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
calendar
Resolves the UID to an OX object ID.
GET /calendar?action=resolveuid
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
uid |
The UID that shall be resolved. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the related object ID in the field |
Tags
-
calendar
Searches for appointments.
PUT /calendar?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
calendar
Updates an appointment.
PUT /calendar?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the appointments. |
string |
|
Query |
id |
Object ID of the requested appointment. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the updated appointment. If the appointment was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing the appointment’s data. The field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
calendar
Gets updated appointments.
GET /calendar?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
end |
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). |
integer(int64) |
|
Query |
folder |
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. |
string |
|
Query |
ignore |
Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned. |
enum (deleted) |
|
Query |
recurrence_master |
Extract the recurrence to several appointments. The default value is false so every appointment of the recurrence will be calculated. |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
showPrivate |
Only works in shared folders: When enabled, shows private appointments of the folder owner. Such appointments are anonymized by stripping away all information except start date, end date and recurrence information (since 6.18) |
boolean |
|
Query |
start |
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). |
integer(int64) |
|
Query |
timestamp |
Timestamp of the last update of the requested appointments. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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
|
Tags
-
calendar
Gets all capabilities (available since v7.4.2).
GET /capabilities?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
capabilities
Gets a capability (available since v7.4.2).
GET /capabilities?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the capability |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
capabilities
Gets data of a configuration node.
GET /config/{path}
Description
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
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
path |
The path to the node. |
enum (gui, fastgui, context_id, cookielifetime, identifier, contact_id, language, timezone, availableTimeZones, calendarnotification, tasknotification, reloadTimes, serverVersion, currentTime, maxUploadIdleTimeout, search, folder, folder/tasks, folder/calendar, folder/contacts, folder/infostore, folder/eas, mail, mail/addresses, mail/defaultaddress, mail/sendaddress, mail/folder, mail/folder/inbox, mail/folder/drafts, mail/folder/trash, mail/folder/spam, mail/folder/sent, mail/htmlinline, mail/colorquote, mail/emoticons, mail/harddelete, mail/inlineforward, mail/vcard, mail/notifyonreadack, mail/msgpreview, mail/ignorereplytext, mail/nocopytosent, mail/spambutton, participants, participants/autoSearch, participants/maximumNumberParticipants, participants/showWithoutEmail, participants/showDialog, availableModules, minimumSearchCharacters, modules, modules/portal, modules/portal/gui, modules/portal/module, modules/mail, modules/mail/addresses, modules/mail/appendmailtext, modules/mail/allowhtmlimages, modules/mailcolorquoted, modules/mail/contactCollectFolder, modules/mail/contactCollectEnabled, modules/mail/contactCollectOnMailAccess, modules/mail/contactCollectOnMailTransport, modules/mail/defaultaddress, modules/mail/deletemail, modules/mail/emoticons, modules/mail/defaultFolder, modules/mail/defaultFolder/drafts, modules/mail/defaultFolder/inbox, modules/mail/defaultFolder/sent, modules/mail/defaultFolder/spam, modules/mail/defaultFolder/trash, modules/mail/forwardmessage, modules/mail/gui, modules/mail/inlineattachments, modules/mail/linewrap, modules/mail/module, modules/mail/phishingheaders, modules/mail/replyallcc, modules/mail/sendaddress, modules/mail/spambutton, modules/mail/vcard, modules/calendar, modules/calendar/calendar_conflict, modules/calendar/calendar_freebusy, modules/calendar/calendar_teamview, modules/calendar/gui, modules/calendar/module, modules/calendar/notifyNewModifiedDeleted, modules/calendar/notifyAcceptedDeclinedAsCreator, modules/calendar/notifyAcceptedDeclinedAsParticipant, modules/calendar/defaultStatusPrivate, modules/calendar/defaultStatusPublic, modules/contacts, modules/contacts/gui, modules/contacts/mailAddressAutoSearch, modules/contacts/module, modules/contacts/singleFolderSearch, modules/contacts/characterSearch, modules/contacts/allFoldersForAutoComplete, modules/tasks, modules/tasks/gui, modules/tasks/module, modules/tasks/delegate_tasks, modules/tasks/notifyNewModifiedDeleted, modules/tasks/notifyAcceptedDeclinedAsCreator, modules/tasks/notifyAcceptedDeclinedAsParticipant, modules/infostore, modules/infostore/gui, modules/infostore/folder, modules/infostore/folder/trash, modules/infostore/folder/pictures, modules/infostore/folder/documents, modules/infostore/folder/music, modules/infostore/folder/videos, modules/infostore/folder/templates, modules/infostore/module, modules/interfaces, modules/interfaces/ical, modules/interfaces/vcard, modules/interfaces/syncml, modules/folder, modules/folder/gui, modules/folder/public_folders, modules/folder/read_create_shared_folders, modules/folder/tree, modules/com.openexchange.extras, modules/com.openexchange.extras/module, modules/com.openexchange.user.passwordchange, modules/com.openexchange.user.passwordchange/module, modules/com.openexchange.user.personaldata, modules/com.openexchange.user.personaldata/module, modules/com.openexchange.group, modules/com.openexchange.group/enabled, modules/com.openexchange.resource, modules/com.openexchange.resource/enabled, modules/com.openexchange.publish, modules/com.openexchange.publish/enabled, modules/com.openexchange.subscribe, modules/com.openexchange.subscribe/enabled, modules/olox20, modules/olox20/active, modules/olox20/module, modules/com.openexchange.oxupdater, modules/com.openexchange.oxupdater/module, modules/com.openexchange.oxupdater/active, modules/com.openexchange.passwordchange, modules/com.openexchange.passwordchange/showStrength, modules/com.openexchange.passwordchange/minLength, modules/com.openexchange.passwordchange/maxLength, modules/com.openexchange.passwordchange/regexp, modules/com.openexchange.passwordchange/special) |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
Value of the node specified by path. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
config
Sets the value of a configuration node.
PUT /config/{path}
Description
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
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Path |
path |
The path to the node. |
enum (gui, fastgui, context_id, cookielifetime, identifier, contact_id, language, timezone, availableTimeZones, calendarnotification, tasknotification, reloadTimes, serverVersion, currentTime, maxUploadIdleTimeout, search, folder, folder/tasks, folder/calendar, folder/contacts, folder/infostore, folder/eas, mail, mail/addresses, mail/defaultaddress, mail/sendaddress, mail/folder, mail/folder/inbox, mail/folder/drafts, mail/folder/trash, mail/folder/spam, mail/folder/sent, mail/htmlinline, mail/colorquote, mail/emoticons, mail/harddelete, mail/inlineforward, mail/vcard, mail/notifyonreadack, mail/msgpreview, mail/ignorereplytext, mail/nocopytosent, mail/spambutton, participants, participants/autoSearch, participants/maximumNumberParticipants, participants/showWithoutEmail, participants/showDialog, availableModules, minimumSearchCharacters, modules, modules/portal, modules/portal/gui, modules/portal/module, modules/mail, modules/mail/addresses, modules/mail/appendmailtext, modules/mail/allowhtmlimages, modules/mailcolorquoted, modules/mail/contactCollectFolder, modules/mail/contactCollectEnabled, modules/mail/contactCollectOnMailAccess, modules/mail/contactCollectOnMailTransport, modules/mail/defaultaddress, modules/mail/deletemail, modules/mail/emoticons, modules/mail/defaultFolder, modules/mail/defaultFolder/drafts, modules/mail/defaultFolder/inbox, modules/mail/defaultFolder/sent, modules/mail/defaultFolder/spam, modules/mail/defaultFolder/trash, modules/mail/forwardmessage, modules/mail/gui, modules/mail/inlineattachments, modules/mail/linewrap, modules/mail/module, modules/mail/phishingheaders, modules/mail/replyallcc, modules/mail/sendaddress, modules/mail/spambutton, modules/mail/vcard, modules/calendar, modules/calendar/calendar_conflict, modules/calendar/calendar_freebusy, modules/calendar/calendar_teamview, modules/calendar/gui, modules/calendar/module, modules/calendar/notifyNewModifiedDeleted, modules/calendar/notifyAcceptedDeclinedAsCreator, modules/calendar/notifyAcceptedDeclinedAsParticipant, modules/calendar/defaultStatusPrivate, modules/calendar/defaultStatusPublic, modules/contacts, modules/contacts/gui, modules/contacts/mailAddressAutoSearch, modules/contacts/module, modules/contacts/singleFolderSearch, modules/contacts/characterSearch, modules/contacts/allFoldersForAutoComplete, modules/tasks, modules/tasks/gui, modules/tasks/module, modules/tasks/delegate_tasks, modules/tasks/notifyNewModifiedDeleted, modules/tasks/notifyAcceptedDeclinedAsCreator, modules/tasks/notifyAcceptedDeclinedAsParticipant, modules/infostore, modules/infostore/gui, modules/infostore/folder, modules/infostore/folder/trash, modules/infostore/folder/pictures, modules/infostore/folder/documents, modules/infostore/folder/music, modules/infostore/folder/videos, modules/infostore/folder/templates, modules/infostore/module, modules/interfaces, modules/interfaces/ical, modules/interfaces/vcard, modules/interfaces/syncml, modules/folder, modules/folder/gui, modules/folder/public_folders, modules/folder/read_create_shared_folders, modules/folder/tree, modules/com.openexchange.extras, modules/com.openexchange.extras/module, modules/com.openexchange.user.passwordchange, modules/com.openexchange.user.passwordchange/module, modules/com.openexchange.user.personaldata, modules/com.openexchange.user.personaldata/module, modules/com.openexchange.group, modules/com.openexchange.group/enabled, modules/com.openexchange.resource, modules/com.openexchange.resource/enabled, modules/com.openexchange.publish, modules/com.openexchange.publish/enabled, modules/com.openexchange.subscribe, modules/com.openexchange.subscribe/enabled, modules/olox20, modules/olox20/active, modules/olox20/module, modules/com.openexchange.oxupdater, modules/com.openexchange.oxupdater/module, modules/com.openexchange.oxupdater/active, modules/com.openexchange.passwordchange, modules/com.openexchange.passwordchange/showStrength, modules/com.openexchange.passwordchange/minLength, modules/com.openexchange.passwordchange/maxLength, modules/com.openexchange.passwordchange/regexp, modules/com.openexchange.passwordchange/special) |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the value of the config node. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
config
Gets a property of the configuration (available since v7.6.2).
GET /config?action=get_property
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
name |
The name of the property to return. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
config
Sets a property of the configuration (available since v7.6.2).
PUT /config?action=set_property
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
name |
The name of the property to return. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object providing the value to set (Example: {"value":"test123"}). |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
config
Search for contacts by filter (available since v6.20).
PUT /contacts?action=advancedSearch
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
admin |
Specifies whether to include the contact representing the admin in the result or not. Defaults to |
boolean |
|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Body |
body |
A JSON object describing the search term as introducted in Advanced search. Example:
|
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
contacts
Gets all contacts.
GET /contacts?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the contacts. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
contacts
Search for contacts by anniversary (available since v6.22.1, preliminary).
GET /contacts?action=anniversaries
Description
Finds contacts whose anniversary falls into a specified time range.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
end |
The upper (exclusive) limit of the requested time range. |
integer(int64) |
|
Query |
folder |
Object ID of the parent folder that is searched. If not set, all visible folders are used. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
start |
The lower (inclusive) limit of the requested time range. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
contacts
Auto-complete conntacts (available since v7.6.1, preliminary).
GET /contacts?action=autocomplete
Description
Finds contacts based on a prefix, usually used to auto-complete e-mail recipients while the user is typing.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
email |
Whether to only include contacts with at least one e-mail address. Defaults to |
boolean |
|
Query |
folder |
Object ID of the parent folder that is searched. If not set, all visible folders are used. |
string |
|
Query |
left_hand_limit |
A positive integer number to specify the "left-hand" limit of the range to return. |
integer |
|
Query |
order |
"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. |
string |
|
Query |
query |
The query to search for. |
string |
|
Query |
right_hand_limit |
A positive integer number to specify the "right-hand" limit of the range to return. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. Since 7.8.1: If this parameter is missing, response is sorted by a user-specific use count of contacts, ID of contacts' parent folder and display name. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
contacts
Search for contacts by birthday (available since v6.22.1, preliminary).
GET /contacts?action=birthdays
Description
Finds contacts whose birthday falls into a specified time range.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
end |
The upper (exclusive) limit of the requested time range. |
integer(int64) |
|
Query |
folder |
Object ID of the parent folder that is searched. If not set, all visible folders are used. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
start |
The lower (inclusive) limit of the requested time range. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
contacts
Deletes contacts (available since v6.22).
PUT /contacts?action=delete
Description
Before version 6.22 the request body contained a JSON object with the fields id and folder and could
only delete one contact.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the deleted contacts. |
integer(int64) |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the contacts. |
< ContactListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
contacts
Gets a contact.
GET /contacts?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the contacts. |
string |
|
Query |
id |
Object ID of the requested contact. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
contacts
Gets a contact by user ID (available since SP4).
GET /contacts?action=getuser
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
User ID (not Object ID) of the requested user. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
contacts
Gets a list of contacts.
PUT /contacts?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the contacts. |
< ContactListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
contacts
Gets a list of users (available since SP4).
PUT /contacts?action=listuser
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with user IDs. |
< integer > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
contacts
Creates a contact.
POST /contacts?action=new
Description
Creates a new contact with contact images. The normal request body must be placed as form-data using the
content-type multipart/form-data. The form field json contains the contact’s data while the image file
must be placed in a file field named file (see also File uploads).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
The image file. |
file |
|
FormData |
json |
Represents the normal request body as JSON string containing the contact data as described in the ContactData model. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
contacts
Creates a contact.
PUT /contacts?action=new
Description
Creates a new contact. This request cannot add contact images. Therefor it
is necessary to use the POST method.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the contact’s data. The field id is not included. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
contacts
Search for contacts.
PUT /contacts?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
collation |
Allows you to specify a collation to sort the contacts by. As of 6.20, only supports "gbk" and "gb2312", not needed for other languages. Parameter sort should be set for this to work. (preliminary, since 6.20) |
enum (gbk, gb2312) |
|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Body |
body |
A JSON object containing search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
contacts
Updates a contact.
POST /contacts?action=update
Description
Updates a contact’s data and images. The normal request body must be placed as form-data using the
content-type multipart/form-data. The form field json contains the contact’s data while the image file
must be placed in a file field named file (see also File uploads).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the contacts. |
string |
|
Query |
id |
Object ID of the contact that shall be updated. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
FormData |
file |
The image file. |
file |
|
FormData |
json |
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 "{}". |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing the object ID of the contact or errors if some occurred. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
contacts
Updates a contact.
PUT /contacts?action=update
Description
Updates a contact’s data. This request cannot change or add contact images. Therefore it
is necessary to use the POST method.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the contacts. |
string |
|
Query |
id |
Object ID of the contact that shall be updated. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the updated contact. If the contact was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
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. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
contacts
Gets updated contacts.
GET /contacts?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the contacts. |
string |
|
Query |
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 |
enum (deleted) |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested contacts. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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
|
Tags
-
contacts
Converts data from source using a specific data handler.
PUT /conversion?action=convert
Description
Saving an iCal email attachment
If an iCal file is attached to an email, its content can be saved as appointments and tasks into given calendar and task folder. If the fields "com.openexchange.groupware.calendar.confirmstatus" and "com.openexchange.groupware.calendar.confirmmessage" are set, the data handler inserts the appointment with the given status for the user, if the appointment does not exist. If it is already existing, the handler just updates the participant status.
{
"datasource": {
"identifier":"com.openexchange.mail.ical",
"args":
[
{"com.openexchange.mail.conversion.fullname":"<folder-fullname>"},
{"com.openexchange.mail.conversion.mailid":"<mail-id>"},
{"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"}
]
},
"datahandler": {
"identifier":"com.openexchange.ical",
"args":
[
{"com.openexchange.groupware.calendar.folder":"<calendar-folder-id>"},
{"com.openexchange.groupware.task.folder":"<task-folder-id>"},
{"com.openexchange.groupware.calendar.confirmstatus":"<status>"},
{"com.openexchange.groupware.calendar.confirmmessage":"<message>"}
]
}
}
The response is a JSON array of JSON objects each providing folder and object ID of added appointments/tasks, e.g.
[{"folder_id":2567,"id":7689}, …].
Converting an iCal email attachment into JSON objects
If an iCal file is attached to an email, its content can be converted to JSON appointments and tasks. `json { "datasource": { "identifier":"com.openexchange.mail.ical", "args": [ {"com.openexchange.mail.conversion.fullname":"<folder-fullname>"}, {"com.openexchange.mail.conversion.mailid":"<mail-id>"}, {"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"} ] }, "datahandler": { "identifier":"com.openexchange.ical.json", "args": [ {"com.openexchange.groupware.calendar.timezone":"<timezone-id>"}, {"com.openexchange.groupware.calendar.recurrencePosition":"<recurrence-position>"}, {"com.openexchange.groupware.calendar.searchobject":"<true|false>"} ] } } ` The response is a JSON array of JSON objects for each appointment/task as described in the TaskData and AppointmentData model.
Saving a vCard email attachment
If a vCard file is attached to an email, its content can be saved as contacts into given contact folder.
json
{
"datasource": {
"identifier":"com.openexchange.mail.vcard",
"args":
[
{"com.openexchange.mail.conversion.fullname":"<folder-fullname>"},
{"com.openexchange.mail.conversion.mailid":"<mail-id>"},
{"com.openexchange.mail.conversion.sequenceid":"<attachment-sequence-id>"}
]
},
"datahandler": {
"identifier":"com.openexchange.contact",
"args":
[
{"com.openexchange.groupware.contact.folder":"<contact-folder-id>"}
]
}
}
`
The response is a JSON array of JSON objects each providing folder and object ID of added contacts, e.g.
`[{"folder_id":2567,"id":7689}, …].
Contact(s) attached to a new email as a vCard file
Obtain vCard data from spacified contact object(s).
json
{
"datasource": {
"identifier":"com.openexchange.contact",
"args":
[
{"folder":"<folder-id1>","id":"<id1>"},
…,
"folder":"<folder-idn>","id":"<idn>"
]
},
"datahandler": {
"identifier":"com.openexchange.mail.vcard",
"args": []
}
}
`
The response is a JSON object as described in MailData model.
`[{"folder_id":2567,"id":7689}, …].
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object the data source object and the data handler object. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The conversion result. In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
conversion
Exports contact data to a CSV file.
GET /export?action=CSV
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
A comma-separated list of columns to export, like "501,502". A column is specified by a numeric column identifier, see Detailed contact data. |
string |
|
Query |
export_dlists |
Toggles whether distribution lists shall be exported too (default is |
string |
|
Query |
folder |
Object ID of the folder whose content shall be exported. This must be a contact folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
An input stream containing the content of the CSV file with the MIME type |
string |
Tags
-
export
Exports appointment and task data to an iCalendar file.
GET /export?action=ICAL
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder whose content shall be exported. This must be a calendar folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
An input stream containing the content of the iCal file with the MIME type |
string |
Tags
-
export
Exports contact data to a vCard file.
GET /export?action=VCARD
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder whose content shall be exported. This must be a contact folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
An input stream containing the content of the vCard file with the MIME type |
string |
Tags
-
export
Requests a formerly uploaded file.
GET /file?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the uploaded file. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested file is directly written into output stream. |
string(binary) |
404 |
Not found. |
No Content |
Produces
-
application/octet-stream
Tags
-
file
Updates a file’s last access timestamp and keeps it alive.
GET /file?action=keepalive
Description
By updating the last access timestamp the file is prevented from being deleted from both session and disk storage.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the uploaded file whose timestamp should be updated. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
file
Uploads a file.
POST /file?action=new
Description
It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
module |
The module for which the file is uploaded to determine proper upload quota constraints (e.g. "mail", "infostore", etc.). |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
type |
The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for |
enum (file, text, media, image, audio, video, application) |
|
FormData |
file |
The file to upload. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
file
Gets all file storage accounts.
GET /fileaccount?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
filestorageService |
The identifier of a file storage service to list only those accounts that belong to that file storage service. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
filestorage
Deletes a file storage account.
GET /fileaccount?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
filestorageService |
The identifier of the file storage service the account belongs to. |
string |
|
Query |
id |
The ID of the account to delete. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
filestorage
Gets a file storage account.
GET /fileaccount?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
filestorageService |
The identifier of the file storage service the account belongs to. |
string |
|
Query |
id |
The ID of the requested account. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
filestorage
Creates a file storage account.
PUT /fileaccount?action=new
Description
Example for creating a new OAuth-based file storage account
First, get the description of the file storage service for which a new account is supposed to be created:
GET /ajax/fileservice?action=get&id=boxcom&session=…
The response might be:
{
id: "boxcom",
displayName: "Box File Storage Service",
configuration: {
widget: "oauthAccount",
options: {
type: "com.openexchange.oauth.boxcom"
},
name: "account",
displayName: "Select an existing account",
mandatory: true
}
}
Next get the associated OAuth account information:
GET /ajax/oauth/accounts?action=all&serviceId=com.openexchange.oauth.boxcom&session=…
The response might be: `json { "data":[ { "id":333, "displayName":"My Box.com account", "serviceId":"com.openexchange.oauth.boxcom" } ] } ` Finally, create the file storage account:
PUT /ajax/fileaccount?action=new&session=…
{
"filestorageService":"boxcom",
"displayName":"My box.com account",
"configuration":{
"account":"333",
"type":"com.openexchange.oauth.boxcom"
}
}
The response provides the relative identifier of the newly created account.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object describing the account to create, with at least the field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
filestorage
Updates a file storage account.
PUT /fileaccount?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object describing the updated data of the account. The fields |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
filestorage
Gets all file storage services.
GET /fileservice?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
filestorage
Gets a file storage service.
GET /fileservice?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the file storage service to load. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
filestorage
Suggests possible search filters based on a user’s input (available since v7.6.1).
PUT /find?action=autocomplete
Description
Filters are grouped into categories, the so called facets.
Facets
The style of a facet is responsible for how the according object is structured, how it is handled on the
server-side and how the client has to handle it. We distinguish three styles of facets:
* simple
* default
* exclusive
_
Every facet value contains an embedded filter object. The filter must not be changed by the client, it has
to be seen as a black-box. Instead the filters of selected facet values have to be copied and sent to the
server with the subsequent requests.
Simple facets
A simple facet is a special facet that has exactly one value. The facet’s type and its value are strictly coupled, in a way that a display name for both, facet and value would be redundant. A simple facet generally denotes a logical field like 'phone number'. Internally this logical field can map to several internal fields (e.g. 'phone_private', 'phone_mobile', 'phone_business'). In clients the facet as a whole can be displayed as a single item. Example: "Search for 'term' in field 'phone number'".
Default facets
A default facet contains multiple values and may be present multiple times in search requests to filter results by a combination of different values (e.g. "mails with 'foo' and 'bar' in subject").
Facet values may be one- or two-dimensional. A one-dimensional value can be displayed as is and contains an according filter object. A two-dimensional value contains an array "options" with every option defining different semantics of how the value is used to filter the search results.
Exclusive facets
An exclusive facet is a facet where the contained values are mutually exclusive. That means that the facet must only be present once in an autocomplete or query request.
Facet values may be one- or two-dimensional. A one-dimensional value can be displayed as is and contains an according filter object. A two-dimensional value contains an array "options" with every option defining different semantics of how the value is used to filter the search results.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
limit |
The maximum number of values returned per facet. |
integer |
|
Query |
module |
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 |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the user’s input (specified in field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
find
Performs the actual search and returns the found items (available since v7.6.1).
PUT /find?action=query
Description
Before querying the search you should fetch the search filters (facets) by calling the /find?action=autocomplete
request.
Active facets
Every value that has been selected by a user must be remembered and provided with every subsequent request. The representation of a facet within a request body differs from the one within an autocomplete response. We call those "active facets". Their representation is independent from their style.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
module |
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 |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the selected |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the search result. In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
find
Gets all visible folders of a certain module (available since v6.18.2).
GET /folders?action=allVisible
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
content_type |
The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore"). |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
folders
Clears the content of a list of folders.
PUT /folders?action=clear
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Body |
body |
A JSON array with object IDs of the folders. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
folders
Deletes a list of folders.
PUT /folders?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
hardDelete |
If set to |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
The optional timestamp of the last update of the deleted folders. |
integer(int64) |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Body |
body |
A JSON array with object IDs of the folders. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
folders
Gets a folder.
GET /folders?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
id |
Object ID of the requested folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
folders
Gets the subfolders of a specified parent folder.
GET /folders?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
all |
Set to 1 to list even not subscribed folders. |
integer |
|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
columns |
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. |
string |
|
Query |
errorOnDuplicateName |
boolean |
||
Query |
parent |
Object ID of a folder, which is the parent folder of the requested folders. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
folders
Creates a new folder.
PUT /folders?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
folder_id |
The parent folder object ID of the newly created folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Body |
body |
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"}}) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
folders
Notifies users or groups about a shared folder (available since v7.8.0, priliminary).
PUT /folders?action=notify
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the shared folder to notify about. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Body |
body |
JSON object providing the JSON array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
folders
Gets the parent folders above the specified folder.
GET /folders?action=path
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
columns |
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. |
string |
|
Query |
id |
Object ID of a folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
folders
Gets the folders at the root level of the folder structure.
GET /folders?action=root
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
folders
Gets shared folders of a certain module (available since v7.8.0, preliminary).
GET /folders?action=shares
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
all |
Set to 1 to list even not subscribed folders. |
integer |
|
Query |
columns |
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. |
string |
|
Query |
content_type |
The desired content type (either numbers or strings; e.g. "tasks", "calendar", "contacts", "mail", "infostore"). |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
folders
Updates a folder.
PUT /folders?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
cascadePermissions |
|
boolean |
|
Query |
id |
Object ID of the updated folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the updated folder. If the folder was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Body |
body |
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"}}) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
folders
Gets the new, modified and deleted folders of a given folder.
GET /folders?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allowed_modules |
(Preliminary) 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. |
string |
|
Query |
columns |
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. |
string |
|
Query |
ignore |
Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned. |
enum (deleted) |
|
Query |
parent |
Object ID of a folder, which is the parent folder of the requested folders. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested folders. |
integer(int64) |
|
Query |
tree |
The identifier of the folder tree. If missing "0" (primary folder tree) is assumed. |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
folders
Gets free/busy information (available since v6.22.1).
GET /freebusy?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
from |
The lower (inclusive) limit of the requested time range. |
integer(int64) |
|
Query |
merged |
Indicates whether to pre-process free/busy data on the server or not. This includes sorting as well as merging overlapping free/busy intervals. |
boolean |
|
Query |
participant |
The participant to get the free/busy data for. My be either an internal user-, group- or resource-ID, or an email address for external participants. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
until |
The upper (exclusive) limit of the requested time range. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing an array of free/busy intervals. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
freebusy
Gets a list of free/busy information (available since v6.22.1).
PUT /freebusy?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
from |
The lower (inclusive) limit of the requested time range. |
integer(int64) |
|
Query |
merged |
Indicates whether to pre-process free/busy data on the server or not. This includes sorting as well as merging overlapping free/busy intervals. |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
until |
The upper (exclusive) limit of the requested time range. |
integer(int64) |
|
Body |
body |
A JSON array with identifiers of participants to get free/busy data for. The identifier my refer to an internal user-, group- or resource-ID, or to an email address for external participants. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the free/busy data for all requested participants. For each participant it is added
an object (with the participant’s ID as key) that contains a field |
Consumes
-
application/json
Tags
-
freebusy
Deletes a group (introduced 2008-06-12).
PUT /group?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the group to delete. |
integer(int64) |
|
Body |
body |
A JSON object with the field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
groups
Gets a group.
GET /group?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the group. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the group data. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
groups
Gets a list of groups.
PUT /group?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id of the requested groups. |
< GroupListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
groups
Creates a group (introduced 2008-06-12).
PUT /group?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the group data. The field id is not present. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
groups
Searches for groups.
PUT /group?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object with the search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
groups
Updates a group (introduced 2008-06-12).
PUT /group?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
ID of the group that shall be updated. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the group to update. If the group was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing the group data fields to change. Only modified fields are present and the field id is omitted. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
groups
Gets the new, modified and deleted groups (available since v6.18.1, introduced 2010-09-13).
GET /group?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested groups. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with fields |
Tags
-
groups
Gets a contact picture.
GET /halo/contact/picture
Description
At least one of the optional search parameters should be set. All parameters are connected by OR during
the search. More specific parameters like user_id or id are prioritized in case of multiple matches.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
email |
An email to searchz for. Will pick global address book matches before regular matches. After that picks the most recently changed contact. |
string |
|
Query |
email1 |
An alias for |
string |
|
Query |
email2 |
An alias for |
string |
|
Query |
email3 |
An alias for |
string |
|
Query |
id |
A contact ID. |
string |
|
Query |
internal_userid |
The internal user ID of a user whose picture you want to load. |
integer |
|
Query |
session |
Falls back to the public session cookie. |
string |
|
Query |
user_id |
An alias for |
integer |
|
Query |
userid |
An alias for |
integer |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The picture with proper ETag and caching headers set. |
string(binary) |
404 |
If no picture could be found. |
No Content |
Tags
-
halo
Investigates a contact.
GET /halo/contact?action=investigate
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
A comma-separated list of columns to return. See Column identifiers for a mapping of numeric identifiers to fields. |
string |
|
Query |
end |
The end point. Only mandatory for provider "com.openexchange.halo.appointments". |
integer(int64) |
|
Query |
limit |
The maximum number of mails within the result. Optional for provider "com.openexchange.halo.mail". |
integer |
|
Query |
order |
"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". |
string |
|
Query |
provider |
The halo provider, like "com.openexchange.halo.contacts". See |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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". |
string |
|
Query |
start |
The start point. Only mandatory for provider "com.openexchange.halo.appointments". |
integer(int64) |
|
Query |
timezone |
The timezone. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
halo
Gets all halo services.
GET /halo/contact?action=services
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
halo
Requests a contact’s profile image.
GET /image/contact/picture
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
The folder ID in which the contact resides. |
string |
|
Query |
id |
The object ID of the contact. |
integer |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested image is directly written into output stream. |
string(binary) |
400 |
If request cannot be handled. |
No Content |
Produces
-
application/octet-stream
Tags
-
image
Requests a MP3 cover image.
GET /image/file/mp3cover
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the uploaded image. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested image is directly written into output stream. |
string(binary) |
400 |
If request cannot be handled. |
No Content |
Produces
-
application/octet-stream
Tags
-
image
Requests an inline image from a mail.
GET /image/mail/picture
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
accountId |
The mail account identifier |
integer |
|
Query |
folder |
The folder ID in which the mail resides. |
string |
|
Query |
id |
The object ID of the mail. |
string |
|
Query |
uid |
The identifier of the image inside the referenced mail. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested image is directly written into output stream. |
string(binary) |
400 |
If request cannot be handled. |
No Content |
Produces
-
application/octet-stream
Tags
-
image
Requests an image that was previously uploaded with the ajax file upload module.
GET /image/mfile/picture
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
uid |
The identifier of the uploaded image. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested image is directly written into output stream. |
string(binary) |
400 |
If request cannot be handled. |
No Content |
Produces
-
application/octet-stream
Tags
-
image
Requests a user’s profile image.
GET /image/user/picture
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The object ID of the user. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The content of the requested image is directly written into output stream. |
string(binary) |
400 |
If request cannot be handled. |
No Content |
Produces
-
application/octet-stream
Tags
-
image
Imports contact data from CSV file.
POST /import?action=CSV
Description
Example CSV
"Given name","Sur name" "Günther","Mustermann" "Hildegard","Musterfrau"
The delimiter may be any CSV-valid character (e.g. "," or ";"). The first line must contain the column titles that are related to the corresponding fields of the ContactData model. See Detailed contact data for a mapping of fields to CSV column titles.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
charset |
A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278 (preliminary, since 7.6.2). |
string |
|
Query |
folder |
Object ID of the folder into which the data should be imported. This must be a contact folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
The CSV file containing the contact data. The column titles are the ones described in Detailed contact data. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing a JSON object with the field |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
import
Imports calendar data from iCalendar file.
POST /import?action=ICAL
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder into which the data should be imported. This may be be an appointment or a task folder. |
string |
|
Query |
ignoreUIDs |
When set to |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
suppressNotification |
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. |
boolean |
|
FormData |
file |
The iCal file containing the appointment and task data. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing a JSON object with the field |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
import
Imports contact data from an Outlook CSV file.
POST /import?action=OUTLOOK_CSV
Description
Example: exported Outlook CSV
First Name,Last Name Günther,Mustermann Hildegard,Musterfrau
The column titles in the first line of the CSV file may be those used by the English, French or German version of Outlook.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
charset |
A fixed character encoding to use when parsing the uploaded file, overriding the built-in defaults, following the conventions documented in RFC 2278 (preliminary, since 7.6.2). |
string |
|
Query |
folder |
Object ID of the folder into which the data should be imported. This must be a contact folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
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. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing a JSON object with the field |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
import
Imports data from vCard file.
POST /import?action=VCARD
Description
Supported vCard formats
-
vCard 2.1
-
vCard 3.0
-
vCalendar 1.0
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder into which the data should be imported. This must be a contact folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
The vCard file. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing a JSON object with the field |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
import
Gets all infoitems.
GET /infostore?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the infoitems. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
infostore
Checks if a given file name is valid (available since v7.8.1, preliminary).
GET /infostore?action=checkname
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
name |
The file name to check. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
infostore
Copies an infoitem.
POST /infostore?action=copy
Description
Copies an infoitem’s data with the possibility to change the file. The normal request body must be placed as form-data using the
content-type multipart/form-data. The form field json contains the infoitem’s data while the file
must be placed in a file field named file (see also File uploads).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be copies. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
The metadata as per |
file |
|
FormData |
json |
Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemData model. Only modified fields must be specified but at least |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
infostore
Copies an infoitem.
PUT /infostore?action=copy
Description
This request cannot change or add files. Therefore it is necessary to use the POST method.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be copied. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the modified fields of the destination infoitem. The field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Deletes infoitems.
PUT /infostore?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
hardDelete |
Defaults to |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the infoitems to delete. |
integer(int64) |
|
Body |
body |
A JSON array of objects with the fields |
< InfoItemListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Deletes versions of an infoitem.
PUT /infostore?action=detach
Description
Note
When the current version of a document is deleted the new current version will be the latest version.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
The folder ID of the base object. |
string |
|
Query |
id |
The ID of the base object. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the infoitem. |
integer(int64) |
|
Body |
body |
A JSON array of version numbers to detach. |
< integer > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Gets an infoitem document.
GET /infostore?action=document
Description
It is possible to add a filename to the request’s URI like /infostore/{filename}?action=document.
The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
content_type |
If present the response declares the given |
string |
|
Query |
folder |
Object ID of the folder who contains the infoitems. |
string |
|
Query |
id |
Object ID of the requested infoitem. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
version |
If present the infoitem data describes the given version. Otherwise the current version is returned. |
integer |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string(binary) |
Produces
-
application/octet-stream
Tags
-
infostore
Gets an infoitem.
GET /infostore?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the infoitems. |
string |
|
Query |
id |
Object ID of the requested infoitem. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
infostore
Gets a list of infoitems.
PUT /infostore?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id of the infoitems. |
< InfoItemListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
infostore
Locks an infoitem.
GET /infostore?action=lock
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
diff |
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. |
integer(int64) |
|
Query |
id |
Object ID of the infoitem that shall be locked. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
infostore
Moves one or more infoitems to another folder.
PUT /infostore?action=move
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
ID of the destination folder. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects each referencing to an existing infoitem that is supposed to be moved to the destination folder. |
< InfoItemListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Creates an infoitem.
POST /infostore?action=new
Description
Creates a new infoitem with a file. The normal request body must be placed as form-data using the
content-type multipart/form-data. The form field json contains the infoitem’s data while the file
must be placed in a file field named file (see also File uploads).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
try_add_version |
Add new file version if file name exists |
boolean |
|
FormData |
file |
The metadata as per |
file |
|
FormData |
json |
Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemBody model. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
infostore
Creates an infoitem.
PUT /infostore?action=new
Description
Creates a new contact. This request cannot add a file to the infoitem. Therefor it
is necessary to use the POST method.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be updated. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing a field |
< InfoItemBody > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Notifies users or groups about a shared infoitem (available since v7.8.0, preliminary).
PUT /infostore?action=notify
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the shared infoitem to notify about. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
JSON object providing the JSON array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Deletes all versions of an infoitem leaving only the base object.
PUT /infostore?action=revert
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
The folder ID of the base object. |
string |
|
Query |
id |
The ID of the base object. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the infoitem. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
infostore
Saves an attachment in the infostore.
PUT /infostore?action=saveAs
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attached |
The ID of the object to which the attachment belongs. |
integer |
|
Query |
attachment |
The ID of the attachment to save. |
string |
|
Query |
folder |
The folder ID of the object. |
integer |
|
Query |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
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. |
< InfoItemBody > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Search for infoitems.
PUT /infostore?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
end |
The last index (inclusive) from the ordered search, that is requested. |
integer |
|
Query |
folder |
The folder ID to restrict the search to. If not specified, all folders are searched. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
start |
The start index (inclusive, zero-based) in the ordered search, that is requested. |
integer |
|
Body |
body |
A JSON object containing search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
infostore
Gets shared infoitems (available since v7.8.0, preliminary).
GET /infostore?action=shares
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
infostore
Unlocks an infoitem.
GET /infostore?action=unlock
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be unlocked. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
infostore
Updates an infoitem.
POST /infostore?action=update
Description
Updates an infoitem’s data and file. The normal request body must be placed as form-data using the
content-type multipart/form-data. The form field json contains the infoitem’s data while the file
must be placed in a file field named file (see also File uploads).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be updated. |
string |
|
Query |
offset |
Optionally sets the start offset in bytes where to append the data to the document, must be equal to the actual document’s length (available since v7.8.1). Only available if the underlying File storage account supports the "RANDOM_FILE_ACCESS" capability. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the updated infoitem. If the infoitem was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
FormData |
file |
The metadata as per |
file |
|
FormData |
json |
Represents the normal request body as JSON string containing the infoitem’s data as described in the InfoItemBody model. Only modified fields must be specified but at least "{}". |
string |
|
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A HTML page as described in File uploads containing the object ID of the infoitem or errors if some occurred. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
infostore
Updates an infoitem.
PUT /infostore?action=update
Description
Updates an infoitem’s data. This request cannot change or add files. Therefore it
is necessary to use the POST method.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the infoitem that shall be updated. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the infoitem. If the infoitem was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing a field |
< InfoItemBody > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
infostore
Gets the new, modified and deleted infoitems.
GET /infostore?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the infoitems. |
string |
|
Query |
ignore |
Which kinds of updates should be ignored. Currently, the only valid value – "deleted" – causes deleted object IDs not to be returned. |
enum (deleted) |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested infoitems. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
infostore
Gets all versions of an infoitem.
GET /infostore?action=versions
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
id |
Object ID of the infoitem whose versions are requested. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
infostore
Gets multiple documents as a ZIP archive (available since v7.4.0).
PUT /infostore?action=zipdocuments
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
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). |
< InfoItemZipElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The raw byte data of the ZIP archive. The response type for the HTTP request is set to |
string(binary) |
Consumes
-
application/json
Produces
-
application/zip
Tags
-
infostore
Gets a ZIP archive containing all ifoitems of a denoted folder (availabel since v7.6.1).
GET /infostore?action=zipfolder
Description
It is possible to add a filename to the request’s URI like /infostore/{filename}?action=zipfolder.
The filename may be added to the customary infostore path to suggest a filename to a Save-As dialog.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the infoitems. |
string |
|
Query |
recursive |
|
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The raw byte data of the ZIP archive. The response type for the HTTP request is set to |
string(binary) |
Produces
-
application/zip
Tags
-
infostore
Gets all JSlobs (available since v6.22).
GET /jslob?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
serviceId |
The identifier for the JSlob service, default is "com.openexchange.jslob.config". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
JSlob
Gets a list of JSlobs (available since v6.22).
PUT /jslob?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
serviceId |
The identifier for the JSlob service, default is "com.openexchange.jslob.config". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with the identifiers of the requested JSlobs. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
JSlob
Stores or deletes a JSlob (available since v6.22).
PUT /jslob?action=set
Description
To delete a JSON configuration just send an empty request body for the specified id.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The JSlob indentifier. |
string |
|
Query |
serviceId |
The identifier for the JSlob service, default is "com.openexchange.jslob.config". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the JSON configuration to store. To delete the JSlob just send an empty body. |
object |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
JSlob
Updates a JSlob (available since v6.22).
PUT /jslob?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The JSlob indentifier. |
string |
|
Query |
serviceId |
The identifier for the JSlob service, default is "com.openexchange.jslob.config". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
The JSON object containing the updated JSON configuration to store. Fields that are not included are thus not affected and survive the change. Use |
object |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
JSlob
Acquires an identity token (available since v7.6.0).
GET /jump?action=identityToken
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
system |
The identifier for the external service/system, like "com.openexchange.jump.endpoint.mysystem". |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the identity token. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
jump
Refresh auto-login cookie
GET /login;jsessionid=1157370816112.OX1?action=redirect
Description
SECURITY WARNING! Utilizing this request is INSECURE! This request allows to access a session with a single one time token. This one time token may be delivered to the wrong client if the protocol has an error or Apache or the load balancer make a mistake. This will cause a wrong user to be in a wrong session. IMMEDIATELY consider not to use this request anymore. You have been warned. Use instead the FormLogin that does not need to use the redirect request.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
client |
The client can be defined here newly if it is not correct on the login request itself. |
string |
|
Query |
random |
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. |
string |
|
Query |
store |
Tells the UI to do a store request after login to be able to use autologin request. |
boolean |
|
Query |
uiWebPath |
The optional path on the webserver to the UI. If this parameter is not given the configured uiWebPath is used. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
login
Change IP of client host in a session.
POST /login?action=changeip
Description
The following request is especially for integration with systems located in the providers infrastructure. If those systems create a session with the following request the client host IP address in the session can be changed. The IP check for following requests will be done using this newly set client host IP address.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
clientIP |
New IP address of the client host for the current session. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
login
Login to the web frontend using a simple HTML form (available since v6.20).
POST /login?action=formlogin
Description
This request implements a possible login to the web frontend by only using a simple HTML form. The response contains a redirect link to the Web-UI. See OXSessionFormLogin for details. An example for such a form can be found in the backend’s documentation folder (/usr/share/doc/open-xchange-core) under examples/login.html.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
authId |
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. |
string |
|
FormData |
autologin |
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. |
boolean |
|
FormData |
client |
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. |
string |
|
FormData |
clientIP |
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. |
string |
|
FormData |
clientUserAgent |
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. |
string |
|
FormData |
login |
The login name. |
string |
|
FormData |
password |
The password. |
string(password) |
|
FormData |
uiWebPath |
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. |
string |
|
FormData |
version |
Used version of the HTTP/JSON interface client. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string |
Produces
-
text/html
Tags
-
login
Login with user credentials.
POST /login?action=login
Description
The login module is used to obtain a session from the user’s login credentials. Parameters are normally expected in the POST request body.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
authId |
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) |
string |
|
FormData |
client |
Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. |
string |
|
FormData |
clientIP |
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. |
string |
|
FormData |
clientUserAgent |
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. |
string |
|
FormData |
name |
The login name. |
string |
|
FormData |
password |
The password (MUST be placed in the request body, otherwise the login request will be denied). |
string(password) |
|
FormData |
version |
Used version of the HTTP/JSON interface client. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
login
Does the logout.
GET /login?action=logout
Description
Does the logout which invalidates the session.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
403 |
FORBIDDEN. The server refuses to respond to the request. |
No Content |
Tags
-
login
Redeem Token Login (available since v7.4.0).
POST /login?action=redeemToken
Description
With a valid session it is possible to acquire a secret (see token?action=acquireToken). Using this secret another system is able
to generate a valid session. This session may also contain the users password (configurable).
The system in question needs to be registered at the server and has to identify itself with a key
configured at the open-xchange server. This is only for internal communication and by default no keys
are available.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
authId |
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. |
string |
|
FormData |
client |
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. |
string |
|
FormData |
secret |
The value of the secret string for token logins. This is configured through the tokenlogin-secrets configuration file. |
string |
|
FormData |
token |
The token created with |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
login
Refreshes the secret cookie (available since v6.18.2)
GET /login?action=refreshSecret
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
login
Refreshes the auto-login cookie.
GET /login?action=store
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
login
Login for a very short living session (available since v7.0.1).
POST /login?action=tokenLogin
Description
This request allows every possible client to create a very short living session. This session can then be transferred to any other client preferably a browser entering then the normal web interface. Then the sessions life time will be extended equally to every other session.
Compared to the login mechanism using the random token, this request is more secure because two tokens are used. One of these tokens is only known to the client and one is generated by the server. Only the combination of both tokens allows to use the session. The combination of both tokens must be done by the client creating the session.
DISCLAIMER: This request MUST NOT be used by some server side instance. If some server side instance uses this request to create a session for a browser on some client machine, then you have to transfer the full URL with server and client token over some connection to the client. This creates a VULNERABILITY if this is done. The token login method is only secure if this request is already sent from the same machine that later runs the browser using the created session.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
authId |
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. |
string |
|
FormData |
autologin |
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. This must be enabled on the server and a client can test with the autologin request if it is enabled or not. |
boolean |
|
FormData |
client |
Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. |
string |
|
FormData |
clientIP |
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. |
string |
|
FormData |
clientToken |
Client side identifier for accessing the session later. The value should be some token that is unique for every login request. |
string |
|
FormData |
clientUserAgent |
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. |
string |
|
FormData |
jsonResponse |
(since 7.8.0) True or false (default). Defines the returned data type as JSON. Default |
boolean |
|
FormData |
login |
The login information. |
string |
|
FormData |
password |
The password (MUST be placed in the request body, otherwise the login request will be denied). |
string(password) |
|
FormData |
uiWebPath |
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. |
string |
|
FormData |
version |
Version of the HTTP/JSON interface client. Only for statistic evaluations. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case |
Produces
-
application/json -
text/html
Tags
-
login
Accesses a session that was previously created with the token login (available since v7.0.1).
POST /login?action=tokens
Description
This request allows clients to access a session created with the /login?action=tokenLogin request.
When accessing the session its life time is extended equally to every other session.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
FormData |
client |
Identifier of the client using the HTTP/JSON interface. This is for statistic evaluations what clients are used with Open-Xchange. |
string |
|
FormData |
clientToken |
The password (MUST be placed in the request body, otherwise the login request will be denied). |
string |
|
FormData |
serverToken |
The login name. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
login
Moves mails to the given category
PUT /mail/categories?action=move
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
category_id |
The identifier of a category. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
'A JSON array of mail identifier, e.g.: [{"id":ID, "folder_id":FID},{"id":ID2, "folder_id":FID2}, {…}]' |
< Mail_CategoriesMoveBody > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).' |
Consumes
-
application/json
Tags
-
mail_categories
Add a new rule
PUT /mail/categories?action=train
Description
Adds a new rule with the given mail addresses to the given category and optionally reorganize all existing mails in the inbox.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
apply-for-existing |
A flag indicating whether old mails should be reorganized. Defaults to 'false'. |
boolean |
|
Query |
apply-for-future-ones |
A flag indicating whether a rule should be created or not. Defaults to 'true'. |
boolean |
|
Query |
category_id |
The identifier of a category. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
'A JSON object containing a "from" field which contains an array of mail addresses.' |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
'An empty response if everything went well. In case of errors the responsible fields in the response are filled (see Error handling).' |
Consumes
-
application/json
Tags
-
mail_categories
Retrieves the unread counts of active mail categories
GET /mail/categories?action=unread
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
category_ids |
A comma separated list of category identifiers. If set only the unread counters of this categories are retrieved. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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).' |
Tags
-
mail_categories
Gets all mails.
GET /mail?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
filter |
The category id to filter for. If set to "general" all mails which does not belong to any other category are retrieved. |
string |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
left_hand_limit |
A positive integer number to specify the "left-hand" limit of the range to return. |
integer |
|
Query |
limit |
A positive integer number to specify how many items shall be returned according to given sorting; overrides |
integer |
|
Query |
order |
"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. |
string |
|
Query |
right_hand_limit |
A positive integer number to specify the "right-hand" limit of the range to return. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
mail
Marks all mails of a folder as seen (available since v7.6.0).
PUT /mail?action=all_seen
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with the value |
Consumes
-
application/json
Tags
-
mail
Gets a mail attachment.
GET /mail?action=attachment
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
allow_nested_messages |
A value of "false" leads to light-weight JSON objects for nested messages containing only the "id" field |
boolean |
|
Query |
as_json |
Nested messages are parsed into full JSON objects. Can lead to longer loading times, for multiple nested messages. |
boolean |
|
Query |
attachment |
ID of the requested attachment (can be substituted by the parameter |
string |
|
Query |
cid |
Value of header 'Content-ID' of the requested attachment (can be substituted by the parameter |
string |
|
Query |
filter |
1 to apply HTML white-list filter rules if and only if requested attachment is of MIME type |
integer |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the mail which contains the attachment. |
string |
|
Query |
save |
1 overwrites the defined mimetype for this attachment to force the download dialog, otherwise 0. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string(binary) |
Tags
-
mail
Clears the content of mail folders.
PUT /mail?action=clear
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Not IMAP: timestamp of the last update of the deleted mails. |
integer(int64) |
|
Body |
body |
A JSON array with object IDs of the mail folders that shall be cleared. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mail
Copies a mail to another folder.
PUT /mail?action=copy
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested mail that shall be copied. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the id of the destination folder. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mail
Gets the mail count.
GET /mail?action=count
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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).' |
Tags
-
mail
Deletes mails.
PUT /mail?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Not IMAP: timestamp of the last update of the deleted mails. |
integer(int64) |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the mails. |
< MailListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mail
Forwards a mail.
GET /mail?action=forward
Description
Returns the data for the message that shall be forwarded.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested message. |
string |
|
Query |
max_size |
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. (available since v7.6.1) |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
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. (available since SP6) |
enum (text, html) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Gets a mail.
GET /mail?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attach_src |
1 to let the JSON mail representation being extended by "source" field containing the mail raw RFC822 source data. (available since v7.6.1) |
integer |
|
Query |
edit |
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. |
integer |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested mail (can be substituded by |
string |
|
Query |
max_size |
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. (available since v7.6.1) |
integer |
|
Query |
message_id |
(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
unseen |
Use |
boolean |
|
Query |
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 (available since SP6 v6.10)), 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)). If set, the corresponding gui config setting will be ignored. |
enum (raw, text, textNoHtmlAttach, html, noimg) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Gets the message headers as plain text.
GET /mail?action=get&hdr=1
Description
Note
By setting the query parameter hdr to 1 the response type of the request action changes. Then
it is returned a JSON object with the field data containing the (formatted) message headers
as plain text.
The parameters below specify the ones that have an effect on the request.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested mail (can be substituded by |
string |
|
Query |
message_id |
(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
unseen |
Use |
boolean |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Gets the complete message source as plain text.
GET /mail?action=get&src=1
Description
Note
By setting the query parameter src to 1 the response type of the request action changes. Then
it is returned a JSON object with the field data containing the complete message source as plain text.
The parameters below specify the ones that have an effect on the request.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested mail (can be substituded by |
string |
|
Query |
message_id |
(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter. |
string |
|
Query |
save |
1 to write the complete message source to output stream. NOTE: This parameter will only be used if parameter |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
unseen |
Use |
boolean |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Import of mails as MIME data block (RFC822) (available since v6.18).
POST /mail?action=import
Description
This request can be used to store a single or a lot of mails in the OX mail storage backend. This
action should be used instead of /mail?action=new because it is faster and tolerant to 8-bit encoded emails.
To import multiple mails add further form-data fields.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
flags |
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 Mail data model. |
string |
|
Query |
folder |
The ID of the folder into that the emails should be imported. |
string |
|
Query |
force |
If this parameter is set to |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
file |
The RFC822 encoded email as binary data. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
multipart/form-data
Tags
-
mail
Gets a list of mails.
PUT /mail?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
headers |
(preliminary) A comma-separated list of header names. Each name requests denoted header from each mail. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the requested mails. |
< MailListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
mail
Sends a mail.
POST /mail?action=new
Description
The request accepts file fields in upload form that denote referenced files that are going to be appended as attachments. For "text/plain" mail bodies, the JSON boolean field "raw" may be specified inside the body’s JSON representation to signal that the text content shall be kept as-is; meaning to keep all formatting intact.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
lineWrapAfter |
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. Available with v7.8.1. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
FormData |
json_0 |
Contains the rudimentary mail as JSON string (see SendMailData model) with just its message body
(as html content) defined in nested JSON array |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
string |
Consumes
-
multipart/form-data -
multipart/mixed
Produces
-
text/html
Tags
-
mail
Sends or saves a mail as MIME data block (RFC822) (available since SP5).
PUT /mail?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
flags |
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 |
string |
|
Query |
folder |
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". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
text/plain
Tags
-
mail
Requests a delivery receipt for a priviously sent mail.
PUT /mail?action=receipt_ack
Description
This delivery receipt only acknowledges that the message could be receipted on the recipients computer.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the information of a mail for which a delivery receipt shall be requested. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mail
Replies a mail.
GET /mail?action=reply
Description
Returns the data for the message that shall be replied.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested message. |
string |
|
Query |
max_size |
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. (available since v7.6.1) |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
setFrom |
A flag ( |
boolean |
|
Query |
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. (available since SP6) |
enum (text, html) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Replies a mail to all.
GET /mail?action=replyall
Description
Returns the data for the message that shall be replied.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested message. |
string |
|
Query |
max_size |
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. (available since v7.6.1) |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
setFrom |
A flag ( |
boolean |
|
Query |
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. (available since SP6) |
enum (text, html) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Resolves a given share reference
PUT /mail?action=resolve_share_reference
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object providing the share reference to resolve |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
'The JSON representation for the resolved share reference. In case of errors the responsible fields in the response are filled (see Error handling).' |
Consumes
-
application/json
Produces
-
application/json
Tags
-
mail
Searches for mails.
PUT /mail?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Body |
body |
A JSON object describing the search term as introducted in Advanced search. Example:
|
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
mail
Gets all mail conversations.
GET /mail?action=threadedAll
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
includeSent |
A boolean value to signal that conversations also include messages taken from special "sent" aka "sent items" folder. |
boolean |
|
Query |
left_hand_limit |
A positive integer number to specify the "left-hand" limit of the range to return. Note: Applies only to root-level messages. |
integer |
|
Query |
limit |
A positive integer number to specify how many items shall be returned according to given sorting; overrides |
integer |
|
Query |
order |
"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. |
string |
|
Query |
right_hand_limit |
A positive integer number to specify the "right-hand" limit of the range to return. Note: Applies only to root-level messages. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
mail
Updates a mail or a folder’s messages and/or moves a mail to another folder.
PUT /mail?action=update
Description
The update request can perform an update of the color label and flags of one mail object. Beside it is possible to change the mail’s folder, meaning move the mail to another folder. Both operations can be performed at once too.
If neither parameter id nor parameter message_id is specified, all folder’s messages are updated
accordingly (**available since v6.20).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the requested mail that shall be updated (mandatory if a mail shall be moved). |
string |
|
Query |
message_id |
(Preliminary) The value of "Message-Id" header of the requested mail. This parameter is a substitute for "id" parameter. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
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). |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mail
Gets updated mails (not IMAP).
GET /mail?action=updates
Description
Not IMAP
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mail
Gets multiple mail attachments as a ZIP file.
GET /mail?action=zip_attachments
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attachment |
A comma-separated list of IDs of the requested attachments. |
string |
|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
Object ID of the mail which contains the attachments. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The raw byte data of the ZIP file. |
string(binary) |
Produces
-
application/zip
Tags
-
mail
Gets multiple mails as a ZIP file.
GET /mail?action=zip_messages
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the mails. |
string |
|
Query |
id |
A comma-separated list of Object IDs of the requested mails. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The raw byte data of the ZIP file. |
string(binary) |
Produces
-
application/zip
Tags
-
mail
Gets the configuration of the mail filter backend.
GET /mailfilter?action=config
Description
A mail filter can have different rules each containing one command. A command has a test condition and actions that are executed if the condition is true. The list of available comparisions (that can be used in test conditions) and the list of available actions depends on a given test and the mail filter server configuration and must be determined at runtime.
All those dynamic values can be fetched via a config object at startup, which shows the capabilities of the server to the client.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with the fields |
Tags
-
mailfilter
Deletes a mail filter rule.
PUT /mailfilter?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
|
Body |
body |
A JSON object with the ID of the rule to delete. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
mailfilter
Deletes the whole mail filter script.
PUT /mailfilter?action=deletescript
Description
This call is only used as workaround for parsing errors in the backend, so that the user is able to kick a whole script if it contains errors in the grammar.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
mailfilter
Gets the whole mail filter script.
PUT /mailfilter?action=getscript
Description
This call is only used as workaround for parsing errors in the backend, so that the user is able to get the plaintext of a complete script.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mailfilter
Gets all mail filter rules.
GET /mailfilter?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
flag |
If given, only rules with this flag are returned. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
mailfilter
Creates a mail filter rule.
PUT /mailfilter?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
|
Body |
body |
A JSON object describing the mail filter rule. If the field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
mailfilter
Reorders mail filter rules.
PUT /mailfilter?action=reorder
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
|
Body |
body |
A JSON array with unique identifiers, which represents how the corresponding rules are order. |
< integer > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
mailfilter
Updates a mail filter rule.
PUT /mailfilter?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
username |
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. |
string |
|
Body |
body |
A JSON object describing the rule with the |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
mailfilter
Gets all messaging accounts.
GET /messaging/account?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
messagingService |
List only those accounts that belong to the given |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
messaging
Deletes a messaging account.
GET /messaging/account?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The messaging account ID. |
integer |
|
Query |
messagingService |
The messaging service ID that the account belongs to. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
messaging
Gets a messaging account.
GET /messaging/account?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The messaging account ID. |
integer |
|
Query |
messagingService |
The messaging service ID that the account belongs to. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
messaging
Creates a messaging account.
PUT /messaging/account?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object describing the account to create. The ID is generated by the server and must not be present. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
messaging
Updates a messaging account.
PUT /messaging/account?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the modified data of the account. The fields |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
messaging
Gets all messaging messages.
GET /messaging/message?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
A comma-separated list of column names, like "folder,headers,body". See [Messaging fields](#messaging fields) for valid column names. |
string |
|
Query |
folder |
The folder ID, like "com.openexchange.messaging.twitter://535/defaultTimeline/directMessages". |
string |
|
Query |
order |
The order direction which can be "asc" for ascending (default) or "desc" for descending. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
A column name to sort by. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
messaging
Gets a messaging message.
GET /messaging/message?action=get
Description
A messaging message consists of some metadata, headers and a content. The content attribute varies
by the content-type header. If the content-type is text/ it is a string, if it is multipart/ it
is an array of objects, each representing a part of the multipart. If it is anything else it is considered binary
and is a Base64 encoded string.
The folder ID of a message follows a predefined format: [messagingService]://[accountId]/[path], like
com.openexchange.messaging.twitter://535/defaultTimeline/directMessages.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
The folder ID of the message. |
string |
|
Query |
id |
The ID of the message to load. |
string |
|
Query |
peek |
If set to |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
messaging
Gets a list of messaging messages.
PUT /messaging/message?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
A comma-separated list of column names, like "folder,headers,body". See [Messaging fields](#messaging fields) for valid column names. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON arrays with the folder and ID as elements each identifying a message. |
< < object > array > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
messaging
Performs a certain messaging action on a message.
PUT /messaging/message?action=perform
Description
On actions of type "message" the body should contain the JSON representation of the message the action should be applied to. To invoke a messaging action of type "storage" the folder and id are needed in URL parameters. Messaging actions of type "none" need a messaging message and account.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
account |
The account ID. Only used on actions of type "none". |
integer |
|
Query |
folder |
The folder ID of the message. Only used on actions of type "storage". |
string |
|
Query |
id |
The ID of the message the action shall be invoked on. Only used on actions of type "storage". |
string |
|
Query |
messageAction |
The message action to invoke. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON arrays with the folder and ID as elements each identifying a message. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
spplication/json
Tags
-
messaging
Sends a messaging message.
PUT /messaging/message?action=send
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
recipients |
A list of recipients as defined in RFC822, like "Joe Doe joe@doe.org". If set the message is sent to the given list of recipients, otherwise this defaults to the "To" header of the message. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON arrays with the folder and ID as elements each identifying a message. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
spplication/json
Tags
-
messaging
Gets all messaging services.
GET /messaging/service?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
messaging
Gets a messaging service.
GET /messaging/service?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the messaging service to load. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
messaging
Processes multiple requests to other modules in a single request.
PUT /multiple
Description
Not supported requests are:
-
the ones from modules login and multiple
-
POST requests with a multipart encoding (uploads)
-
GET requests which do not use an object as described in Low level protocol
Request body
A JSON array with JSON objects describing the requests. Each object contains a field module with the
name of the request’s module and the field action with the concrete request action to execute. Additionally the
parameters of the request are added as fields too. A session parameter is not included! If the request has
a request body itself, this body is stored as a JSON object in a field data.
Example: query reminder range and update a reminder’s alarm
[{"module":"reminder","action":"range","end":1497461067180},{"module":"reminder","action":"remindAgain","id":51,"data":{"alarm":1459478800000}}]
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
continue |
Specifies whether processing of requests should stop when an error occurs, or whether all request should be processed regardless of errors. |
boolean |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with JSON objects, each describing one request. |
< SingleRequest > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
< SingleResponse > array |
400 |
Syntactically incorrect request. |
No Content |
Consumes
-
application/json
Tags
-
multiple
Gets all OAuth accounts (available since v6.20).
GET /oauth/accounts?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
serviceId |
The service meta data identifier. If missing all accounts of all services are returned; otherwise all accounts of specified service are returned. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Creates an OAuth account (available since v6.20).
PUT /oauth/accounts?action=create
Description
This action is typically called by provided call-back URL and is only intended for manual invocation if
"outOfBand" interaction is returned by preceeding /oauth/account?action=init step.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
displayName |
The display name for the new account. |
string |
|
Query |
oauth_token |
The request token from preceeding OAuth interaction. |
string |
|
Query |
oauth_verifier |
The verifier string which confirms that user granted access. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
uuid |
The UUID of the preceeding OAuth interaction. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Deletes an OAuth account (available since v6.20).
PUT /oauth/accounts?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The account identifier. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Gets an OAuth account (available since v6.20).
GET /oauth/accounts?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The account identifier. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Initializes the creation of an OAuth account (available since v6.20).
GET /oauth/accounts?action=init
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
displayName |
The display name of the account. |
string |
|
Query |
serviceId |
The service meta data identifier, e.g. "com.openexchange.oauth.twitter". |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Updates an OAuth account (available since v6.20).
PUT /oauth/accounts?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The account identifier. May also be provided in request body’s JSON object by field |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object providing the OAuth account data to update. Currently the only values which make sense being updated are |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
OAuth
Gets all OAuth grants (available since v7.8.0).
GET /oauth/grants?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Revokes access for an OAuth client (available since v7.8.0).
GET /oauth/grants?action=revoke
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
client |
The ID of the client whose access shall be revoked. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
OAuth
Gets all OAuth services' meta data (available since v6.20).
GET /oauth/services?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Gets all OAuth service’s meta data (available since v6.20).
GET /oauth/services?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The service’s identifier. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
OAuth
Updates or changes the password of the current use.
PUT /passwordchange?action=update
Description
Note
The new password will be set without any checks. The client must ensure that it is the password the user wants to set.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the old and the new password. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
passwordchange
Gets the filestore usage data.
GET /quota?action=filestore
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the filestore quota. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
quota
Gets quota information (available since v7.6.1, preliminary).
GET /quota?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
account |
The account identifier within the module to get quota information for. |
string |
|
Query |
module |
The module identifier (e.g. "share_links", "filestorage", …) to get quota information for, required if account is set. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
If |
|
400 |
If a specified |
No Content |
Tags
-
quota
Gets the mail usage data.
GET /quota?action=mail
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the mail quota. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
quota
Deletes reminders (available since v6.22).
PUT /reminder?action=delete
Description
Before version 6.22 the request body contained only a JSON object with the field id.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with JSON objects containing the field |
< ReminderListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
reminder
Gets a reminder range.
GET /reminder?action=range
Description
Gets all reminders which are scheduled until the specified time (end date).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
end |
The end date of the reminder range. |
integer(int64) |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
reminder
Updates the reminder alarm (available since v6.18.1).
PUT /reminder?action=remindAgain
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the reminder whose alarm date shall be changed. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
reminder
Gets all resources.
GET /resource?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
resources
Deletes resources.
PUT /resource?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the group to delete. |
integer(int64) |
|
Body |
body |
A JSON array of objects with the field |
< ResourceListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
resources
Gets a resource.
GET /resource?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the resource. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the resource data. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
resources
Gets a list of resources.
PUT /resource?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id of the requested resources. |
< ResourceListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
resources
Creates a resource.
PUT /resource?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the resource data. The field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
resources
Searches for resources.
PUT /resource?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object with the search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
resources
Updates a resource.
PUT /resource?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
ID of the resource that shall be updated. |
integer |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the resource to update. If the resource was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing the resource data fields to change. Only modified fields are present and the field id is omitted. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
resources
Gets the new, modified and deleted resources.
GET /resource?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested resources. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with fields |
Tags
-
resources
Deletes a share link (available since v7.8.0).
PUT /share/management?action=deleteLink
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the share target where the link should be deleted for. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
share/management
Creates or gets a share link (available since v7.8.0).
PUT /share/management?action=getLink
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the share target where the link should be generated for. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
share/management
Sends a share link (available since v7.8.0).
PUT /share/management?action=sendLink
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the share target and a list of recipients specified in a field |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
Transport warnings that occurred during sending the notifications are available in a |
Consumes
-
application/json
Tags
-
share/management
Updates a share link (available since v7.8.0).
PUT /share/management?action=updateLink
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
The timestamp of the last modification of the link. Used to detect concurrent modifications. |
integer(int64) |
|
Body |
body |
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. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
share/management
Gets all snippets (available since v7.0.0/v6.22.0).
GET /snippet?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
type |
A list of comma-separated types to filter, e.g. "signature". |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
snippet
Attaches one or more files to an existing snippet (available since v7.0.0/v6.22.0).
POST /snippet?action=attach
Description
It can be uploaded multiple files at once. Each file must be specified in an own form field (the form field name is arbitrary).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the snippet. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
type |
The file type filter to define which file types are allowed during upload. Currently supported filters are: file (for all), text (for |
enum (file, text, media, image, audio, video, application) |
|
FormData |
file |
The attachment file. |
file |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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. |
string |
Consumes
-
multipart/form-data
Produces
-
text/html
Tags
-
snippet
Deletes one or multiple snippets (available since v7.0.0/v6.22.0).
PUT /snippet?action=delete
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the snippet. Otherwise provide one or more identifiers in the request body’s JSON array. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array containing the identifiers of the snippets to delete. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
snippet
Detaches one or more files from an existing snippet (available since v7.0.0/v6.22.0).
PUT /snippet?action=detach
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the snippet. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array with JSON objects each containing a field |
< SnippetAttachmentListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
snippet
Gets a snippet (available since v7.0.0/v6.22.0).
GET /snippet?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the snippet. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
snippet
Gets the attachment of a snippet (available since v7.0.0/v6.22.0).
GET /snippet?action=getattachment
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
attachmentid |
The identifier of the attachment. |
string |
|
Query |
id |
The identifier of the snippet. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
The attachment’s raw data. |
string(binary) |
500 |
A HTML page in case of errors. |
string |
Tags
-
snippet
Gets a list of snippets (available since v7.0.0/v6.22.0).
PUT /snippet?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of snippet identifiers. |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
snippet
Creates a snippet (available since v7.0.0/v6.22.0).
PUT /snippet?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object describing the snippet excluding its attachment(s). For adding attachments see |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
snippet
Updates a snippet (available since v7.0.0/v6.22.0).
PUT /snippet?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The identifier of the snippet. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object providing the fields that should be changed, excluding its attachments. For deleting attachments see |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
snippet
Clears a folder’s content.
PUT /sync?action=refresh_server
Description
Note
Although the request offers to clear multiple folders at once it is recommended to clear only one folder per request since if any exception occurs (e.g. missing permissions) the complete request is going to be aborted.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array containing the folder ID(s). |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
sync
Gets all tasks.
GET /tasks?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the tasks. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
tasks
Confirms a task.
PUT /tasks?action=confirm
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the tasks. |
string |
|
Query |
id |
Object ID of the task that shall be confirmed. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the task. |
integer(int64) |
|
Body |
body |
A JSON object with the fields |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
tasks
Deletes tasks (available since v6.22).
PUT /tasks?action=delete
Description
Before version 6.22 the request body contained a JSON object with the fields id and folder and could
only delete one task.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the deleted tasks. |
integer(int64) |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the tasks. |
< TaskListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
tasks
Gets a task.
GET /tasks?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the tasks. |
string |
|
Query |
id |
Object ID of the requested task. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
tasks
Gets a list of tasks.
PUT /tasks?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of JSON objects with the id and folder of the tasks. |
< TaskListElement > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
tasks
Creates a task.
PUT /tasks?action=new
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON object containing the task’s data. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
tasks
Search for tasks.
PUT /tasks?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Body |
body |
A JSON object containing search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
tasks
Updates a task.
PUT /tasks?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
folder |
Object ID of the folder who contains the tasks. |
string |
|
Query |
id |
Object ID of the requested task. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested tasks. |
integer(int64) |
|
Body |
body |
A JSON object containing the task’s data. Only modified fields are present. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object with a timestamp. In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
tasks
Gets the new, modified and deleted tasks.
GET /tasks?action=updates
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
folder |
Object ID of the folder who contains the tasks. |
string |
|
Query |
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 |
enum (deleted) |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested tasks. |
integer(int64) |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
tasks
Gets a login token (available since v7.4.0).
GET /token?action=acquireToken
Description
With a valid session it is possible to acquire a secret. Using this secret another system is able to
generate a valid session (see login?action=redeemToken).
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
token
Gets information about current user (available since v7.6.2).
GET /user/me
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
user/me
Gets all users (available since v6.14).
GET /user?action=all
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Tags
-
user
Gets a user (available since v6.14).
GET /user?action=get
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the requested user. Since v6.18.1, this parameter is optional and the default is the currently logged in user. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Tags
-
user
Gets a user attribute (available since v6.20).
GET /user?action=getAttribute
Description
Gets a custom user attribute that was previously set with the /user?action=setAttribute request.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the user. |
string |
|
Query |
name |
The name of the attribute. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
A JSON object containing the attribute data. In case of errors the responsible fields in the response are filled (see Error handling). |
Tags
-
user
Gets a list of users (available since v6.14).
PUT /user?action=list
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Body |
body |
A JSON array of identifiers of the requested users. Since v6.18.1, a |
< string > array |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
user
Search for users (available since v6.14).
PUT /user?action=search
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
columns |
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. |
string |
|
Query |
order |
"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. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
sort |
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. |
string |
|
Body |
body |
A JSON object containing search parameters. |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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 |
Consumes
-
application/json
Tags
-
user
Sets a user attribute (available since v6.20).
PUT /user?action=setAttribute
Description
Sets a custom user attribute consisting of a name and a value. The attribute can later be
retrieved using the /user?action=getAttribute request.
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
The ID of the user. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
setIfAbsent |
Set to |
boolean |
|
Body |
body |
A JSON object providing the name and the value of the attribute. If the |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
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). |
Consumes
-
application/json
Tags
-
user
Updates a user (available since v6.14).
PUT /user?action=update
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
Query |
id |
Object ID of the requested user. |
string |
|
Query |
session |
A session ID previously obtained from the login module. |
string |
|
Query |
timestamp |
Timestamp of the last update of the requested user. If the user was modified after the specified timestamp, then the update must fail. |
integer(int64) |
|
Body |
body |
A JSON object containing the user’s data. Only modified fields are present. From Detailed user data only the fields |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
In case of errors the responsible fields in the response are filled (see Error handling). |
Consumes
-
application/json
Tags
-
user
Definitions
AcquireTokenResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
data
| Name | Description | Schema |
|---|---|---|
token |
The token that can be used for a new session. |
string |
AllResourcesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of resource identifiers. |
< integer > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentConfirmationBody
| Name | Description | Schema |
|---|---|---|
confirmation |
0 (none), 1 (accepted), 2 (declined), 3 (tentative). |
integer |
confirmmessage |
The confirmation message or comment. |
string |
id |
User ID. Confirming for other users only works for appointments and not for tasks. |
integer |
AppointmentCreationConflict
| Name | Description | Schema |
|---|---|---|
alarm |
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. |
integer(int64) |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
change_exceptions |
An array of Dates, representing all change exceptions of a sequence. |
< integer(int64) > array |
color_label |
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. |
integer |
confirmations |
Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks. |
< TaskConfirmation > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
day_in_month |
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. |
integer |
days |
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). |
integer |
delete_exceptions |
An array of Dates, representing all delete exceptions of a sequence. |
< integer(int64) > array |
end_date |
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). |
integer(int64) |
folder_id |
Object ID of the parent folder. |
string |
full_time |
True if the event is a whole day appointment or task, false otherwise. |
boolean |
hard_conflicts |
"true" if appointment represents a resource conflict. |
boolean |
id |
Object ID. |
string |
ignore_conflicts |
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. |
boolean |
interval |
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. |
integer |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
location |
The location of the appointment. |
string |
modified_by |
User ID of the user who last modified this object. |
string |
month |
Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4. |
integer |
note |
Long description. |
string |
notification |
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. |
boolean |
number_of_attachments |
Number of attachments. |
integer |
occurrences |
Specifies how often a recurrence should appear. May be present only if recurrence_type > 0. |
integer |
organizer |
Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks. |
string |
organizerId |
Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
participants |
Each element identifies a participant, user, group or booked resource. |
< TaskParticipant > array |
principal |
Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1). |
string |
principalId |
Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
recurrence_date_position |
Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
integer(int64) |
recurrence_id |
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. |
integer |
recurrence_position |
1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
integer |
recurrence_start |
Start of a sequence without time. |
integer(int64) |
recurrence_type |
Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly). |
integer |
sequence |
iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set. |
integer |
shown_as |
Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free). |
integer |
start_date |
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). |
integer(int64) |
timezone |
The timezone of the appointment. |
string |
title |
Short description. |
string |
uid |
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. |
string |
until |
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. |
integer(int64) |
users |
Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once. |
< TaskUser > array |
AppointmentCreationData
| Name | Description | Schema |
|---|---|---|
conflicts |
An array of appointments which cause conflicts. |
< AppointmentCreationConflict > array |
id |
ID of the appointment. |
string |
AppointmentCreationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentData
| Name | Description | Schema |
|---|---|---|
alarm |
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. |
integer(int64) |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
change_exceptions |
An array of Dates, representing all change exceptions of a sequence. |
< integer(int64) > array |
color_label |
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. |
integer |
confirmations |
Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks. |
< TaskConfirmation > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
day_in_month |
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. |
integer |
days |
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). |
integer |
delete_exceptions |
An array of Dates, representing all delete exceptions of a sequence. |
< integer(int64) > array |
end_date |
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). |
integer(int64) |
folder_id |
Object ID of the parent folder. |
string |
full_time |
True if the event is a whole day appointment or task, false otherwise. |
boolean |
id |
Object ID. |
string |
ignore_conflicts |
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. |
boolean |
interval |
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. |
integer |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
location |
The location of the appointment. |
string |
modified_by |
User ID of the user who last modified this object. |
string |
month |
Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4. |
integer |
note |
Long description. |
string |
notification |
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. |
boolean |
number_of_attachments |
Number of attachments. |
integer |
occurrences |
Specifies how often a recurrence should appear. May be present only if recurrence_type > 0. |
integer |
organizer |
Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks. |
string |
organizerId |
Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
participants |
Each element identifies a participant, user, group or booked resource. |
< TaskParticipant > array |
principal |
Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1). |
string |
principalId |
Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
recurrence_date_position |
Date of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
integer(int64) |
recurrence_id |
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. |
integer |
recurrence_position |
1-based position of an individual appointment in a sequence. Present if and only if recurrence_type > 0. |
integer |
recurrence_start |
Start of a sequence without time. |
integer(int64) |
recurrence_type |
Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly). |
integer |
sequence |
iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set. |
integer |
shown_as |
Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free). |
integer |
start_date |
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). |
integer(int64) |
timezone |
The timezone of the appointment. |
string |
title |
Short description. |
string |
uid |
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. |
string |
until |
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. |
integer(int64) |
users |
Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once. |
< TaskUser > array |
AppointmentDeletionsElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder. |
string |
id |
The object ID of the appointment. |
string |
pos |
Value of the field recurrence_position, if present in the appointment. |
integer |
AppointmentDeletionsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with object IDs of appointments which were modified after the specified timestamp and were therefore not deleted. |
< AppointmentDeletionsElement > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentFreeBusyItem
| Name | Description | Schema |
|---|---|---|
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
color_label |
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. |
integer |
confirmations |
Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks. |
< TaskConfirmation > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
end_date |
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). |
integer(int64) |
folder_id |
Object ID of the parent folder. |
string |
full_time |
True if the event is a whole day appointment or task, false otherwise. |
boolean |
id |
Object ID. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
number_of_attachments |
Number of attachments. |
integer |
participants |
Each element identifies a participant, user, group or booked resource. |
< TaskParticipant > array |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
recurrence_type |
Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly). |
integer |
shown_as |
Describes, how this appointment appears in availability queries: 1 (reserved), 2 (temporary), 3 (absent), 4 (free). |
integer |
start_date |
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). |
integer(int64) |
title |
Short description. |
string |
AppointmentFreeBusyResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
< AppointmentFreeBusyItem > array |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentInfoResponse
| Name | Description | Schema |
|---|---|---|
data |
Array with elements that correspond with days in the time range, explaining whether a day has appointments or not. |
< boolean > array |
AppointmentListElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder. |
string |
id |
The object ID of the appointment. |
string |
recurrence_date_position |
Date of an individual appointment in a sequence. |
integer(int64) |
recurrence_position |
1-based position of an individual appointment in a sequence. |
integer |
AppointmentResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentSearchBody
| Name | Description | Schema |
|---|---|---|
pattern |
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. |
string |
startletter |
Search appointments with the given starting letter. |
string |
AppointmentUpdateData
| Name | Description | Schema |
|---|---|---|
id |
ID of the appointment. |
string |
AppointmentUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of appointments. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AppointmentsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of appointments. Each appointment is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AttachmentData
| Name | Description | Schema |
|---|---|---|
attached |
The ID of the object this attachment is attached to. |
integer |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
color_label |
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. |
integer |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
file_mimetype |
The MIME type of the attached file. |
string |
file_size |
The file size (in bytes) of the attached file. |
integer(int64) |
filename |
The filename of the attached file. |
string |
folder |
The ID of the first folder in which the attached object resides. |
integer |
folder_id |
Object ID of the parent folder. |
string |
id |
Object ID. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
module |
The module type of the object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
number_of_attachments |
Number of attachments. |
integer |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
rft_flag |
If the attachment is a RTF attachment of outlook (outlook descriptions can be stored as RTF documents). |
boolean |
AttachmentResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AttachmentUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of attachments. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AttachmentsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of attachments. Each attachment is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
AutoConfigResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
CapabilitiesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of JSON objects each describing one capability. |
< CapabilityData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
CapabilityData
| Name | Description | Schema |
|---|---|---|
attributes |
A JSON object holding properties of the capability. |
object |
id |
The identifier of the capability. |
string |
CapabilityResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ChangeIPResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
string |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
CommonResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ConfigBody
| Name | Description | Schema |
|---|---|---|
data |
The new value of the node specified by path. |
object |
ConfigProperty
| Name | Description | Schema |
|---|---|---|
name |
The name of the property. |
string |
value |
The value of the property. |
object |
ConfigPropertyBody
| Name | Description | Schema |
|---|---|---|
value |
The concrete value to set. |
string |
ConfigPropertyResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ConfigResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Generic type which can be object, string, array, etc. |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ContactData
| Name | Description | Schema |
|---|---|---|
addressBusiness |
Support for Outlook 'business' address field. (since 6.20.1) |
string |
addressHome |
Support for Outlook 'home' address field. (since 6.20.1) |
string |
addressOther |
Support for Outlook 'other' address field. (since 6.20.1) |
string |
anniversary |
The anniversary. |
integer(int64) |
assistant_name |
The assistant’s name. |
string |
birthday |
The date of birth. |
integer(int64) |
branches |
The branches. |
string |
business_category |
The business category. |
string |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
cellular_telephone1 |
The cellular telephone number 1. |
string |
cellular_telephone2 |
The cellular telephone number 2. |
string |
city_business |
The city of the business address. |
string |
city_home |
The city of the home address. |
string |
city_other |
The city of another address. |
string |
color_label |
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. |
integer |
commercial_register |
The commercial register. |
string |
company |
The company name. |
string |
country_business |
The country of the business address. |
string |
country_home |
The country of the home address. |
string |
country_other |
The country of another address. |
string |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
default_address |
The default address. |
integer |
department |
The department. |
string |
display_name |
The display name. |
string |
distribution_list |
If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list. |
< DistributionListMember > array |
email1 |
The email address 1. |
string |
email2 |
The email address 2. |
string |
email3 |
The email address 3. |
string |
employee_type |
The type of the employee. |
string |
fax_business |
The business fax number. |
string |
fax_home |
The home fax number. |
string |
fax_other |
The other fax number. |
string |
file_as |
The file name. |
string |
first_name |
The given name. |
string |
folder_id |
Object ID of the parent folder. |
string |
id |
Object ID. |
string |
image1 |
string |
|
image1_content_type |
The content type of the image (like "image/png"). |
string |
image1_url |
The url to the image. |
string |
image_last_modified |
The last modification of the image. |
integer(int64) |
info |
An information. |
string |
instant_messenger1 |
The instant messenger address 1. |
string |
instant_messenger2 |
The instant messenger address 2. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
last_name |
The sur name. |
string |
manager_name |
The manager’s name. |
string |
marital_status |
The marital status. |
string |
mark_as_distributionlist |
boolean |
|
modified_by |
User ID of the user who last modified this object. |
string |
nickname |
The nickname. |
string |
note |
A note. |
string |
number_of_attachments |
Number of attachments. |
integer |
number_of_children |
The number of children. |
string |
number_of_distribution_list |
The number of objects in the distribution list. |
integer |
number_of_employees |
The number of employees. |
string |
number_of_images |
The number of images. |
integer |
position |
The position. |
string |
postal_code_business |
The postal code of the business address. |
string |
postal_code_home |
The postal code of the home address. |
string |
postal_code_other |
The postal code of another address. |
string |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
profession |
The profession. |
string |
room_number |
The room number. |
string |
sales_volume |
The sales volume. |
string |
second_name |
The middle name. |
string |
spouse_name |
The name of the spouse. |
string |
state_business |
The state of the business address. |
string |
state_home |
The state of the home address. |
string |
state_other |
The state of another address. |
string |
street_business |
The street of the business address. |
string |
street_home |
The street of the home address. |
string |
street_other |
The street of another address. |
string |
suffix |
The suffix. |
string |
tax_id |
The tax id. |
string |
telephone_assistant |
The assistant telephone number. |
string |
telephone_business1 |
The business telephone number 1. |
string |
telephone_business2 |
The business telephone number 2. |
string |
telephone_callback |
The callback telephone number. |
string |
telephone_car |
The car telephone number. |
string |
telephone_company |
The company telephone number. |
string |
telephone_home1 |
The home telephone number 1. |
string |
telephone_home2 |
The home telephone number 2. |
string |
telephone_ip |
The IP telephone number. |
string |
telephone_isdn |
The ISDN telephone number. |
string |
telephone_other |
The other telephone number. |
string |
telephone_pager |
The pager telephone number. |
string |
telephone_primary |
The primary telephone number. |
string |
telephone_radio |
The radio telephone number. |
string |
telephone_telex |
The telex telephone number. |
string |
telephone_ttytdd |
The TTY/TDD telephone number. |
string |
title |
The title. |
string |
uid |
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. |
string |
url |
The url address or homepage. |
string |
useCount |
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. |
integer |
user_id |
The internal user id. |
integer |
userfield01 |
Dynamic Field 1. |
string |
userfield02 |
Dynamic Field 2. |
string |
userfield03 |
Dynamic Field 3. |
string |
userfield04 |
Dynamic Field 4. |
string |
userfield05 |
Dynamic Field 5. |
string |
userfield06 |
Dynamic Field 6. |
string |
userfield07 |
Dynamic Field 7. |
string |
userfield08 |
Dynamic Field 8. |
string |
userfield09 |
Dynamic Field 9. |
string |
userfield10 |
Dynamic Field 10. |
string |
userfield11 |
Dynamic Field 11. |
string |
userfield12 |
Dynamic Field 12. |
string |
userfield13 |
Dynamic Field 13. |
string |
userfield14 |
Dynamic Field 14. |
string |
userfield15 |
Dynamic Field 15. |
string |
userfield16 |
Dynamic Field 16. |
string |
userfield17 |
Dynamic Field 17. |
string |
userfield18 |
Dynamic Field 18. |
string |
userfield19 |
Dynamic Field 19. |
string |
userfield20 |
Dynamic Field 20. |
string |
yomiCompany |
Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
yomiFirstName |
Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
yomiLastName |
Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
ContactDeletionsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
object |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ContactListElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder. |
string |
id |
The object ID of the contact. |
string |
ContactResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ContactSearchBody
| Name | Description | Schema |
|---|---|---|
categories |
Searches contacts where the categories match with the given search pattern. |
string |
company |
Searches contacts where the company match with the given search pattern. (requires version >= 6.12) |
string |
display_name |
Searches contacts where the display name match with the given display name. |
string |
email1 |
Searches contacts where the email1 address match with the given search pattern. (requires version >= 6.12) |
string |
email2 |
Searches contacts where the email2 address match with the given search pattern. (requires version >= 6.12) |
string |
email3 |
Searches contacts where the email3 address match with the given search pattern. (requires version >= 6.12) |
string |
emailAutoComplete |
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. |
boolean |
exactMatch |
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. (requires version > 6.22.1) |
boolean |
first_name |
Searches contacts where the first name match with the given first name. |
string |
folder |
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. The possibility to provide here an array of folder identifier has been added with 6.10. |
< integer > array |
last_name |
Searches contacts where the last name match with the given last name. |
string |
orSearch |
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. |
boolean |
pattern |
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. |
string |
startletter |
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. |
boolean |
ContactUpdateData
| Name | Description | Schema |
|---|---|---|
id |
ID of a newly created contact. |
string |
ContactUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ContactUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of contacts. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ContactsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of contacts. Each contact is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ConversionBody
| Name | Description | Schema |
|---|---|---|
datahandler |
||
datasource |
ConversionDataHandler
| Name | Description | Schema |
|---|---|---|
args |
A JSON array of optional JSON objects containing the name-value-pairs. |
< ConversionDataHandlerPair > array |
identifier |
The identifier of the data handler. |
string |
ConversionDataHandlerPair
| Name | Description | Schema |
|---|---|---|
com.openexchange.groupware.calendar.confirmmessage |
The message. |
string |
com.openexchange.groupware.calendar.confirmstatus |
The status. |
string |
com.openexchange.groupware.calendar.folder |
The calendar folder ID. |
string |
com.openexchange.groupware.calendar.searchobject |
Can be |
string |
com.openexchange.groupware.calendar.timezone |
The timezone ID. |
string |
com.openexchange.groupware.contact.folder |
The contact folder ID. |
string |
com.openexchange.groupware.task.folder |
The task folder ID. |
string |
com.openexchange.grouware.calendar.recurrencePosition |
The recurrence position. |
string |
ConversionDataSource
| Name | Description | Schema |
|---|---|---|
args |
A JSON array of optional JSON objects containing the name-value-pairs. |
< ConversionDataSourcePair > array |
identifier |
The identifier of the data source. |
string |
ConversionDataSourcePair
A name-value-pair where only one name with a value must be filled out except the case when VCard data from speicified contact object(s) is obtained then the folder and id must be specified.
| Name | Description | Schema |
|---|---|---|
com.openexchange.mail.conversion.fullname |
The folder’s full name. |
string |
com.openexchange.mail.conversion.mailid |
The object ID of the mail. |
string |
com.openexchange.mail.conversion.sequenceid |
The attachment sequence ID. |
string |
folder |
A folder ID. |
string |
id |
The ID. |
string |
ConversionResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
object |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
CurrentUserData
| Name | Description | Schema |
|---|---|---|
context_admin |
The ID of the context’s administrator user. |
integer |
context_id |
The unique identifier of the user’s context. |
integer |
display_name |
The display name of the user. |
string |
login_name |
The login name of the user. |
string |
user_id |
The unique identifier of the user himself. |
integer |
CurrentUserResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
DistributionListMember
| Name | Description | Schema |
|---|---|---|
display_name |
The display name. |
string |
folder_id |
Parent folder ID of the member’s contact if the member is an existing contact (preliminary, from 6.22 on). |
string |
id |
Object ID of the member’s contact if the member is an existing contact. |
string |
mail |
The email address (mandatory before 6.22, afterwards optional if you are referring to an internal contact). |
string |
mail_field |
Which email field of an existing contact (if any) is used for the mail field: 0 (independent contact), 1 (default email field, email1), 2 (second email field, email2), 3 (third email field, email3). |
number |
FileAccountCreationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The ID of the newly created account. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FileAccountData
| Name | Description | Schema |
|---|---|---|
capabilities |
An array of capability names. Possible values are: FILE_VERSIONS, EXTENDED_METADATA, RANDOM_FILE_ACCESS, and LOCKS. |
< string > array |
configuration |
The configuration data according to the form description of the relevant file storage service. |
object |
displayName |
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. |
string |
filestorageService |
The identifier of the file storage service this account belongs to. |
string |
id |
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. |
string |
isDefaultAccount |
Indicates whether this account is the user’s default account. Exactly one account will have this flag set to |
boolean |
qualifiedId |
A global identifier of the file storage account across all file storage services. This is not writeable and is generated by the server. |
string |
rootFolder |
The ID of the account’s root folder within the folder tree. This is not writeable and is generated by the server. |
string |
FileAccountResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FileAccountUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Returns 1 on success. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FileAccountsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of JSON objects each describing one file storage account. |
< FileAccountData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FileServiceConfiguration
| Name | Description | Schema |
|---|---|---|
defaultValue |
Can contain a default value. |
object |
displayName |
The display name of the field. |
string |
mandatory |
Indicates whether the field is mandatory. |
boolean |
name |
The name of the field. |
string |
options |
A list of available options in the field. |
< object > array |
widget |
The name of the widget. |
string |
FileServiceData
| Name | Description | Schema |
|---|---|---|
configuration |
An array of dynamic form fields. Same as in PubSub. |
< FileServiceConfiguration > array |
displayName |
A human-readable display name of the service, e.g. "Box File Storage Service" |
string |
id |
The identifier of the file storage service, e.g. "boxcom". |
string |
FileServiceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FileServicesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of JSON objects each describing one service. |
< FileServiceData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FindActiveFacet
| Name | Description | Schema |
|---|---|---|
filter |
||
id |
The ID of the according facet. |
string |
value |
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). |
string |
FindActiveFacetFilter
The filter object, copied from the value or option.
| Name | Description | Schema |
|---|---|---|
fields |
An array of fields to search for. |
< string > array |
queries |
An array of corresponding search values. |
< string > array |
FindAutoCompleteBody
| Name | Description | Schema |
|---|---|---|
facets |
An array of already selected facets, meaning categories the user has filtered by before. |
< FindFacetData > array |
options |
||
prefix |
The user’s search input. |
string |
FindAutoCompleteData
| Name | Description | Schema |
|---|---|---|
facets |
An array of facets each describing a possible search category or an already applied category. |
< FindFacetData > array |
FindAutoCompleteResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FindFacetData
| Name | Description | Schema |
|---|---|---|
filter |
||
flags |
An array of flags. Available flags: conflicts (specified as "conflicts:<other-id>", facets carrying this flag must not be combined with a facet of type <other-id>). (for simple, default, and exclusive) |
< string > array |
id |
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) |
string |
item |
||
name |
A displayable (and localized) name for this facet. If absent, an |
string |
options |
An array of facet values. (for exclusive) |
< FindFacetValue > array |
style |
The facet style, which can be one of: simple, default, or exclusive. Dependent on the style some fields are present and others are not. |
string |
values |
An array of facet values. (for default) |
< FindFacetValue > array |
FindFacetFilter
The filter to refine the search. (for simple)
| Name | Description | Schema |
|---|---|---|
fields |
An array of fields to search for. |
< string > array |
queries |
An array of corresponding search values. |
< string > array |
FindFacetItem
A more complex object to display this facet. Attributes are name, detail (optional), and image_url (optional). (for simple, default, and exclusive)
| Name | Description | Schema |
|---|---|---|
detail |
A displayable (and localized) detail name, like "in mail text". |
string |
image_url |
An URL to a displayable image. |
string |
name |
A displayable (and localized) name for the facet. |
string |
FindFacetValue
| Name | Description | Schema |
|---|---|---|
filter |
||
id |
The ID of the value. Must be unique within one facet. |
string |
item |
||
name |
A displayable (and localized) name for this facet. If absent, an |
string |
options |
An array of options to refine the search. |
< FindFacetValueOption > array |
FindFacetValueFilter
The filter to refine the search.
| Name | Description | Schema |
|---|---|---|
fields |
An array of fields to search for. |
< string > array |
queries |
An array of corresponding search values. |
< string > array |
FindFacetValueItem
A more complex object to display this facet. Attributes are name, detail (optional), and image_url (optional).
| Name | Description | Schema |
|---|---|---|
detail |
A displayable (and localized) detail name, like "in mail text". |
string |
image_url |
An URL to a displayable image. |
string |
name |
A displayable (and localized) name for the facet. |
string |
FindFacetValueOption
| Name | Description | Schema |
|---|---|---|
filter |
||
id |
The ID of the option. Must be unique within a set of options. |
string |
name |
The displayable (and localized) name for this option. |
string |
FindOptionsData
| Name | Description | Schema |
|---|---|---|
admin |
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), |
boolean |
timezone |
The timezone to use if any dates are returned. |
string |
FindQueryBody
| Name | Description | Schema |
|---|---|---|
facets |
An array of selected facets that shall be applied for search. |
< FindActiveFacet > array |
options |
||
size |
The page size of a pagination, if desired. |
integer |
start |
The start of a pagination, if desired. |
integer |
FindQueryResponse
| Name | Description | Schema |
|---|---|---|
num_found |
The number of found items. |
integer |
results |
An array of search results. Each result is described by a JSON object containing the fields specified in the |
< object > array |
size |
The page size. |
integer |
start |
The start of the pagination. |
integer |
FolderBody
| Name | Description | Schema |
|---|---|---|
folder |
||
notification |
FolderBodyNotification
| Name | Description | Schema |
|---|---|---|
message |
string |
|
transport |
E.g. "mail". |
string |
FolderData
| Name | Description | Schema |
|---|---|---|
account_id |
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. Since 7.8.0. |
string |
capabilities |
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). |
integer |
com.openexchange.folderstorage.displayName |
Provides the display of the folder’s owner. Read Only, Since 6.20. |
string |
com.openexchange.publish.publicationFlag |
Indicates whether this folder is published. Read Only, provided by the com.openexchange.publish plugin, since 6.14. |
boolean |
com.openexchange.share.extendedPermissions |
< FolderExtendedPermission > array |
|
com.openexchange.subscribe.subscriptionFlag |
Indicates whether this folder has subscriptions storing their content in this folder. Read Only, provided by the com.openexchange.subscribe plugin, since 6.14. |
boolean |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
deleted |
The number of deleted objects in this Folder. |
integer |
folder_id |
Object ID of the parent folder. |
string |
id |
Object ID |
string |
last_modified |
Date and time of the last modification. |
integer(int64) |
last_modified_utc |
Timestamp of the last modification. Note that the type is Timestamp, not Time (added 2008-10-17, with SP5, temporary workaround). |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
module |
Name of the module which implements this folder; e.g. "tasks", "calendar", "contacts", "infostore", or "mail" |
string |
new |
The number of new objects in this Folder. |
integer |
own_rights |
Permissions which apply to the current user, as described either in Permission flags or in http://tools.ietf.org/html/rfc2086. |
integer |
permissions |
< FolderPermission > array |
|
standard_folder |
Indicates whether or not folder is marked as a default folder (only OX folder). |
boolean |
standard_folder_type |
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). |
integer |
subfolders |
true if this folder has subfolders. |
boolean |
subscr_subflds |
Indicates whether subfolders should appear in folder tree or not. |
boolean |
subscribed |
Indicates whether this folder should appear in folder tree or not. Standard folders cannot be unsubscribed. |
boolean |
summary |
Information about contained objects. |
string |
supported_capabilities |
Can contain "permissions", "publication", "quota", "sort", "subscription". |
< string > array |
title |
Name of this folder. |
string |
total |
The number of objects in this Folder. |
integer |
type |
Type of folder. |
integer |
unread |
The number of unread objects in this Folder. |
integer |
FolderExtendedPermission
| Name | Description | Schema |
|---|---|---|
bits |
A number as described in Permission flags. |
integer |
contact |
A (reduced) set of Detailed contact data for "user" and "guest" entities. |
object |
display_name |
A display name for the permission entity. |
string |
entity |
Identifier of the permission entity (i.e. user-, group- or guest-ID). |
integer |
expiry_date |
The optionally set expiry date for "anonymous" entities. |
integer(int64) |
password |
The optionally set password for "anonymous" entities. |
string |
share_url |
The share link for "anonymous" entities. |
string |
type |
Set "user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
string |
FolderPermission
| Name | Description | Schema |
|---|---|---|
bits |
For non-mail folders, a number as described in Permission flags. |
integer |
contact_folder |
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). |
string |
contact_id |
The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
string |
display_name |
The display name of the recipient (for type "guest", optional). |
string |
email_address |
The e-mail address of the recipient (for type "guest"). |
string |
entity |
User ID of the user or group to which this permission applies (ignored for type "anonymous" or "guest"). |
integer |
expiry_date |
The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
integer(int64) |
group |
true if entity refers to a group, false if it refers to a user (ignored for type "anonymous" or "guest"). |
boolean |
password |
An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional). |
string |
rights |
For mail folders, the rights string as defined in http://tools.ietf.org/html/rfc2086. |
string |
type |
The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
string |
FolderResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FolderSharingNotificationBody
| Name | Description | Schema |
|---|---|---|
entities |
Array containing the entity ID(s) of the users or groups that shall be notified. |
< string > array |
notification |
FolderSharingNotificationData
| Name | Description | Schema |
|---|---|---|
warnings |
Can contain transport warnings that occured during sending the notifications. |
< object > array |
FolderSharingNotificationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FolderUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The object id of the folder. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FolderUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of folders. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FoldersCleanUpResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with object IDs of folders that could not be processed because of a concurrent modification or something else. |
< string > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FoldersResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of folders. Each folder is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FoldersVisibilityData
| Name | Description | Schema |
|---|---|---|
private |
Array of private folders. Each folder is described as an array itself. |
< < object > array > array |
public |
Array of public folders. Each folder is described as an array itself. |
< < object > array > array |
shared |
Array of shared folders. Each folder is described as an array itself. |
< < object > array > array |
FoldersVisibilityResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FreeBusyData
| Name | Description | Schema |
|---|---|---|
end_date |
The end time of the interval. |
integer(int64) |
folder_id |
The folder ID of the corresponding appointment if available. |
string |
full_time |
Indicates whether the corresponding appointment is a whole day appointment, not present otherwise. |
boolean |
id |
The object ID of the corresponding appointment if available. |
string |
location |
The location of the corresponding appointment if available. |
string |
shown_as |
The busy status of this interval, one of: 0 (unknown), 1 (reserved), 2 (temporary), 3 (absent), 4 (free). |
integer |
start_date |
The start time of the interval. |
integer(int64) |
title |
The title of the corresponding appointment if available. |
string |
FreeBusyResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of free/busy intervals. |
< FreeBusyData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
FreeBusysResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The free/busy data for all requested participants inside a JSON object with the participant IDs as keys,
like |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
GroupData
| Name | Description | Schema |
|---|---|---|
display_name |
Display name of the group. |
string |
id |
The group ID. |
integer |
last_modified_utc |
Timestamp of the last modification. |
integer(int64) |
members |
The array contains identifiers of users that are member of the group. |
< integer > array |
name |
Internal name with character restrictions. |
string |
GroupListElement
| Name | Description | Schema |
|---|---|---|
id |
ID of a group. |
integer |
GroupResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
GroupSearchBody
| Name | Description | Schema |
|---|---|---|
pattern |
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. |
string |
GroupUpdateData
| Name | Description | Schema |
|---|---|---|
id |
The ID of a newly created group. |
integer |
GroupUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
GroupUpdatesData
| Name | Description | Schema |
|---|---|---|
deleted |
Array of deleted group objects. |
< GroupData > array |
modified |
Array of modified group objects. |
< GroupData > array |
new |
Array of new group objects. |
< GroupData > array |
GroupUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
GroupsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of group objects. |
< GroupData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
HaloInvestigationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of halo data objects. Each object is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
HaloServicesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with available halo providers. |
< string > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemBody
| Name | Description | Schema |
|---|---|---|
file |
||
notification |
InfoItemBodyNotification
Responsible for sending out notifications for changed object permissions of an infoitem.
| Name | Description | Schema |
|---|---|---|
message |
string |
|
transport |
E.g. "mail". |
string |
InfoItemData
| Name | Description | Schema |
|---|---|---|
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
color_label |
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. |
integer |
com.openexchange.file.storage.mail.mailMetadata |
Contains additional metadata for items in the "maildrive" file storage (read-only). (available since 7.8.2) |
object |
com.openexchange.realtime.resourceID |
The resource identifier for the infoitem for usage within the realtime component (read-only). (available since 7.8.0) |
string |
com.openexchange.share.extendedObjectPermissions |
An array of extended object permissions (read-only). (available since 7.8.0) |
< InfoItemExtendedPermission > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
current_version |
"true" if this version is the current version, "false" otherwise. Note: This is not writeable. |
boolean |
description |
A description if the item. |
string |
file_md5sum |
MD5Sum of the document. |
string |
file_mimetype |
MIME type of the document. The client converts known types to more readable names before displaying them. |
string |
file_size |
The size of the document in bytes. |
integer(int64) |
filename |
Displayed filename of the document. |
string |
folder_id |
Object ID of the parent folder. |
string |
id |
Object ID. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
locked_until |
The time until which this item will presumably be locked. Only set if the docment is currently locked, 0 otherwise. |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
number_of_attachments |
Number of attachments. |
integer |
number_of_versions |
The number of all versions of the item. Note: This is not writeable. |
integer |
object_permissions |
An array of object permissions (preliminary, available since v7.8.0). |
< InfoItemPermission > array |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
shareable |
(read-only) Indicates if the item can be shared (preliminary, available since v7.8.0). |
boolean |
title |
The title. |
string |
url |
Link/URL to item. |
string |
version |
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. |
string |
version_comment |
A version comment is used to file a changelog for the file. |
string |
InfoItemDetachResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
< integer > array |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemExtendedPermission
| Name | Description | Schema |
|---|---|---|
bits |
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)). |
integer |
contact |
||
display_name |
A display name for the permission entity. |
string |
entity |
Identifier of the permission entity (i.e. user-, group- or guest-ID). |
integer |
expiry_date |
The optionally set expiry date for "anonymous" entities. |
integer(int64) |
password |
The optionally set password for "anonymous" entities. |
string |
share_url |
The share link for "anonymous" entities. |
string |
type |
"user" for an internal user, "group" for a group, "guest" for a guest, or "anonymous" for an anonymous permission entity. |
string |
InfoItemListElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder (e.g. "31841"). |
string |
id |
The object ID of the infoitem (e.g. "31841/36639"). |
string |
InfoItemPermission
| Name | Description | Schema |
|---|---|---|
bits |
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)). |
integer |
contact_folder |
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). |
string |
contact_id |
The object identifier of the corresponding contact entry if the recipient was chosen from the address book (for type "guest", optional). |
string |
display_name |
The display name of the recipient (for type "guest", optional). |
string |
email_address |
The e-mail address of the recipient (for type "guest"). |
string |
entity |
User ID of the user or group to which this permission applies. |
integer |
expiry_date |
The end date / expiration time after which the share link is no longer accessible (for type "anonymous", optional). |
integer(int64) |
group |
Is true if entity refers to a group, false if it refers to a user. |
boolean |
password |
An additional secret / pin number an anonymous user needs to enter when accessing the share (for type "anonymous", optional). |
string |
type |
The recipient type, i.e. one of "user", "group", "guest", "anonymous" (required if no internal "entity" defined). |
string |
InfoItemResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemSearchBody
| Name | Description | Schema |
|---|---|---|
pattern |
The search pattern, where "*" matches any sequence of characters. |
string |
InfoItemSharingNotificationBody
| Name | Description | Schema |
|---|---|---|
entities |
Array containing the entity ID(s) of the users or groups that shall be notified. |
< string > array |
notification |
InfoItemSharingNotificationData
| Name | Description | Schema |
|---|---|---|
warnings |
Can contain transport warnings that occured during sending the notifications. |
< object > array |
InfoItemSharingNotificationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The object ID of the updated infoitem. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of infoitems. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemZipElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder (e.g. "31841"). |
string |
id |
The object ID of the infoitem (e.g. "31841/36639"). |
string |
version |
The version of the infoitem. |
string |
InfoItemsMovedResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of infoitem identifiers that could not be moved (due to a conflict). |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
InfoItemsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of infoitems. Each infoitem is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
JSlobData
| Name | Description | Schema |
|---|---|---|
id |
The identifier of the JSlob. |
string |
meta |
A JSON object containing meta data. |
object |
tree |
The JSON object that is stored in the JSlob. |
object |
JSlobsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array containing JSON configurations. |
< JSlobData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
JumpResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
JumpTokenData
| Name | Description | Schema |
|---|---|---|
token |
The identifier of the token. |
string |
LoginResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
context_id |
The context ID. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
locale |
The users locale (e.g. "en_US"). |
string |
session |
The session ID. |
string |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
user |
The username. |
string |
user_id |
The user ID. |
integer |
MailAccountData
| Name | Description | Schema |
|---|---|---|
addresses |
The comma-separated list of available email addresses including aliases (only available for primary mail account). |
string |
archive |
The name of the archive folder. Currently not functional! |
string |
archive_fullname |
The full name of the archive folder. Currently not functional! |
string |
confirmed_ham |
The name of the default confirmed-ham folder. |
string |
confirmed_ham_fullname |
Path to default confirmed-ham folder. Preferred over |
string |
confirmed_spam |
The name of the default confirmed-spam folder. |
string |
confirmed_span_fullname |
Path to default confirmed-spam folder. Preferred over |
string |
drafts |
The name of the default drafts folder. |
string |
drafts_fullname |
Path to default drafts folder. Preferred over |
string |
id |
The account identifier. |
integer |
login |
The login name. |
string |
mail_port |
The mail server’s port. |
integer |
mail_protocol |
The mail server’s protocol. Always use basic protocol name. E.g. use "imap" instead of "imaps". |
string |
mail_secure |
Whether to establish a secure connection to mail server (SSL, TLS). |
boolean |
mail_server |
The mail server’s hostname or IP address. |
string |
mail_starttls |
Whether to establish a secure connection to mail server via STARTTLS (available since v7.8.2). |
boolean |
mail_url |
The mail server URL, e.g. "imap://imap.somewhere.com:143". URL is preferred over single fields (like |
string |
meta |
Stores arbitrary JSON data as specified by client associated with the mail account. |
string |
name |
The account’s display name. |
string |
password |
The (optional) password. |
string |
personal |
The customizable personal part of the email address. |
string |
pop3_delete_write_through |
If option |
boolean |
pop3_expunge_on_quit |
Whether POP3 messages shall be deleted on actual POP3 account after retrieval or not. |
boolean |
pop3_path |
Path to POP3’s virtual root folder in storage, default name of the POP3 account beside default folders. |
string |
pop3_refresh_rate |
The interval in minutes the POP3 account is refreshed. |
integer |
pop3_storage |
The name of POP3 storage provider, default is "mailaccount". |
string |
primary_address |
The user’s primary address in account, e.g. "someone@somewhere.com". |
string |
reply_to |
The customizable reply-to email address. |
string |
sent |
The name of the default sent folder. |
string |
sent_fullname |
Path to default sent folder. Preferred over |
string |
spam |
The name of the default spam folder. |
string |
spam_fullname |
Path to default spam folder. Preferred over |
string |
spam_handler |
The name of the spam handler used by account. |
string |
transport_auth |
Specifies the source for mail transport (SMTP) credentials. Possible values: mail (signals to use the same credentials as given in associated mail store, e.g. IMAP or POP3), custom (signals that individual credentials are supposed to be used (fields |
string |
transport_login |
The transport login. Please see |
string |
transport_password |
The transport password. Please see |
string |
transport_port |
The transport server’s port. |
integer |
transport_protocol |
The transport server’s protocol. Always use basic protocol name. E.g. use "smtp" instead of "smtps". |
string |
transport_secure |
Whether to establish a secure connection to transport server (SSL, TLS). |
boolean |
transport_server |
The transport server’s hostname or IP address. |
string |
transport_starttls |
Whether to establish a secure connection to transport server via STARTTLS (available since v7.8.2). |
boolean |
transport_url |
The transport server URL, e.g. "smtp://smtp.somewhere.com:25". URL is preferred over single fields (like |
string |
trash |
The name of the default trash folder. |
string |
trash_fullname |
Path to default trash folder. Preferred over |
string |
unified_inbox_enabled |
Whether Unified INBOX is enabled. |
boolean |
MailAccountDeletionResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array containing the identifiers of the mail accounts that were deleted. |
< integer > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailAccountResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailAccountUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
warnings |
An array of error objects that occurred during the creation of the account. |
< CommonResponse > array |
MailAccountValidationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
A boolean if parameter |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
warnings |
MailAccountsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of mail accounts. Each account is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailAckBody
| Name | Description | Schema |
|---|---|---|
folder |
The ID of the folder where the mail is placed. |
string |
from |
The from email address. |
string |
id |
The ID of the mail. |
string |
MailAckResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
object |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailAttachment
| Name | Description | Schema |
|---|---|---|
content |
Content as text. Present only if easily convertible to text. |
string |
content_type |
MIME type. |
string |
disp |
Attachment’s disposition: null, inline, attachment or alternative. |
string |
filename |
Displayed filename (mutually exclusive with content). |
string |
id |
Object ID (unique only inside the same message). |
string |
size |
Size of the attachment in bytes. |
integer(int64) |
MailConversationData
| Name | Description | Schema |
|---|---|---|
account_id |
Message’s account identifier. Since v6.20.2. |
integer |
account_name |
Message’s account name. |
string |
attachment |
Indicates whether this mail has attachments. |
boolean |
attachments |
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. |
< MailAttachment > array |
bcc |
Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
< < string > array > array |
cc |
Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
< < string > array > array |
cid |
The value of the "Content-ID" header, if the header is present. |
string |
color_label |
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). |
integer |
content_type |
The MIME type of the mail. |
string |
disp_notification_to |
Content of message’s header "Disposition-Notification-To". |
string |
flag_seen |
Special field to sort mails by seen status. |
string |
flags |
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). |
integer |
folder_id |
Object ID of the parent folder. |
string |
from |
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. |
< < string > array > array |
headers |
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. |
object |
id |
Object ID of the mail. |
string |
level |
Zero-based nesting level in a thread. |
integer |
msg_ref |
Message reference on reply/forward. |
string |
original_folder_id |
The original folder identifier (e.g. if fetched from "virtual/all" folder). |
string |
original_id |
The original mail identifier (e.g. if fetched from "virtual/all" folder). |
string |
priority |
Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high). |
integer |
received_date |
Date and time as measured by the receiving server. |
integer(int64) |
sent_date |
Date and time as specified in the mail by the sending client. |
integer(int64) |
size |
The size if the mail in bytes. |
integer(int64) |
source |
RFC822 source of the mail. Only present for "?action=get&attach_src=true". |
string |
subject |
The mail’s subject. |
string |
thread |
JSON array consisting of JSON objects, each representing a message in the conversation. |
< MailData > array |
to |
Each element is a two-element array (see the from field) specifying one receiver. |
< < string > array > array |
truncated |
true/false if the mail content was trimmed. Since v7.6.1 |
boolean |
unreadCount |
integer |
|
user |
An array with user-defined flags as strings. |
< string > array |
MailConversationsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of JSON objects each representing a conversation’s root message. |
< MailConversationData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailCountResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The folder’s mail count. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailData
| Name | Description | Schema |
|---|---|---|
account_id |
Message’s account identifier. Since v6.20.2. |
integer |
account_name |
Message’s account name. |
string |
attachment |
Indicates whether this mail has attachments. |
boolean |
attachments |
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. |
< MailAttachment > array |
bcc |
Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
< < string > array > array |
cc |
Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
< < string > array > array |
cid |
The value of the "Content-ID" header, if the header is present. |
string |
color_label |
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). |
integer |
content_type |
The MIME type of the mail. |
string |
disp_notification_to |
Content of message’s header "Disposition-Notification-To". |
string |
flag_seen |
Special field to sort mails by seen status. |
string |
flags |
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). |
integer |
folder_id |
Object ID of the parent folder. |
string |
from |
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. |
< < string > array > array |
headers |
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. |
object |
id |
Object ID of the mail. |
string |
level |
Zero-based nesting level in a thread. |
integer |
msg_ref |
Message reference on reply/forward. |
string |
original_folder_id |
The original folder identifier (e.g. if fetched from "virtual/all" folder). |
string |
original_id |
The original mail identifier (e.g. if fetched from "virtual/all" folder). |
string |
priority |
Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high). |
integer |
received_date |
Date and time as measured by the receiving server. |
integer(int64) |
sent_date |
Date and time as specified in the mail by the sending client. |
integer(int64) |
size |
The size if the mail in bytes. |
integer(int64) |
source |
RFC822 source of the mail. Only present for "?action=get&attach_src=true". |
string |
subject |
The mail’s subject. |
string |
to |
Each element is a two-element array (see the from field) specifying one receiver. |
< < string > array > array |
truncated |
true/false if the mail content was trimmed. Since v7.6.1 |
boolean |
user |
An array with user-defined flags as strings. |
< string > array |
MailDestinationBody
| Name | Description | Schema |
|---|---|---|
folder_id |
The object ID of the destination folder. |
string |
MailDestinationData
| Name | Description | Schema |
|---|---|---|
folder_id |
Object ID of the destination folder. |
string |
id |
Object ID of the "new" mail. |
string |
MailDestinationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailFilterAction
| Name | Description | Schema |
|---|---|---|
addresses |
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. |
< string > array |
days |
The days for which a vacation text is returned (for vacation-command). |
string |
flags |
An array containing the flags which should be added to the 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 |
< string > array |
from |
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. (for vacation-command) |
object |
id |
A string defining the object itself (e.g. "keep" or "discard"). |
string |
into |
This string takes the object id of the destination mail folder (for move-command). |
string |
keys |
The public keys which should be used for encryption (for pgp-command). |
< string > array |
message |
The content of the notification message (for notify-command). |
string |
method |
The method of the notification message, eg. |
string |
subject |
The new subject for the returned message (can be left empty, when only adding RE:) (for vacation-command). |
string |
text |
A string containing the reason why the mail is rejected (for reject-command) or a string containing the vacation text itself (for vacation-command). |
string |
to |
A string containing where the mail should be redirected to (for redirect-command). |
string |
MailFilterConfigData
| Name | Description | Schema |
|---|---|---|
actioncommands |
Array of available action commands. |
< string > array |
tests |
Array of available test-objects. |
< MailFilterConfigTest > array |
MailFilterConfigResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailFilterConfigTest
| Name | Description | Schema |
|---|---|---|
comparison |
An array of the valid comparison types for this test, see Possible comparisons. |
< string > array |
test |
The name of the test, see Possible tests. |
string |
MailFilterCreationResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The id of the newly created rule. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailFilterDeletionBody
| Name | Description | Schema |
|---|---|---|
id |
The ID of the rule that shall be deleted. |
integer |
MailFilterNotTest
A test object which result will be negated.
| Name | Description | Schema |
|---|---|---|
comparison |
The comparison type, see Possible comparisons. |
string |
datepart |
Type of the comparison, which can be "date", "weekday" or "time" (available since v7.6.1) (for currentdate-test). |
string |
datevalue |
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). |
< integer(int64) > array |
extensionskey |
The extension key (for body-test). |
string |
extensionsvalue |
A value for the given key. If the key has no value the value given here is ignored (for body-test). |
string |
headers |
An array containing the header fields (for address-, envelope- and header-test). |
< string > array |
id |
The name of the test command, see Possible tests. |
string |
size |
The size in bytes (for size-test). |
integer(int64) |
values |
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). |
< string > array |
MailFilterRule
| Name | Description | Schema |
|---|---|---|
actioncmds |
An array of action commands. |
< MailFilterAction > array |
active |
If this rule is active or not. |
boolean |
errormsg |
If this rule cannot be read in this string is filled containing a message why, or what part of the rule isn’t known. |
string |
flags |
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. |
< string > array |
id |
A unique identifier of the rule (once created must not be changed). |
integer |
position |
The position inside the mail filter list (starts with 0). |
integer |
rulename |
A name describing the rule, can be empty but must not contain a line break. |
string |
test |
||
text |
If this rule cannot be read in this string is filled containing the whole lines of this command. |
string |
MailFilterRulesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
< MailFilterRule > array |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailFilterScriptResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The mail filter script. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailFilterTest
| Name | Description | Schema |
|---|---|---|
comparison |
The comparison type, see Possible comparisons. |
string |
datepart |
Type of the comparison, which can be "date", "weekday" or "time" (available since v7.6.1) (for currentdate-test). |
string |
datevalue |
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). |
< integer(int64) > array |
extensionskey |
The extension key (for body-test). |
string |
extensionsvalue |
A value for the given key. If the key has no value the value given here is ignored (for body-test). |
string |
headers |
An array containing the header fields (for address-, envelope- and header-test). |
< string > array |
id |
The name of the test command, see Possible tests. |
string |
size |
The size in bytes (for size-test). |
integer(int64) |
test |
||
values |
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). |
< string > array |
MailHeadersResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The (formatted) message headers as plain text. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailImportResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of JSON objects each describing the folder ID and object ID of one imported mail. |
< MailDestinationData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailListElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder. |
string |
id |
The object ID of the mail. |
string |
MailReplyData
| Name | Description | Schema |
|---|---|---|
account_id |
Message’s account identifier. Since v6.20.2. |
integer |
account_name |
Message’s account name. |
string |
attachment |
Indicates whether this mail has attachments. |
boolean |
attachments |
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. |
< MailAttachment > array |
bcc |
Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
< < string > array > array |
cc |
Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
< < string > array > array |
cid |
The value of the "Content-ID" header, if the header is present. |
string |
color_label |
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). |
integer |
content_type |
The MIME type of the mail. |
string |
disp_notification_to |
Content of message’s header "Disposition-Notification-To". |
string |
flag_seen |
Special field to sort mails by seen status. |
string |
flags |
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). |
integer |
folder_id |
Object ID of the parent folder. |
string |
from |
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. |
< < string > array > array |
headers |
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. |
object |
id |
Object ID of the mail. |
string |
level |
Zero-based nesting level in a thread. |
integer |
msg_ref |
Message reference on reply/forward. |
string |
msgref |
Indicates the ID of the referenced original mail. |
string |
original_folder_id |
The original folder identifier (e.g. if fetched from "virtual/all" folder). |
string |
original_id |
The original mail identifier (e.g. if fetched from "virtual/all" folder). |
string |
priority |
Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high). |
integer |
received_date |
Date and time as measured by the receiving server. |
integer(int64) |
sent_date |
Date and time as specified in the mail by the sending client. |
integer(int64) |
size |
The size if the mail in bytes. |
integer(int64) |
source |
RFC822 source of the mail. Only present for "?action=get&attach_src=true". |
string |
subject |
The mail’s subject. |
string |
to |
Each element is a two-element array (see the from field) specifying one receiver. |
< < string > array > array |
truncated |
true/false if the mail content was trimmed. Since v7.6.1 |
boolean |
user |
An array with user-defined flags as strings. |
< string > array |
MailReplyResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailSourceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The complete message source as plain text. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailUpdateBody
| Name | Description | Schema |
|---|---|---|
clear_flags |
A set of flags to remove. Note: Flags for "recent" (8) and "user" (64) are ignored (available since SP5 v6.10). |
integer |
color_label |
The color number between 0 and 10. |
integer |
flags |
A set of flags to add or remove. Note: Flags for "recent" (8) and "user" (64) are ignored. |
integer |
folder_id |
The object ID of the destination folder (if the mail shall be moved). |
string |
set_flags |
A set of flags to add. Note: Flags for "recent" (8) and "user" (64) are ignored (available since SP5 v6.10). |
integer(int64) |
value |
Use true to add the flags specified by flags (logical OR) and false to remove them (logical AND with the inverted value). |
boolean |
MailUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
< object > array |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
Mail_CategoriesMoveBody
| Name | Description | Schema |
|---|---|---|
folder_id |
The folder ID of the mail |
string |
id |
The object ID of the mail |
string |
Mail_CategoriesTrainBody
| Name | Description | Schema |
|---|---|---|
from |
An array of email addresses |
< string > array |
Mail_CategoriesUnreadResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
A JSON object with a field for each active category containing the number of unread messages. |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailsAllSeenResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
boolean |
|
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailsCleanUpResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with IDs of objects that could not be processed. |
< string > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MailsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of mails. Each mail is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingAccountData
| Name | Description | Schema |
|---|---|---|
configuration |
The configuration data according to the |
object |
displayName |
User chosen string to identify a given account. Will also be translated into the folder name of the folder representing the accounts content. |
string |
id |
Identifier of the messaging account. |
integer |
messagingService |
The messaging service ID of the messaging service this account belongs to. |
string |
MessagingAccountResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingAccountUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The response value. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingAccountsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array containing JSON objects representing messaging accounts. |
< MessagingAccountData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingFormDescription
| Name | Description | Schema |
|---|---|---|
defaultValue |
Can contain a default value. |
object |
displayName |
The display name of the field. |
string |
mandatory |
Indicates whether the field is mandatory. |
boolean |
name |
The name of the field. |
string |
options |
A list of available options in the field. |
< object > array |
widget |
The name of the widget. |
string |
MessagingMessageData
| Name | Description | Schema |
|---|---|---|
body |
A JSON object representing the content of the message. |
object |
colorLabel |
An arbitrary number marking the message in a certain color. The same as the color label common to all groupware objects. |
integer |
flags |
Bitmask showing the state of this message. The same as in the module "mail". |
integer |
folder |
The folder ID. |
string |
headers |
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. |
object |
id |
The ID of the message. Only unique in the given folder. |
string |
picture |
The URL to a picture for this message. |
string |
receivedDate |
The time this message was received. |
integer(int64) |
sectionId |
The section ID of a certain message part, if the content-type is |
string |
size |
The size of the message in bytes. |
integer(int64) |
threadLevel |
The nesting level of this message according to the conversation it’s belonged to. May not be set. |
integer |
url |
A link to the messages origin currently used in RSS messages. |
string |
user |
An array of strings representing user flags. |
< string > array |
MessagingMessageResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingMessageUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The response value. |
integer |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingMessagesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of messages. Each message is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingServiceData
| Name | Description | Schema |
|---|---|---|
displayName |
Human-readable display name of the service. |
string |
formDescription |
An array of dynamic form fields. Same as in PubSub. |
< MessagingFormDescription > array |
id |
The identifier of the messaging service. This is usually a string in reverse domain name notation, like "com.openexchange.messaging.twitter". |
string |
messagingActions |
An array representing a dynamic set of actions that are possible with messages of this service. |
< string > array |
MessagingServiceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
MessagingServicesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array containing JSON objects representing messaging services. |
< MessagingServiceData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthAccountData
| Name | Description | Schema |
|---|---|---|
displayName |
The account’s display name. |
string |
id |
The numeric identifier of the OAuth account. |
integer |
secret |
The token secret. |
string |
serviceId |
The identifier of the associated service meta data, e.g. "com.openexchange.oauth.twitter". |
string |
token |
The token. |
string |
OAuthAccountDeletionResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Indicates whether the the account was deleted successfully. |
boolean |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthAccountInteraction
| Name | Description | Schema |
|---|---|---|
authUrl |
The numeric identifier of the OAuth account. |
string |
token |
The token. |
string |
type |
The interaction type name, which can be "outOfBand" or "callback". |
string |
uuid |
The UUID for this OAuth interaction. |
string |
OAuthAccountInteractionResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthAccountResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthAccountUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Indicates whether the the account was updated successfully. |
boolean |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthAccountsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of OAuth account objects. |
< OAuthAccountData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthClientData
| Name | Description | Schema |
|---|---|---|
description |
A description of the client. |
string |
icon |
A URL or path to obtain the client’s icon via the image module. |
string |
id |
The client’s ID. |
string |
name |
The client’s/service’s name. |
string |
website |
A URL to the client’s website. |
string |
OAuthGrantData
| Name | Description | Schema |
|---|---|---|
client |
||
date |
The time when the access was granted. |
integer(int64) |
scopes |
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"}). |
object |
OAuthGrantsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array containing one object for every granted access. |
< OAuthGrantData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthServiceMetaData
| Name | Description | Schema |
|---|---|---|
displayName |
The service’s display name. |
string |
id |
The identifier of the service meta data, e.g. "com.openexchange.oauth.twitter". |
string |
OAuthServiceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
OAuthServicesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with OAuth service meta data. |
< OAuthServiceMetaData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
PasswordChangeBody
| Name | Description | Schema |
|---|---|---|
new_password |
The new password the user wants to set or |
string |
old_password |
The user’s current password or |
string |
QuotaData
| Name | Description | Schema |
|---|---|---|
quota |
Represents the maximum storage (-1 represents an unlimited quota). |
integer(int64) |
use |
Represents the used storage. |
integer(int64) |
QuotaResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
QuotasResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
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. |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ReminderData
| Name | Description | Schema |
|---|---|---|
alarm |
The time of the alarm. |
integer(int64) |
folder |
The ID of the folder through that the object can be read. |
integer |
id |
The ID of the reminder. |
integer |
last_modified |
The last modification timestamp of the reminder. |
integer(int64) |
module |
The module of the reminder’s target object: 1 (appointment), 4 (task), 7 (contact), 137 (infostore). |
integer |
recurrence_position |
The recurrence position for series appointments or 0 if no series. |
integer |
server_time |
The time on the server. |
integer(int64) |
target_id |
The object ID of the target this reminder is attached to. |
integer |
user_id |
The ID of the user. |
integer |
ReminderListElement
| Name | Description | Schema |
|---|---|---|
id |
The ID of the reminder. |
integer |
ReminderResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ReminderUpdateBody
| Name | Description | Schema |
|---|---|---|
alarm |
The new time of the alarm. |
integer(int64) |
RemindersResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ResolveShareReferenceElement
| Name | Description | Schema |
|---|---|---|
reference |
The reference string. |
string |
ResolveShareReferenceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
| Name | Description | Schema |
|---|---|---|
contextId |
The originator’s context identifier. |
integer |
expiration |
The optional expiration date of the share link. |
integer(int64) |
files |
The file meta data. |
< files > array |
password |
The optional password that protects the share link. |
string |
shareToken |
The associated share token. |
string |
userId |
The originator’s user identifier. |
integer |
| Name | Description | Schema |
|---|---|---|
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
color_label |
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. |
integer |
com.openexchange.file.storage.mail.mailMetadata |
Contains additional metadata for items in the "maildrive" file storage (read-only). (available since 7.8.2) |
object |
com.openexchange.realtime.resourceID |
The resource identifier for the infoitem for usage within the realtime component (read-only). (available since 7.8.0) |
string |
com.openexchange.share.extendedObjectPermissions |
An array of extended object permissions (read-only). (available since 7.8.0) |
< InfoItemExtendedPermission > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
current_version |
"true" if this version is the current version, "false" otherwise. Note: This is not writeable. |
boolean |
description |
A description if the item. |
string |
file_md5sum |
MD5Sum of the document. |
string |
file_mimetype |
MIME type of the document. The client converts known types to more readable names before displaying them. |
string |
file_size |
The size of the document in bytes. |
integer(int64) |
filename |
Displayed filename of the document. |
string |
folder_id |
Object ID of the parent folder. |
string |
id |
Object ID. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
locked_until |
The time until which this item will presumably be locked. Only set if the docment is currently locked, 0 otherwise. |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
number_of_attachments |
Number of attachments. |
integer |
number_of_versions |
The number of all versions of the item. Note: This is not writeable. |
integer |
object_permissions |
An array of object permissions (preliminary, available since v7.8.0). |
< InfoItemPermission > array |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
shareable |
(read-only) Indicates if the item can be shared (preliminary, available since v7.8.0). |
boolean |
title |
The title. |
string |
url |
Link/URL to item. |
string |
version |
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. |
string |
version_comment |
A version comment is used to file a changelog for the file. |
string |
ResourceData
| Name | Description | Schema |
|---|---|---|
availability |
Can be false to mark the resource currently unavailable. |
boolean |
description |
The description of the resource. |
string |
display_name |
Display name of the resource. |
string |
id |
The resource ID. |
integer |
last_modified |
Date and time of the last modification. |
string |
last_modified_utc |
Timestamp of the last modification. |
string |
mailaddress |
Email address of the resource. |
string |
name |
Internal name with character restrictions. |
string |
ResourceListElement
| Name | Description | Schema |
|---|---|---|
id |
ID of a resource. |
integer |
ResourceResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ResourceSearchBody
| Name | Description | Schema |
|---|---|---|
pattern |
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. |
string |
ResourceUpdateData
| Name | Description | Schema |
|---|---|---|
id |
The ID of a newly created rsource. |
integer |
ResourceUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ResourceUpdatesData
| Name | Description | Schema |
|---|---|---|
deleted |
Array of deleted resource objects. |
< ResourceData > array |
modified |
Array of modified resource objects. |
< ResourceData > array |
new |
Array of new resource objects. |
< ResourceData > array |
ResourceUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ResourcesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of resource objects. |
< ResourceData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
SendMailData
| Name | Description | Schema |
|---|---|---|
account_id |
Message’s account identifier. Since v6.20.2. |
integer |
account_name |
Message’s account name. |
string |
attachment |
Indicates whether this mail has attachments. |
boolean |
attachments |
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. |
< MailAttachment > array |
bcc |
Each element is a two-element array (see the from field) specifying one blind carbon-copy receiver. |
< < string > array > array |
cc |
Each element is a two-element array (see the from field) specifying one carbon-copy receiver. |
< < string > array > array |
cid |
The value of the "Content-ID" header, if the header is present. |
string |
color_label |
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). |
integer |
content_type |
The MIME type of the mail. |
string |
disp_notification_to |
Content of message’s header "Disposition-Notification-To". |
string |
flag_seen |
Special field to sort mails by seen status. |
string |
flags |
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). |
integer |
folder_id |
Object ID of the parent folder. |
string |
from |
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. |
< < string > array > array |
headers |
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. |
object |
id |
Object ID of the mail. |
string |
infostore_ids |
JSON array of infostore document ID(s) that ought to be appended to the mail as attachments. |
< string > array |
level |
Zero-based nesting level in a thread. |
integer |
msg_ref |
Message reference on reply/forward. |
string |
msgref |
Indicates the ID of the referenced original mail. |
string |
original_folder_id |
The original folder identifier (e.g. if fetched from "virtual/all" folder). |
string |
original_id |
The original mail identifier (e.g. if fetched from "virtual/all" folder). |
string |
priority |
Value of message’s X-Priority header: 0 (no priority), 5 (very low), 4 (low), 3 (normal), 2 (high), 1 (very high). |
integer |
received_date |
Date and time as measured by the receiving server. |
integer(int64) |
sendtype |
Indicates the type of the meessage: 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). |
integer |
sent_date |
Date and time as specified in the mail by the sending client. |
integer(int64) |
size |
The size if the mail in bytes. |
integer(int64) |
source |
RFC822 source of the mail. Only present for "?action=get&attach_src=true". |
string |
subject |
The mail’s subject. |
string |
to |
Each element is a two-element array (see the from field) specifying one receiver. |
< < string > array > array |
truncated |
true/false if the mail content was trimmed. Since v7.6.1 |
boolean |
user |
An array with user-defined flags as strings. |
< string > array |
vcard |
The user’s VCard. |
integer |
ShareLinkData
| Name | Description | Schema |
|---|---|---|
entity |
The identifier of the anonymous user entity for the share (read-only). |
integer |
expiry_date |
The end date / expiration time after which the share link is no longer accessible. |
integer(int64) |
is_new |
Whether the share link is new, i.e. it has been created by the |
boolean |
meta |
Can be used by the client to save arbitrary JSON data along with the share. |
object |
password |
An additional secret / pin number an anonymous user needs to enter when accessing the share. |
string |
url |
The link to share (read-only). |
string |
ShareLinkResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
ShareLinkSendBody
| Name | Description | Schema |
|---|---|---|
folder |
The folder identifier. |
string |
item |
The object identifier, in case the share target is a single item. This must not be present to share a complete folder. |
string |
message |
Can contain an optional custom message. |
string |
module |
The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore". |
string |
recipients |
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. |
< < string > array > array |
ShareLinkSendResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
warnings |
Can contain possible warnings during sending of the notifications. |
< object > array |
ShareLinkUpdateBody
| Name | Description | Schema |
|---|---|---|
entity |
The identifier of the anonymous user entity for the share (read-only). |
integer |
expiry_date |
The end date / expiration time after which the share link is no longer accessible. |
integer(int64) |
folder |
The folder identifier. |
string |
is_new |
Whether the share link is new, i.e. it has been created by the |
boolean |
item |
The object identifier, in case the share target is a single item. This must not be present to share a complete folder. |
string |
meta |
Can be used by the client to save arbitrary JSON data along with the share. |
object |
module |
The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore". |
string |
password |
An additional secret / pin number an anonymous user needs to enter when accessing the share. |
string |
url |
The link to share (read-only). |
string |
ShareTargetData
| Name | Description | Schema |
|---|---|---|
folder |
The folder identifier. |
string |
item |
The object identifier, in case the share target is a single item. This must not be present to share a complete folder. |
string |
module |
The folder’s module name, i.e. one of "tasks", "calendar", "contacts" or "infostore". |
string |
SingleRequest
Contains 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.
| Name | Description | Schema |
|---|---|---|
accountId |
The "accountId" parameter of a request. |
integer |
action |
The name of the request’s action like "all", "list", etc. |
string |
all |
The "all" parameter of a request. |
integer |
allowed_modules |
The "allowed_modules" parameter of a request. |
string |
attach_src |
The "attach_src" parameter of a request. |
boolean |
attached |
The "attached" parameter of a request. |
integer |
attachment |
The "attachment" parameter of a request. |
string |
attachmentid |
The "attachmentid" parameter of a request. |
string |
cascadePermissions |
The "cascadePermissions" parameter of a request. |
string |
cid |
The "cid" parameter of a request. |
string |
client |
The "client" parameter of a request. |
string |
columns |
The "columns" parameter of a request. |
string |
content_type |
The "content_type" parameter of a request. |
string |
data |
The request’s body as a JSON object. |
object |
diff |
The "diff" parameter of a request. |
integer(int64) |
displayName |
The "displayName" parameter of a request. |
string |
edit |
The "edit" parameter of a request. |
integer |
email |
The "email" parameter of a request. |
string |
email1 |
The "email1" parameter of a request. |
string |
email2 |
The "email2" parameter of a request. |
string |
email3 |
The "email3" parameter of a request. |
string |
end |
The "end" parameter of a request. |
integer(int64) |
errorOnDuplicateName |
The "errorOnDuplicateName" parameter of a request. |
boolean |
filestorageService |
The "filestorageService" parameter of a request. |
string |
filter |
The "filter" parameter of a request. |
integer |
flags |
The "falgs" parameter of a request. |
integer |
folder |
The "folder" parameter of a request. |
string |
force |
The "force" parameter of a request. |
boolean |
force_secure |
The "force_secure" parameter of a request. |
string |
from |
The "from" parameter of a request. |
integer(int64) |
hardDelete |
The "hardDelete" parameter of a request. |
boolean |
hdr |
The "hdr" parameter of a request. |
integer |
headers |
The "headers" parameter of a request. |
string |
id |
The "id" parameter of a request. |
string |
ignore |
The "ignore" parameter of a request. |
string |
includeSent |
The "includeSent" parameter of a request. |
boolean |
internal_userid |
The "internal_userid" parameter of a request. |
integer |
left_hand_limit |
The "left_hand_limit" parameter of a request. |
integer |
limit |
The "limit" parameter of a request. |
integer |
lineWrapAfter |
The "lineWrapAfter" parameter of a request. |
integer |
max_size |
The "max_size" parameter of a request. |
integer |
merged |
The "merged" parameter of a request. |
boolean |
messageAction |
The "messageAction" parameter of a request. |
string |
message_id |
The "message_id" parameter of a request. |
string |
messagingService |
The "messagingService" parameter of a request. |
string |
module |
The name of the request’s module like "mail", "folders", etc. |
string |
name |
The "name" parameter of a request. |
string |
oauth_token |
The "oauth_token" parameter of a request. |
string |
oauth_verifier |
The "oauth_verifier" parameter of a request. |
string |
occurrence |
The "occurrence" parameter of a request. |
string |
order |
The "order" parameter of a request. |
string |
parent |
The "parent" parameter of a request. |
string |
participant |
The "participant" parameter of a request. |
string |
password |
The "password" parameter of a request. |
string |
peek |
The "peek" parameter of a request. |
string |
provider |
The "provider" parameter of a request. |
string |
query |
The "query" parameter of a request. |
string |
recipients |
The "recipients" parameter of a request. |
string |
recurrence_master |
The "recurrence_master" parameter of a request. |
boolean |
recursive |
The "recursive" parameter of a request. |
string |
right_hand_limit |
The "right_hand_limit" parameter of a request. |
integer |
save |
The "save" parameter of a request. |
integer |
serviceId |
The "serviceId" parameter of a request. |
string |
setFrom |
The "setFrom" parameter of a request. |
boolean |
setIfAbsent |
The "setIfAbsent" parameter of a request. |
string |
showPrivate |
The "showPrivate" parameter of a request. |
boolean |
sort |
The "sort" parameter of a request. |
string |
src |
The "src" parameter of a request. |
integer |
start |
The "start" parameter of a request. |
integer(int64) |
system |
The "system" parameter of a request. |
string |
timestamp |
The "timestamp" parameter of a request. |
integer(int64) |
timezone |
The "timezone" parameter of a request. |
string |
tree |
The "tree" parameter of a request. |
string |
type |
The "type" parameter of a request. |
integer |
uid |
The "uid" parameter of a request. |
string |
unseen |
The "unseen" parameter of a request. |
boolean |
until |
The "until" parameter of a request. |
integer(int64) |
user_id |
The "user_id" parameter of a request. |
integer |
userid |
The "userid" parameter of a request. |
integer |
uuid |
The "uuid" parameter of a request. |
string |
version |
The "version" parameter of a request. |
integer |
view |
The "view" parameter of a request. |
string |
SingleResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The data of a request that was processed with the multiple module. |
object |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
SnippetAttachment
| Name | Description | Schema |
|---|---|---|
contentid |
The content ID of the attachment. |
string |
filename |
The file name of the attachment. |
string |
id |
The ID of the attachment. |
string |
mimetype |
The MIME type of the attachment. |
string |
size |
The size of the attachment in bytes. |
integer(int64) |
SnippetAttachmentListElement
| Name | Description | Schema |
|---|---|---|
id |
The identifier of an attachment. |
string |
SnippetData
| Name | Description | Schema |
|---|---|---|
accountid |
The identifier of the account. |
integer |
content |
Contains the snippet’s content. |
string |
createdby |
The user ID of the creator. |
integer |
displayname |
The display name of the snippet. |
string |
files |
An array of attachments. |
< SnippetAttachment > array |
id |
The ID of the snippet. |
string |
misc |
Contains miscellaneous data as JSON object. |
object |
module |
The module identifier, like "com.openexchange.mail". |
string |
props |
Contains custom properties as JSON object. |
object |
shared |
The shared flag. |
boolean |
type |
The type of the snippet, like "signature". |
string |
SnippetResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
SnippetUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
The ID of the new snippet. |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
SnippetsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array of snippet objects. |
< SnippetData > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TaskConfirmation
| Name | Description | Schema |
|---|---|---|
display_name |
Display name of external participant. |
string |
mail |
Email address of external participant. |
string |
message |
Confirm message of the participant. |
string |
status |
0 (none), 1 (accepted), 2 (declined), 3 (tentative). |
integer |
type |
Type of participant: 0 (user), 5 (external user). |
integer |
TaskConfirmationBody
| Name | Description | Schema |
|---|---|---|
confirmation |
0 (none), 1 (accepted), 2 (declined), 3 (tentative). |
integer |
confirmmessage |
The confirmation message or comment. |
string |
TaskData
| Name | Description | Schema |
|---|---|---|
actual_costs |
A monetary attribute to store actual costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
number(double) |
actual_duration |
Actual duration of the task, e.g. in minutes. |
string |
after_complete |
Deprecated. Only present in AJAX interface. Value will not be stored on OX server. |
integer(int64) |
alarm |
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. |
integer(int64) |
billing_information |
Billing information of the task. |
string |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
color_label |
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. |
integer |
companies |
Companies. |
string |
confirmations |
Each element represents a confirming participant. This can be internal and external user. Not implemented for tasks. |
< TaskConfirmation > array |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
currency |
The currency, e.g. "EUR". |
string |
date_completed |
integer(int64) |
|
day_in_month |
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. |
integer |
days |
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). |
integer |
end_date |
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). |
integer(int64) |
end_time |
Exclusive end as Date for whole day tasks and as Time for normal tasks. |
integer(int64) |
folder_id |
Object ID of the parent folder. |
string |
full_time |
True if the event is a whole day appointment or task, false otherwise. |
boolean |
id |
Object ID. |
string |
interval |
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. |
integer |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
modified_by |
User ID of the user who last modified this object. |
string |
month |
Month of the year in yearly sequencies. 0 represents January, 1 represents February and so on. Present if and only if recurrence_type = 4. |
integer |
note |
Long description. |
string |
notification |
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. |
boolean |
number_of_attachments |
Number of attachments. |
integer |
occurrences |
Specifies how often a recurrence should appear. May be present only if recurrence_type > 0. |
integer |
organizer |
Contains the email address of the appointment organizer which is not necessarily an internal user. Not implemented for tasks. |
string |
organizerId |
Contains the userIId of the appointment organizer if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
participants |
Each element identifies a participant, user, group or booked resource. |
< TaskParticipant > array |
percent_completed |
How much of the task is completed. An integer number between 0 and 100. |
integer |
principal |
Contains the email address of the appointment principal which is not necessarily an internal user. Not implemented for tasks (introduced with 6.20.1). |
string |
principalId |
Contains the userIId of the appointment principal if it is an internal user. Not implemented for tasks (introduced with 6.20.1). |
integer |
priority |
The priority of the task: 1 (low), 2 (medium), 3 (high). |
integer |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
recurrence_type |
Specifies the type of the recurrence for a task sequence: 0 (none, single event), 1(daily), 2 (weekly), 3 (monthly), 4 (yearly). |
integer |
sequence |
iCal sequence number. Not implemented for tasks. Must be incremented on update. Will be incremented by the server, if not set. |
integer |
start_date |
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). |
integer(int64) |
start_time |
Inclusive start as Date for whole day tasks and Time for normal tasks. |
integer(int64) |
status |
Status of the task: 1 (not started), 2 (in progress), 3 (done), 4 (waiting), 5 (deferred). |
integer |
target_costs |
A monetary attribute to store target costs of a task. Allowed values must be in the range -9999999999.99 and 9999999999.99. |
number(double) |
target_duration |
Target duration of the task, e.g. in minutes. |
string |
title |
Short description. |
string |
trip_meter |
The trip meter. |
string |
uid |
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. |
string |
until |
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. |
integer(int64) |
users |
Each element represents a participant. User groups are resolved and are represented by their members. Any user can occur only once. |
< TaskUser > array |
TaskDeletionsResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
An array with object IDs of tasks which were modified after the specified timestamp and were therefore not deleted. |
< string > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TaskListElement
| Name | Description | Schema |
|---|---|---|
folder |
The object ID of the related folder. |
string |
id |
The object ID of the task. |
string |
TaskParticipant
| Name | Description | Schema |
|---|---|---|
id |
User ID. |
integer |
mail |
Mail address of an external participant. |
string |
type |
Type of participant: 1 (user), 2 (user group), 3 (resource), 4 (resource group), 5 (external user) |
integer |
TaskResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TaskSearchBody
| Name | Description | Schema |
|---|---|---|
end |
Exclusive end date for a time range the tasks should end in. If this parameter is omitted the time range has an open end. |
integer(int64) |
folder |
Defines the folder to search for tasks in. If this is omitted in all task folders will be searched. |
string |
pattern |
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. |
string |
start |
Inclusive start date for a time range the tasks should end in. If start is omitted end is ignored. |
integer(int64) |
TaskUpdateData
| Name | Description | Schema |
|---|---|---|
id |
ID of a newly created task. |
string |
TaskUpdateResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TaskUpdatesResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of tasks. |
< object > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TaskUser
| Name | Description | Schema |
|---|---|---|
confirm |
0 (none), 1 (accepted), 2 (declined), 3 (tentative) |
integer |
confirmmessage |
Confirm message of the participant. |
string |
display_name |
Displayable name of the participant. |
string |
id |
User ID. Confirming for other users only works for appointments and not for tasks. |
integer |
TasksResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of tasks. Each task is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
TokenLoginResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
jsessionid |
string |
|
serverToken |
The token generated by the server. |
string |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
url |
The URL of the redirect to the web UI. |
string |
user |
The username. |
string |
user_id |
The user ID. |
integer |
TokensData
| Name | Description | Schema |
|---|---|---|
context_id |
The context ID. |
integer |
locale |
The users locale (e.g. "en_US"). |
string |
session |
The session ID. |
string |
user |
The username. |
string |
user_id |
The user ID. |
integer |
TokensResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
UserAttribute
| Name | Description | Schema |
|---|---|---|
name |
The name of the attribute. |
string |
value |
The value of the attribute. |
string |
UserAttributeResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
UserAttributionResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Indicates whether the attribute could be set. |
boolean |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
UserData
| Name | Description | Schema |
|---|---|---|
addressBusiness |
Support for Outlook 'business' address field. (since 6.20.1) |
string |
addressHome |
Support for Outlook 'home' address field. (since 6.20.1) |
string |
addressOther |
Support for Outlook 'other' address field. (since 6.20.1) |
string |
aliases |
The user’s aliases. |
< string > array |
anniversary |
The anniversary. |
integer(int64) |
assistant_name |
The assistant’s name. |
string |
birthday |
The date of birth. |
integer(int64) |
branches |
The branches. |
string |
business_category |
The business category. |
string |
categories |
String containing comma separated the categories. Order is preserved. Changing the order counts as modification of the object. Not present in folder objects. |
string |
cellular_telephone1 |
The cellular telephone number 1. |
string |
cellular_telephone2 |
The cellular telephone number 2. |
string |
city_business |
The city of the business address. |
string |
city_home |
The city of the home address. |
string |
city_other |
The city of another address. |
string |
color_label |
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. |
integer |
commercial_register |
The commercial register. |
string |
company |
The company name. |
string |
contact_id |
The contact ID of the user. |
string |
country_business |
The country of the business address. |
string |
country_home |
The country of the home address. |
string |
country_other |
The country of another address. |
string |
created_by |
User ID of the user who created this object. |
string |
creation_date |
Date and time of creation. |
integer(int64) |
default_address |
The default address. |
integer |
department |
The department. |
string |
display_name |
The display name. |
string |
distribution_list |
If this contact is a distribution list, then this field is an array of objects. Each object describes a member of the list. |
< DistributionListMember > array |
email1 |
The email address 1. |
string |
email2 |
The email address 2. |
string |
email3 |
The email address 3. |
string |
employee_type |
The type of the employee. |
string |
fax_business |
The business fax number. |
string |
fax_home |
The home fax number. |
string |
fax_other |
The other fax number. |
string |
file_as |
The file name. |
string |
first_name |
The given name. |
string |
folder_id |
Object ID of the parent folder. |
string |
groups |
The IDs of user’s groups. |
< integer > array |
guest_created_by |
The ID of the user who has created this guest in case this user represents a guest user. 0 represents regular users. (preliminary, available since v7.8.0) |
integer |
id |
Object ID. |
string |
image1 |
string |
|
image1_content_type |
The content type of the image (like "image/png"). |
string |
image1_url |
The url to the image. |
string |
image_last_modified |
The last modification of the image. |
integer(int64) |
info |
An information. |
string |
instant_messenger1 |
The instant messenger address 1. |
string |
instant_messenger2 |
The instant messenger address 2. |
string |
lastModifiedOfNewestAttachmentUTC |
Timestamp of the newest attachment written with UTC time zone. |
integer(int64) |
last_modified |
Date and time of the last modification. |
integer(int64) |
last_name |
The sur name. |
string |
locale |
The name of user’s entire locale, with, language, country and variant separated by underbars (e.g. "en", "de_DE"). |
string |
login_info |
The user’s login information. |
string |
manager_name |
The manager’s name. |
string |
marital_status |
The marital status. |
string |
mark_as_distributionlist |
boolean |
|
modified_by |
User ID of the user who last modified this object. |
string |
nickname |
The nickname. |
string |
note |
A note. |
string |
number_of_attachments |
Number of attachments. |
integer |
number_of_children |
The number of children. |
string |
number_of_distribution_list |
The number of objects in the distribution list. |
integer |
number_of_employees |
The number of employees. |
string |
number_of_images |
The number of images. |
integer |
position |
The position. |
string |
postal_code_business |
The postal code of the business address. |
string |
postal_code_home |
The postal code of the home address. |
string |
postal_code_other |
The postal code of another address. |
string |
private_flag |
Overrides folder permissions in shared private folders: When true, this object is not visible to anyone except the owner. Not present in folder objects. |
boolean |
profession |
The profession. |
string |
room_number |
The room number. |
string |
sales_volume |
The sales volume. |
string |
second_name |
The middle name. |
string |
spouse_name |
The name of the spouse. |
string |
state_business |
The state of the business address. |
string |
state_home |
The state of the home address. |
string |
state_other |
The state of another address. |
string |
street_business |
The street of the business address. |
string |
street_home |
The street of the home address. |
string |
street_other |
The street of another address. |
string |
suffix |
The suffix. |
string |
tax_id |
The tax id. |
string |
telephone_assistant |
The assistant telephone number. |
string |
telephone_business1 |
The business telephone number 1. |
string |
telephone_business2 |
The business telephone number 2. |
string |
telephone_callback |
The callback telephone number. |
string |
telephone_car |
The car telephone number. |
string |
telephone_company |
The company telephone number. |
string |
telephone_home1 |
The home telephone number 1. |
string |
telephone_home2 |
The home telephone number 2. |
string |
telephone_ip |
The IP telephone number. |
string |
telephone_isdn |
The ISDN telephone number. |
string |
telephone_other |
The other telephone number. |
string |
telephone_pager |
The pager telephone number. |
string |
telephone_primary |
The primary telephone number. |
string |
telephone_radio |
The radio telephone number. |
string |
telephone_telex |
The telex telephone number. |
string |
telephone_ttytdd |
The TTY/TDD telephone number. |
string |
timezone |
The time zone. |
string |
title |
The title. |
string |
uid |
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. |
string |
url |
The url address or homepage. |
string |
useCount |
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. |
integer |
user_id |
The internal user id. |
integer |
userfield01 |
Dynamic Field 1. |
string |
userfield02 |
Dynamic Field 2. |
string |
userfield03 |
Dynamic Field 3. |
string |
userfield04 |
Dynamic Field 4. |
string |
userfield05 |
Dynamic Field 5. |
string |
userfield06 |
Dynamic Field 6. |
string |
userfield07 |
Dynamic Field 7. |
string |
userfield08 |
Dynamic Field 8. |
string |
userfield09 |
Dynamic Field 9. |
string |
userfield10 |
Dynamic Field 10. |
string |
userfield11 |
Dynamic Field 11. |
string |
userfield12 |
Dynamic Field 12. |
string |
userfield13 |
Dynamic Field 13. |
string |
userfield14 |
Dynamic Field 14. |
string |
userfield15 |
Dynamic Field 15. |
string |
userfield16 |
Dynamic Field 16. |
string |
userfield17 |
Dynamic Field 17. |
string |
userfield18 |
Dynamic Field 18. |
string |
userfield19 |
Dynamic Field 19. |
string |
userfield20 |
Dynamic Field 20. |
string |
yomiCompany |
Kana based representation for the Company. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
yomiFirstName |
Kana based representation for the First Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
yomiLastName |
Kana based representation for the Last Name. Commonly used in japanese environments for searchin/sorting issues. (since 6.20) |
string |
UserResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
||
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |
UserSearchBody
| Name | Description | Schema |
|---|---|---|
display_name |
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 |
string |
emailAutoComplete |
If set to |
boolean |
first_name |
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 |
string |
last_name |
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 |
string |
orSearch |
If set to |
boolean |
pattern |
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. |
string |
startletter |
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. |
boolean |
UsersResponse
| Name | Description | Schema |
|---|---|---|
categories |
Either a single (String) or list (Array) of upper-case category identifiers to which the error belongs. |
string |
category |
Maintained for legacy reasons: The numeric representation of the first category. |
integer |
code |
Error code consisting of an upper-case module identifier and a four-digit message number, separated by a dash; e.g. "MSG-0012" |
string |
data |
Array of user. Each user is described as an array itself. |
< < object > array > array |
error |
The translated error message. Present in case of errors. |
string |
error_desc |
The technical error message (always English) useful for debugging the problem. Might be the same as error message if there is no more information available. |
string |
error_id |
Unique error identifier to help finding this error instance in the server logs. |
string |
error_params |
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). |
< string > array |
error_stack |
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. |
< string > array |
timestamp |
The latest timestamp of the returned data (see Updates). |
integer(int64) |