Get User and Application Preferences for the Logged in User

get

/ic/api/process/v1/preferences

Get user and application preferences for the logged in user. Also allows admin to list preferences of other users

Request

Query Parameters
  • Preference key.

    Valid values for keys with preference type USER:

    • NOTIFICATION_TZ
    • TASKLIST_FETCH_SIZE
    • TASKLIST_DEFAULT_GROUPING
    • VACATION_RULE

    Valid values for keys with preference type APPLICATION:

    • TASKLIST_FETCH_SIZE
    • TASKLIST_DEFAULT_GROUPING
  • Preference type. Valid values: USER, APPLICATION, ALL.
    Default Value: ALL
    Allowed Values: [ "USER", "APPLICATION", "ALL" ]
  • User Id
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : preferencesResponse
Type: object
Show Source
Nested Schema : appPrefResponse
Type: object
Additional Properties Allowed
Show Source
Nested Schema : invalidUsers
Type: array
Show Source
Nested Schema : userPrefResponse
Type: object
Additional Properties Allowed
Show Source

400 Response

Bad request

401 Response

Unauthorized

500 Response

Internal Server Error
Back to Top

Examples

The following examples show how to retrieve user and application preferences for the logged in user by submitting a GET request on the REST resource.

Example: Get all user and application preferences for the logged in user

Send Request:

GET https://example.com/ic/api/process/v1/preferences

Example: Get only vacation preferences for the logged in user

Send Request:

GET https://example.com/ic/api/process/v1/preferences?key=VACATION_RULE&type=USER

Example: Get only user preferences for the logged in user

Send Request:

GET https://example.com/ic/api/process/v1/preferences?type=USER

Example: Get only application preferences for the logged in user

Send Request:

GET https://example.com/ic/api/process/v1/preferences?type=APPLICATION
Back to Top