Get a staff member

GET /api/v1/client/{client_uuid}/staff-members/{id}

Path parameters

  • client_uuid string Required

    uuid The UUID of the business client.

  • id string Required

    uuid The UUID of the client that is a staff member.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • hired_at string

      Date (y-m-d) of when the staff member was hired.

    • left_at string

      Date (y-m-d) of when the staff member left.

    • The job title of the staff member.

    • The basic annual salary of the staff member. Must be in pennies, for example: £50,000 would be 5000000.

      Additional properties are allowed.

    • The payroll number of the staff member.

    • account object

      Client account in Plannr.

      Additional properties are allowed.

GET /api/v1/client/{client_uuid}/staff-members/{id}
curl \
 -X GET https://api.plannrcrm.com/api/v1/client/client_uuid/staff-members/id \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "uuid": "22a2a06a-7e48-4763-9c2f-d90f02a15679",
  "account": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Gareth Thompson",
    "role": "client",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "client",
    "uuid": "cf5607d4-63c7-4d03-b79b-69db424064fa",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2024-11-20T13:24:00+00:00",
    "first_name": "Gareth",
    "updated_at": "2024-11-20T13:24:00+00:00",
    "with_login": true,
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "introduced_by": "App\\Http\\Resources\\AccountResource",
    "primary_email": "App\\Http\\Resources\\ContactDetailResource",
    "can_be_deleted": "false",
    "assigned_adviser": "App\\Http\\Resources\\AccountResource",
    "next_review_date": "2024-11-20T13:24:00+00:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2024-11-20T13:24:00+00:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2024-11-20T13:24:00+00:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2024-11-20T13:24:00+00:00"
  },
  "left_at": "2025-01-15T00:00:00+00:00",
  "hired_at": "2018-01-15T00:00:00+00:00",
  "job_title": "Chief Coffee Maker",
  "created_at": "2024-11-20T13:24:00+00:00",
  "updated_at": "2024-11-20T13:24:00+00:00",
  "payroll_number": "#12345",
  "basic_annual_salary": {
    "amount": 5000000,
    "currency": "GBP",
    "formatted": "£50,000.00"
  }
}