Retrieves business details
SUPPORTED METHODS:
GET
Parameters | Type | Description |
---|---|---|
token (required) | valid token |
DOCUMENTATION
GET
Retrieves a business details.
Level 5 is required (all users can fetch this module)
--
Example Request:
{
"module":"admin.business",
"method":"GET",
"request":{
}
}
Example Response:
{
"status":1,
"data":{
"id":"553",
"franchise":"553",
"status":"1",
"agent":"43232423",
"hunter":null,
"level":"1",
"price":"1",
"timezone":"-05:00,1",
"created":"1265595316",
"deleted":"0",
"created_day":"300",
"name":"Test",
"domain":"domain",
"nemployees":"74",
"logo":"0",
"address":"Address 15",
"country":"227",
"state":"AZ",
"phone_number":"888-432-1233",
"fax_number":"281-321-1231",
"user":"12313",
"start_day":"1",
"end_day":"7",
"start_time":"0",
"end_time":"0",
"24hr":"0",
"overtime":"40",
"industry":"6",
"pref_admin_past_edit":"0",
"pref_book_days_off":"1",
"pref_book_days_off_adv":"30",
"pref_book_days_off_max":"10",
"pref_confirm_trade_before":"1",
"pref_confirm_trade_after":"1",
"pref_sms":"1",
"pref_email":"1",
"pref_email_force":"0",
"pref_pm":"1",
"pref_visible_staff":"1",
"pref_visible_staff_details":"1",
"pref_visible_coworkers":"1",
"pref_trade_shifts":"1",
"pref_coworkers_contacts":"0",
"pref_future_avail":"1",
"pref_weekly_avail":"1",
"pref_visible_overview":"0",
"pref_visible_own":"1",
"pref_timeout":"0",
"pref_message_wall_on":"1",
"pref_message_wall_emp":"0",
"pref_message_wall_comments":"1",
"pref_message_wall_uploads":"0",
"pref_on_now":"0",
"pref_shift_confirm":"1",
"pref_shift_drop":"0",
"pref_shift_autoconfirm":"0",
"pref_timeclock":"1",
"pref_tc_terminal_lock":"0",
"pref_tc_round_to":"-1",
"pref_tc_round_to_in":"-1",
"pref_tc_round_to_out":"-1",
"pref_tc_clock_in_timeframe":"-1",
"pref_tc_autoclockout":"0",
"pref_tc_webcam":"0",
"pref_tc_empl_import":"0",
"pref_tc_empl_addtime":"1",
"pref_tc_require_pos":"0",
"pref_tc_require_notes":"0",
"pref_24hr":"0",
"pref_date":"M j, Y",
"pref_startday":"1",
"pref_currency":"1",
"pref_viewadvance":"-1",
"pref_mintimebshifts":"0",
"pref_draft":"1",
"pref_reports":"1",
"pref_edit_profile":"1",
"pref_login_google":"1",
"pref_login_facebook":"1",
"pref_login_splogo":"1",
"pref_login_twitter":"1",
"pref_scosting":"3",
"pref_training":"1",
"settings":"{\"payroll\":{\"company_code\":\"5\",\"batch_id\":\"9\",
\"fixed_batch_id\":1,\"regular_hour_code\":\"R\",\"special_hour_code\":\"08
\",\"overtime_hour_code\":\"02\",\"company_name\":\"Test\",\"company_created_time
\":\"1329996350\",\"export_provider\":\"5\"},\"login\":{\"ssl\":null}}",
"notes":"",
"created_by":"0",
"new_employee_note":"",
"personal_welcome_sent":"1",
"ical":"asdmi2is929sda9dsa0dsad9sad0as0das0",
"trial":"90",
"nonprofit":"0",
"paid_until":"0",
"groupbilling":"1",
"setup":"0",
"aw_keyword":"",
"affiliate":"",
"saml_enabled":"1",
"saml_allow_login":"0",
"saml_login_url":"https:\/\/app.onelogin.com\/saml\/signon\/35439",
"saml_logout_url":"http:\/\/www.humanity.com?saml_logout=true",
"saml_certificate":"-----CERTIFICAT-----",
"saml_fingerprint":"xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx",
"timezone_id":"80",
"language":"en_US",
"daily_overtime":"9",
"pref_min_disregard":"0",
"max_days_row":"4",
"pref_same_day_trades":"1",
"pref_tc_screenshot":"0",
"group_platform_settings":"{\"Scheduler\":\"4\",\"Supervisor\":\"3
\",\"color_customization\":\"1\",\"color_nav\":\"#0A0A0A\",\"color_nav_text\":\"#ffffff
\",\"color_nav_left\":\"#F7F7F7\",\"color_nav_left_text\":\"#3F3F3F\",\"color_nav_left_act
\":\"#D6D6D9\",\"color_nav_left_act_text\":\"#3F3F3F\",\"color_links\":\"#99131E
\",\"color_headings\":\"#D12F19\",\"master_logo\":\"1\",\"disallow_logo\":\"1\",\"Manager
\":\"2\",\"Employee\":\"5\"}"
},
"token":"xxxxxxx"
}