/** * Service Call: GetAdvancedPersonalData * @param GetAdvancedPersonalDataRequest $getAdvancedPersonalDataRequest * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return Types\Perm\GetAdvancedPersonalDataResponse * @throws APIException */ public function GetAdvancedPersonalData($getAdvancedPersonalDataRequest, $apiCredential = NULL) { $ret = new GetAdvancedPersonalDataResponse(); $resp = $this->call('Permissions', 'GetAdvancedPersonalData', $getAdvancedPersonalDataRequest, $apiCredential); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }
/** * Service Call: GetAdvancedPersonalData * @param GetAdvancedPersonalDataRequest $getAdvancedPersonalDataRequest * @param mixed $apiCredential - Optional API credential - can either be * a username configured in sdk_config.ini or a ICredential object * created dynamically * @return Types\Perm\GetAdvancedPersonalDataResponse * @throws APIException */ public function GetAdvancedPersonalData($getAdvancedPersonalDataRequest, $apiCredential = NULL) { $apiContext = new PPApiContext($this->config); $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION)); $ret = new GetAdvancedPersonalDataResponse(); $resp = $this->call('Permissions', 'GetAdvancedPersonalData', $getAdvancedPersonalDataRequest, $apiContext, $handlers); $ret->init(PPUtils::nvpToMap($resp)); return $ret; }