_get

Fetch the specified User.

Parameters

id

The ID of the User.

Example

FM_api('User_get', ['id' => '123']);

Result

On Success

{'id':'123',
'email':'user@domain.extension',
'name':'Test User',
'parent':'123',
'date_created':'2016-05-19 09:33:32',
'last-login':'2016-05-19 15:32:39',
'active':'1',
'permissions':'1',
'last_edited':'2016-05-19 12:00:54',
'edited_uuid':null,
'cost_per_hour':'0.0000',
'app_permissions':9',
'last_login_app_ver':'140',
'address':null,
'date_of_birth':null,
'phone_mobile':null,
'phone_landline':null,
'next_of_kin':null,
'hours_per_week':'40',
'gcm_id':null,
'meta':'{'login-md5':'490337414864da6d0344c654fae716ad',
         'login-md5-expires':'2016-07-16 14:32:51',
         'tmpLoginKey':'6db9dea2f6cb5c8064f01f92c6d8c77a'}',
'vehicle_id':null,
'dpt':'',
'server':'https://cp8.fieldmotion.com/',
'bgcolour':'',
'price_per_hour':'0.0000',
'uuid':'',
'app_make':null,
'app_model':null,
'app_platform':null,
'departments':null,
'app_repo':'19',
'has_image':0}

Last updated