staff.me

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token

DOCUMENTATION

Using the staff.me module you will receive a response that provides you with detail information about an employee including his/her role, language settings, positions and much more. Anyone within the store can use this module as it requires level 7(Schedule Viewer role)

Example request:

{
   "method":"GET",
   "module":"staff.me",
   "token":"xxxx"
}

Example response:

{
   "status":1,
   "data":{
      "id":"2829173",
      "username":"rudez",
      "tusername":"",
      "reset_code":null,
      "reset_code_expire":null,
      "email":"[email protected]",
      "title":null,
      "realname":"Mitch",
      "url":null,
      "jabber":null,
      "icq":null,
      "msn":null,
      "aim":null,
      "yahoo":null,
      "location":"0",
      "signature":null,
      "disp_topics":null,
      "disp_posts":null,
      "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",
      "language":null,
      "style":"Humanity",
      "num_posts":"0",
      "last_post":null,
      "last_search":"1491425942",
      "last_email_sent":"1477998871",
      "registered":"1473084421",
      "registration_ip":"xxx.xxx.xxx.xxx",
      "last_visit":"1491912931",
      "last_active":"1491921186",
      "admin_note":null,
      "activate_string":null,
      "activate_key":null,
      "pun_bbcode_enabled":"1",
      "pun_bbcode_use_buttons":"1",
      "pun_pm_new_messages":null,
      "pun_pm_long_subject":"1",
      "newsletter":"1",
      "email_confirmed":"1",
      "eid":"",
      "status":"1",
      "deleted":"0",
      "deleted_by":"0",
      "legal_agree":"1",
      "referral":"0",
      "wage":"",
      "name":"Mitch",
      "firstname":"Mitch",
      "lastname":"",
      "nick_name":"",
      "birth_day":"0",
      "birth_month":"0",
      "smsgateway":"-1",
      "cell_phone":"",
      "cellphone_confirmed":"0",
      "last_sms_sent":"0",
      "home_phone":"",
      "avatar":{
         "small":"https:\/\/s3.amazonaws.com\/uf.humanity.com\/avatars\/sm_2829173-58d414ca8180a.jpg",
         "medium":"https:\/\/s3.amazonaws.com\/uf.humanity.com\/avatars\/profile_2829173-58d414ca8180a.jpg",
         "large":"https:\/\/s3.amazonaws.com\/uf.humanity.com\/avatars\/2829173-58d414ca8180a.jpg"
      },
      "address":"",
      "city":"",
      "state":"",
      "zip":"",
      "notes":"",
      "p_email":"1",
      "p_phone":"1",
      "notify_sms":"-1",
      "notify_email":"1",
      "e_new_pm":"0",
      "ical":"https:\/\/www.humanity.com\/ical\/175a320ca46cddca310c9c21e0369a80.ics",
      "24hr":"0",
      "startday":"1",
      "pref_caltime":"10",
      "pref_shift_autoconfirm":"-1",
      "undertime":"9",
      "overtime":"40",
      "recommend":"0",
      "recommendation":"",
      "tut_v2_sched":"0",
      "daily_overtime":"0",
      "max_days_row":"-1",
      "pref_vacation_max_days":"-1",
      "timezone_id":null,
      "monthly_undertime":"0",
      "monthly_overtime":"-1",
      "pref_mtimebshifts":"0",
      "avatar_url":{
         "large":"avatars\/2829173-58d414ca8180a.jpg",
         "small":"avatars\/sm_2829173-58d414ca8180a.jpg",
         "bigger":"avatars\/la_2829173-58d414ca8180a.jpg",
         "full":"avatars\/full_2829173-58d414ca8180a.jpg",
         "profile":"avatars\/profile_2829173-58d414ca8180a.jpg",
         "forum":"avatars\/forum_2829173-58d414ca8180a.jpg"
      },
      "deactivated":"0",
      "work_start_date":"2016-09-05 19:07:00",
      "screen_logger":"0",
      "sc_freq":"-2",
      "newsletter_receiver":"0",
      "job_title":"",
      "middle_name":"",
      "gender":"",
      "pref_sp_skin":"1",
      "inline_wizard_completion":"4_notifications_time",
      "teamtools_id":"1",
      "group":"2",
      "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",
         "minutes":0
      },
      "group_name":"Manager",
      "status_name":"Activated",
      "schedules":{
         "1411080":"Unimaginative position1",
         "1411081":"Unimaginative position2",
         "1411082":"Unimaginative position3",
      },
      "skills":[
 
      ],
      "custom":[
 
      ],
      "settings":{
         "widgets_layout":[
            [
               "timeclock",
               "leaves",
               "training",
               "files",
               "onnow",
               "upcomingshifts",
               "notices"
            ],
            [
               "lateforwork",
               "birthdays"
            ],
            [
               "messagewall"
            ]
         ],
         "schedule_side_panel_visibility":1
      },
      "store":"258469"
   },
   "token":"xxxx"
}