GET v1/Employees/{id}/UserPreferences

Get employee's user preferences

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the user

integer

Required

Body Parameters

None.

Response Information

Resource Description

Employee's user preferences

ActionResultDTOOfUserPreferenceDTO
NameDescriptionTypeAdditional information
Result

UserPreferenceDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "UserPreferencesID": 1,
    "EmployeeID": 2,
    "LocalizationLanguage": "sample string 3",
    "DataEntryViewMode": "sample string 4",
    "DashboardIsSet": true,
    "DashboardSettingsAreSet": true,
    "FileViewType": "sample string 7",
    "TimezoneValue": "sample string 8",
    "PopupImportantNotes": true,
    "SearchPreference": "sample string 10"
  },
  "CreatedBy": "sample string 1",
  "EntityID": 2,
  "RowSource": "sample string 3",
  "PolicyID": 4,
  "IsSuccess": true,
  "ErrorCode": "sample string 6",
  "ErrorMessage": "sample string 7",
  "InfoMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<ActionResultOfUserPreferenceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 6</ErrorCode>
  <ErrorMessage>sample string 7</ErrorMessage>
  <InfoMessage>sample string 8</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 1</CreatedBy>
  <EntityID>2</EntityID>
  <PolicyID>4</PolicyID>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
    <d2p1:DashboardIsSet>true</d2p1:DashboardIsSet>
    <d2p1:DashboardSettingsAreSet>true</d2p1:DashboardSettingsAreSet>
    <d2p1:DataEntryViewMode>sample string 4</d2p1:DataEntryViewMode>
    <d2p1:EmployeeID>2</d2p1:EmployeeID>
    <d2p1:FileViewType>sample string 7</d2p1:FileViewType>
    <d2p1:LocalizationLanguage>sample string 3</d2p1:LocalizationLanguage>
    <d2p1:PopupImportantNotes>true</d2p1:PopupImportantNotes>
    <d2p1:SearchPreference>sample string 10</d2p1:SearchPreference>
    <d2p1:TimezoneValue>sample string 8</d2p1:TimezoneValue>
    <d2p1:UserPreferencesID>1</d2p1:UserPreferencesID>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfUserPreferenceDTO>