/** * @url POST /users/data */ public function doGetUsersData($request_data) { try { $response = array(); $oMobile = new \ProcessMaker\BusinessModel\Light(); foreach ($request_data['user']['ids'] as $userUid) { $response[] = $oMobile->getUserData($userUid); } } catch (\Exception $e) { throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()); } return $response; }