All Classes Namespaces Files Functions Variables Groups
Structures.idl File Reference

Data structures shared among webmail API. More...

Go to the source code of this file.

Classes

struct  kerio::jsonapi::webmail::CreateResult
struct  kerio::jsonapi::webmail::SetResult
struct  kerio::jsonapi::webmail::Image

Namespaces

namespace  kerio
 Functions for internal communication in Multi-Server

Typedefs

typedef string kerio::jsonapi::webmail::UtcTime
 Time according RFC 2445, eg. 070000Z means 07:00 AM.
typedef longlong kerio::jsonapi::webmail::Watermark
 Max. 9007199254740992, min. -9007199254740992.
typedef sequence< CreateResult > kerio::jsonapi::webmail::CreateResultList
typedef sequence< SetResult > kerio::jsonapi::webmail::SetResultList
typedef sequence< Image > kerio::jsonapi::webmail::ImageList

Enumerations

enum  PriorityType { kerio::jsonapi::webmail::Normal, Low, High }
enum  ItemType {
  itMail, itCalendar, itContact, itTask,
  itNote, itCalendarInbox
}

Variables

const long kerio::jsonapi::webmail::ErrorCodeParseError = -32700
const long kerio::jsonapi::webmail::ErrorCodeInternalError = -32603
const long kerio::jsonapi::webmail::ErrorCodeInvalidParams = -32602
const long kerio::jsonapi::webmail::ErrorCodeMethodNotFound = -32601
const long kerio::jsonapi::webmail::ErrorCodeInvalidRequest = -32600
const long kerio::jsonapi::webmail::ErrorCodeMultiServerBackendMaintenance = -32003
 Error generated on client side only.
const long kerio::jsonapi::webmail::ErrorCodeTimedout = -32002
 Error generated on client side only.
const long kerio::jsonapi::webmail::ErrorCodeSessionExpired = -32001
 Session expired. (HTTP Status 500)
const long kerio::jsonapi::webmail::ErrorCodeCommunicationFailure = -1
 Error generated on client side only.
const long kerio::jsonapi::webmail::ErrorCodeRequestEntityTooLarge = 413
 The client tried to upload a file bigger than limit. (Generally any HTTP POST request, including JSON-RPC Request.)
const long kerio::jsonapi::webmail::ErrorCodeOperationFailed = 1000
 The command was accepted, the operation was run and returned an error.
const long kerio::jsonapi::webmail::ErrorCodeAlreadyExists = 1001
 Can't create the item, as it already exists.
const long kerio::jsonapi::webmail::ErrorCodeNoSuchEntity = 1002
 Message / folder / etc. doesn't exist.
const long kerio::jsonapi::webmail::ErrorCodeNotPermitted = 1003
 Server refused to proceed. E.g. Can't delete default folder.
const long kerio::jsonapi::webmail::ErrorCodeAccessDenied = 1004
 Insufficient privileges for the required operation.
const long kerio::jsonapi::webmail::ErrorCodeDangerousOperation = 4000
 Operation is dangerous. Used for reporting in validation functions.
const long kerio::jsonapi::webmail::ErrorCodePartialSuccess = 4001
 Operation ended partial successful.
const long kerio::jsonapi::webmail::ErrorCodeChangePswFailed = 4002
 Failed to change your password. The new password was not accepted.
const long kerio::jsonapi::webmail::ErrorCodeFolderReindexing = 4100
 Folder is already being reindexed. Try later.
const long kerio::jsonapi::webmail::ErrorCodeOperationInProgress = 4101
 Long lasting operation blocks perform the request. Try later.
const long kerio::jsonapi::webmail::ErrorCodeQuotaReached = 4102
 Items quota or disk size quota was reached.
const long kerio::jsonapi::webmail::ErrorCodeSendingFailed = 4103
 Failed to send email.
const long kerio::jsonapi::webmail::ErrorCodeNoSuchFolder = 4104
 Folder of given GUID doesn't exist.
const long kerio::jsonapi::webmail::ErrorCodeOperatorSessionExpired = 4105
 Session to Operator expired.

Detailed Description

Data structures shared among webmail API.

Author(s):
Dusan Juhas, Frantisek Boranek
Copyright:
Copyright © 2017 Kerio Technologies s.r.o.