/employees/:id Permission level: 5

get/employees/{id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

idinteger required

Response

200

statusinteger
tokenstring

Example response

{
  "status": 1,
  "data": {
    "id": "2744094",
    "username": "josephine.watsonpublicapi",
    "email": "josephine.watson@publicapitest.com",
    "realname": "Josephine P. Watson",
    "location": "0",
    "email_setting": "1",
    "notify_with_post": "0",
    "auto_notify": "0",
    "show_smilies": "1",
    "show_img": "1",
    "show_img_sig": "1",
    "show_avatars": "1",
    "show_sig": "1",
    "access_keys": "0",
    "timezone": "314",
    "dst": "0",
    "time_format": "0",
    "date_format": "0",
    "style": "ShiftPlanning",
    "num_posts": "0",
    "registered": "1470130086",
    "registration_ip": "0.0.0.0",
    "last_visit": "0",
    "last_active": "0",
    "pun_bbcode_enabled": "1",
    "pun_bbcode_use_buttons": "1",
    "pun_pm_long_subject": "1",
    "newsletter": "1",
    "email_confirmed": "0",
    "status": "1",
    "deleted": "0",
    "deleted_by": "0",
    "legal_agree": "0",
    "referral": "0",
    "name": "Josephine P. Watson",
    "firstname": "Josephine P.",
    "lastname": "Watson",
    "birth_day": "0",
    "birth_month": "0",
    "cellphone_confirmed": "0",
    "last_sms_sent": "0",
    "avatar": {
      "small": "https://d2xfcmp96gbhl7.cloudfront.net/app/layout/aff6056fde2fd33e33129177b510deab7cf1b3cd/images/no_avatar.png",
      "medium": "https://d2xfcmp96gbhl7.cloudfront.net/app/layout/aff6056fde2fd33e33129177b510deab7cf1b3cd/images/no_avatar.png",
      "large": "https://d2xfcmp96gbhl7.cloudfront.net/app/layout/aff6056fde2fd33e33129177b510deab7cf1b3cd/images/no_avatar.png"
    },
    "p_email": "1",
    "p_phone": "1",
    "notify_sms": "-1",
    "notify_email": "1",
    "e_new_pm": "0",
    "ical": "https://www.humanity.shiftplanning.com/ical/512454f69f62b183e1fefda8b0530181.ics",
    "24hr": "0",
    "startday": "1",
    "pref_caltime": "10",
    "pref_shift_autoconfirm": "-1",
    "undertime": "0",
    "overtime": "-1",
    "recommend": "0",
    "tut_v2_sched": "0",
    "daily_overtime": "0",
    "max_days_row": "-1",
    "monthly_undertime": "0",
    "monthly_overtime": "-1",
    "pref_mtimebshifts": "0",
    "deactivated": "0",
    "work_start_date": "2016-08-02 00:00:00",
    "screen_logger": "0",
    "sc_freq": "-2",
    "newsletter_receiver": "0",
    "pref_sp_skin": "0",
    "group": "5",
    "timezone_name": "Europe/Belgrade",
    "timezone_info": {
      "timezone_id": "314",
      "name": "Europe/Belgrade",
      "name_formatted": "(UTC +01:00) Europe/Belgrade",
      "offset": "+2:00",
      "seconds": 7200,
      "hours": 2,
      "default": "0"
    },
    "group_name": "Employee",
    "status_name": "Activated",
    "schedules": {
      "1324361": "Customer service"
    },
    "skills": {
      "96398": "sales",
      "96402": "tea"
    }
  },
  "token": "xxxxxxx"
}

Changes