# Retrieve a Staff Member

`GET /lokta-lms/api/v1/staff/{staffId}`

Returns the details of a Staff Member.

Example Requests:

- /staff/1

## Parameters
- `staffId` (path, integer, required): staffId

## Responses
- `default`: default response

## Response fields
- `allowedOffices` (array of OfficeData)
- `dateFormat` (string)
- `displayName` (string)
- `externalId` (string)
- `firstname` (string)
- `id` (integer)
- `isActive` (boolean)
- `isLoanOfficer` (boolean)
- `joiningDate` (string)
- `lastname` (string)
- `locale` (string)
- `mobileNo` (string)
- `officeId` (integer)
- `officeName` (string)
- `rowIndex` (integer)

## Example request (cURL)
```bash
curl -X GET \
  'http://localhost:8080/lokta-lms/api/v1/staff/{staffId}' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{
  "allowedOffices": [
    {}
  ],
  "dateFormat": "dd MMMM yyyy",
  "displayName": "string",
  "externalId": "string"
}
```

Interactive: https://developer.lokta.ai/reference.html#operation/retrieveOneStaff
