GET api/userlog/GetUserLogSettings?userId={userId}&client={client}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

client

string

Required

Body Parameters

None.

Response Information

Resource Description

UserLogSettings
NameDescriptionTypeAdditional information
Role

DepartmentRole

None.

Department

Department

None.

UserName

string

None.

UserId

integer

None.

ClientId

globally unique identifier

None.

ClientName

string

None.

LoginsLast30Days

integer

None.

FirstLoginDate

date

None.

PropertyTypes

Collection of PropertyType

None.

UserLogSettingsPropertyTypes

Collection of UserLogSettingsPropertyType

None.

UserLogSettingsId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Role": {
    "DepartmentRoleId": 1,
    "RoleName": "sample string 2",
    "DepartmentId": 3
  },
  "Department": {
    "DepartmentId": 1,
    "DepartmentName": "sample string 2"
  },
  "UserName": "sample string 1",
  "UserId": 2,
  "ClientId": "7d257d66-b9ad-443c-b34d-f04558818987",
  "ClientName": "sample string 4",
  "LoginsLast30Days": 5,
  "FirstLoginDate": "2025-12-25T16:01:25.8521936+00:00",
  "PropertyTypes": [
    {
      "PropertyTypeId": 1,
      "PropertyTypeName": "sample string 2"
    },
    {
      "PropertyTypeId": 1,
      "PropertyTypeName": "sample string 2"
    }
  ],
  "UserLogSettingsPropertyTypes": [
    {
      "UserLogSettingsId": 1,
      "PropertyTypeId": 2
    },
    {
      "UserLogSettingsId": 1,
      "PropertyTypeId": 2
    }
  ],
  "UserLogSettingsId": 6
}

text/html

Sample:
{"Role":{"DepartmentRoleId":1,"RoleName":"sample string 2","DepartmentId":3},"Department":{"DepartmentId":1,"DepartmentName":"sample string 2"},"UserName":"sample string 1","UserId":2,"ClientId":"7d257d66-b9ad-443c-b34d-f04558818987","ClientName":"sample string 4","LoginsLast30Days":5,"FirstLoginDate":"2025-12-25T16:01:25.8521936+00:00","PropertyTypes":[{"PropertyTypeId":1,"PropertyTypeName":"sample string 2"},{"PropertyTypeId":1,"PropertyTypeName":"sample string 2"}],"UserLogSettingsPropertyTypes":[{"UserLogSettingsId":1,"PropertyTypeId":2},{"UserLogSettingsId":1,"PropertyTypeId":2}],"UserLogSettingsId":6}

application/xml, text/xml

Sample:
<UserLogSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBase.Logging.UserLogSettings">
  <ClientId>7d257d66-b9ad-443c-b34d-f04558818987</ClientId>
  <ClientName>sample string 4</ClientName>
  <Department>
    <DepartmentId>1</DepartmentId>
    <DepartmentName>sample string 2</DepartmentName>
  </Department>
  <FirstLoginDate>2025-12-25T16:01:25.8521936+00:00</FirstLoginDate>
  <LoginsLast30Days>5</LoginsLast30Days>
  <PropertyTypes>
    <PropertyType>
      <PropertyTypeId>1</PropertyTypeId>
      <PropertyTypeName>sample string 2</PropertyTypeName>
    </PropertyType>
    <PropertyType>
      <PropertyTypeId>1</PropertyTypeId>
      <PropertyTypeName>sample string 2</PropertyTypeName>
    </PropertyType>
  </PropertyTypes>
  <Role>
    <DepartmentId>3</DepartmentId>
    <DepartmentRoleId>1</DepartmentRoleId>
    <RoleName>sample string 2</RoleName>
  </Role>
  <UserId>2</UserId>
  <UserLogSettingsId>6</UserLogSettingsId>
  <UserLogSettingsPropertyTypes>
    <UserLogSettingsPropertyType>
      <PropertyTypeId>2</PropertyTypeId>
      <UserLogSettingsId>1</UserLogSettingsId>
    </UserLogSettingsPropertyType>
    <UserLogSettingsPropertyType>
      <PropertyTypeId>2</PropertyTypeId>
      <UserLogSettingsId>1</UserLogSettingsId>
    </UserLogSettingsPropertyType>
  </UserLogSettingsPropertyTypes>
  <UserName>sample string 1</UserName>
</UserLogSettings>