All Classes Files Functions Variables Pages
UserVoice.idl
Go to the documentation of this file.
1 /**
2  * @file UserVoice.idl
3  * @brief User Feedback API
4  * @version 1
5  */
6 
7 
8 module webadmin {
9 
10 /**
11  * Settings of UserVoice
12  */
14  string name;
15  string email;
16 };
17 
18 interface UserVoice {
19 
20  /**
21  * Generate token for logging into user voice web.
22  * Parameters name and email can be empty strings.
23  *
24  * @param url - URL to userVoice with single sign on token
25  * @throws kerio::web::ApiException \n
26  * -32001 Session expired. - "The user is not logged in." \n
27  * 1000 Operation Failed. - "Data are not set yet." \n
28  * 1004 Access denied. - "Insufficient rights to perform the requested operation." \n
29  * 8000 Internal error. - "Initialization of stream for encryption failed: %1" \n
30  * 8000 Internal error. - "Encrytion of token failed: %1" \n
31  * 8000 Internal error. - "URL encoding of token failed."
32  */
33  void getUrl(out string url);
34 
35  /**
36  * Set settings of User Voice.
37  *
38  * @param settings - structure with settings
39  * @throws kerio::web::ApiException \n
40  * -32001 Session expired. - "The user is not logged in." \n
41  * 1004 Access denied. - "Insufficient rights to perform the requested operation." \n
42  */
43  void set(in UserVoiceSettings settings);
44 };
45 
46 }; //webadmin
Definition: UserVoice.idl:13
Definition: UserVoice.idl:18
Definition: Accounting.idl:11