GET Company
Changed on/companies/:id Permission level: 3
get/companies/{id}
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Path parameters
idinteger required
Response
200
Example response
{
"status": 1,
"data": {
"id": "251300",
"name": "Dream Coffee Shop 1",
"domain": "publicapitest",
"created": "1469803042",
"language": "en_US",
"master": "0",
"is_parent": "0",
"franchise": "0",
"settings": {
"admin_past_edit": "0",
"book_days_off": "1",
"book_days_off_adv": "-1",
"book_days_off_max": "0",
"confirm_trade_before": "1",
"confirm_trade_after": "0",
"sms": "1",
"email": "1",
"pm": "1",
"visible_staff": "1",
"visible_staff_details": "1",
"visible_coworkers": "1",
"trade_shifts": "1",
"coworkers_contacts": "1",
"future_avail": "1",
"weekly_avail": "1",
"visible_overview": "0",
"visible_own": "1",
"timeout": "1800",
"message_wall_on": "1",
"message_wall_emp": "0",
"message_wall_comments": "1",
"message_wall_uploads": "1",
"on_now": "1",
"shift_confirm": "0",
"shift_drop": "0",
"shift_autoconfirm": "0",
"timeclock": "1",
"tc_terminal_lock": "0",
"tc_round_to": "15",
"tc_round_to_in": "0",
"tc_round_to_out": "0",
"tc_clock_in_timeframe": "-1",
"tc_clock_out_timeframe": "-1",
"tc_autoclockout": "0.0",
"tc_webcam": "0",
"tc_empl_import": "1",
"tc_empl_addtime": "1",
"tc_empl_edittime": "0",
"24hr": "0",
"draft": "1",
"date": "M j, Y",
"startday": "1",
"currency": "1",
"viewadvance": "0",
"login_splogo": "1",
"scosting": "3",
"start_day": "1",
"end_day": "7",
"start_time": "33",
"end_time": "85",
"overtime": "40",
"timezone": "-05:00,0"
},
"admin": {
"id": "2736727",
"name": "Brian Lane",
"email": "milos.tomic+pubapitest@shiftplanning.com"
},
"staff": [
{
"id": "2736727",
"name": "Brian Lane"
}
],
"locations": {
"542311": "Dream Coffee Shop 2"
},
"positions": [
{
"id": "1321636",
"name": "Desk Service"
}
]
},
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info