Skip to main content

Get a person

GET 

/api/persons/:id

Required permissions:

  • settings.team: allows view of company persons.

Here the dedicated support page.

Request

Path Parameters

    id integerrequired

    The ID of the employee to view

Header Parameters

    Wethod-Company stringrequired

    The company you want to interact with

    Wethod-Version stringrequired

    The API version you want to use

Responses

Returns the requested person.

Schema

    id integerrequired

    Possible values: >= 1

    created_at date-timerequired
    updated_at date-timerequired
    email stringrequired

    Possible values: <= 50 characters

    The person email

    name stringrequired

    Possible values: <= 50 characters

    The person name

    surname stringrequired

    Possible values: <= 50 characters

    The person surname

    role stringrequired

    Possible values: <= 50 characters

    The person role

    is_archived booleanrequired

    Whether the person is archived

    is_visible_in_people_allocation booleanrequired

    Whether the person is visible in people allocation

    has_timesheet_required booleanrequired

    Whether the person needs to fill in timesheet

    level_id integerrequired

    Possible values: >= 1

    ID of the level to associate with this person

    price_list_id integerrequired

    Possible values: >= 1

    ID of the price list to associate with this person

    job_title_id integer

    Possible values: >= 1

    ID of the job title to associate with this person

    allocation_manager_id integer

    Possible values: >= 1

    ID of the allocation manager to associate with this person

Loading...