injected service use to handle the preference related operations
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
params.userId
is required200 Status OK
This handler will get user preferences by applying the following steps in sequence:
Get userId from context.params
Add userId to filter expression and concat query.$filter (if any)
Parse paginated list query (util.parsePaginatedListQuery)
Get user preferences (preferenceService.getPreferences)
Return user preferences
Error
400 NBError Bad Request
Generated using TypeDoc
List user preferences handler