All Classes Namespaces Files Functions Variables Enumerations Enumerator Groups Pages
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

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.
const long kerio::jsonapi::webmail::ErrorCodeLimitReached = 4106
 Items limit was reached.
const long kerio::jsonapi::webmail::ErrorCodeEncryptionFailed = 5000
 Encryption failed.
const long kerio::jsonapi::webmail::ErrorCodeNotEnoughSpace = 5001
 Not enough free space.
const long kerio::jsonapi::webmail::ErrorCodeDecryptionFailed = 5010
 Decryption failed.
const long kerio::jsonapi::webmail::ErrorCodeNotEnoughSpaceDec = 5011
 Not enough free space.
const long kerio::jsonapi::webmail::ErrorCodeIncorrectPassword = 5012
 Password is incorrect.
const long kerio::jsonapi::webmail::ErrorCodeIncPassWait = 5013
 Password is incorrect. You shall wait for a minute before you can try again.
const long kerio::jsonapi::webmail::ErrorCodeThreeAttempts = 5014
 You have 3 failed attempts to enter password. Please wait for a minute before you can try again.
const long kerio::jsonapi::webmail::ErrorCodeSavePassword = 5022
 Can't save the password.

Detailed Description

Data structures shared among webmail API.

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