Skip to main content

Get Single Employee

GET 

/api/employees/:id

Get Single Employee

Request

Path Parameters

    id integerrequired

Header Parameters

    X-Company-Slug stringrequired

Responses

Successful response

Schema

    email string
    name stringnullable
    surname stringnullable
    phone_number stringnullable
    language stringnullable
    birthday datenullable
    created_at date-time
    updated_at date-time
    id string

    meta

    object

    gender ContactGenderEnum (string)nullable

    Possible values: [male, female, other]

    company_id string
    user_id string
    is_admin boolean
    is_active boolean

    working_hours

    object

    monday stringnullable
    tuesday stringnullable
    wednesday stringnullable
    thursday stringnullable
    friday stringnullable
    saturday stringnullable
    sunday stringnullable
    is_api_user boolean
    default_photo_id stringnullable
    working_type string
    earning_type stringnullable
    salary number
    min_goal_amount number
    bonus number
    sales_bonus number
    notes stringnullable
    start_date datenullable
    end_date datenullable
    path stringnullable
    url string
    services string[]
Loading...