GET
/
api
/
v3
/
users
/
{id}
curl --request GET \
  --url https://{host}/api/v3/users/{id} \
  --header 'Authorization: <authorization>'
{
  "id": 123,
  "name": "<string>",
  "url": "<string>",
  "displayName": "<string>",
  "modifiedOn": "<string>",
  "lastName": "<string>",
  "firstName": "<string>",
  "login": "<string>",
  "mail": "<string>",
  "dtContractStart": "<string>",
  "dtContractEnd": null,
  "birthDate": "<string>",
  "employeeNumber": "<string>",
  "calendar": {
    "id": 123,
    "url": "<string>",
    "name": "<string>"
  },
  "culture": {
    "id": 123,
    "name": "<string>",
    "url": "<string>"
  },
  "picture": {
    "id": "<string>",
    "href": "<string>",
    "name": "<string>"
  },
  "applicationData": {},
  "legalEntity": {
    "id": 123,
    "name": "<string>",
    "url": "<string>"
  },
  "department": {
    "id": 123,
    "name": "<string>",
    "url": "<string>"
  },
  "manager": {
    "id": 123,
    "name": "<string>",
    "url": "<string>"
  },
  "rolePrincipal": {
    "id": 123,
    "name": "<string>",
    "url": "<string>"
  },
  "habilitedRoles": [
    {
      "id": 123,
      "name": "<string>",
      "url": "<string>"
    }
  ],
  "userWorkCycles": [
    {
      "Id": 123,
      "OwnerID": 123,
      "WorkCycleID": 123,
      "StartsOn": "<string>",
      "EndsOn": "<string>"
    }
  ]
}

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Path Parameters

id
string
required

ID of the user.

Query Parameters

fields
string[]

Comma-separated list of fields of the user to include in responses. Extended data can be retrieved with ?fields=extendedData.

Response

200
application/json

OK

The response is of type object.