<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>VerticalResponse API</title>
		<link>http://forums.verticalresponse.com/api/</link>
		<description>VerticalResponse Developer Network forums</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 19:19:43 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.verticalresponse.com/api/images/misc/rss.jpg</url>
			<title>VerticalResponse API</title>
			<link>http://forums.verticalresponse.com/api/</link>
		</image>
		<item>
			<title>Call to method getUserByEmailAddress not allowed for this session</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=262&amp;goto=newpost</link>
			<pubDate>Sat, 14 Nov 2009 12:48:44 GMT</pubDate>
			<description>Unable to access certain function on Vertical Response.  
 
Call to method getUserByEmailAddress not allowed for this session 
 
 
Part of my...</description>
			<content:encoded><![CDATA[<div>Unable to access certain function on Vertical Response. <br />
<br />
Call to method getUserByEmailAddress not allowed for this session<br />
<br />
<br />
Part of my wrapper's code is below:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; public function getMemberInfoByEmail($sid,$email) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $info = $this-&gt;_vr-&gt;getUserByEmailAddress( array(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'session_id' =&gt; $sid,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'email_address' =&gt; $email<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return $info;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>The code is able to connect SOAP and login to VR but fails when access the getUserByEmailAddress function.</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=13">Getting Started</category>
			<dc:creator>Jhourlad</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=262</guid>
		</item>
		<item>
			<title>enumerateSegmentationQueries not allowed for session</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=261&amp;goto=newpost</link>
			<pubDate>Fri, 13 Nov 2009 04:47:18 GMT</pubDate>
			<description>Hi 
 
I have created some segmentation queries via the web interface. When I try to enumerate segmentation queries via the api using Java, I get  
...</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I have created some segmentation queries via the web interface. When I try to enumerate segmentation queries via the api using Java, I get <br />
<br />
Exception: org.apache.axis.AxisFault<br />
Message: Call to method enumerateSegmentationQueries not allowed for this session<br />
---- stack trace ---------------------------------------------------------------<br />
AxisFault<br />
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}VRAPI.CannotCallMethod<br />
 faultSubcode: <br />
 faultString: Call to method enumerateSegmentationQueries not allowed for this session<br />
 faultActor: <br />
 faultNode: <br />
 faultDetail: <br />
	{http://xml.apache.org/axis/}stackTrace:Call to method enumerateSegmentationQueries not allowed for this session<br />
org.apache.axis.message.SOAPFaultBuilder.createFau  lt(SOAPFaultBuilder.java:222)<br />
etc<br />
<br />
I can enumerate lists and campaigns without any problems.<br />
<br />
My thought was to have a small set of segmentation queries that could be created using the VR web interface. My software could list these for the user. Once the user chose one, it could be run to generate a new list from a &quot;master&quot; list. The new list would then be used almost immediately for a campaign.<br />
<br />
Have I misunderstood how segmentation queries work? Using them was not the original plan, but from the API documentation it appeared it would be much simpler to manage things using them.<br />
<br />
Cheers,<br />
Anne.</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=9">Segmentation</category>
			<dc:creator>ajessel</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=261</guid>
		</item>
		<item>
			<title><![CDATA["SOAP-ENV:VRAPI.InvalidLogin" - The username or password supplied was incorrect]]></title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=260&amp;goto=newpost</link>
			<pubDate>Fri, 13 Nov 2009 02:45:34 GMT</pubDate>
			<description>Here is a part of the class I am using to connect to VR service but somehow fails both with Trial and Enterprise accounts. I wonder what am I doing...</description>
			<content:encoded><![CDATA[<div>Here is a part of the class I am using to connect to VR service but somehow fails both with Trial and Enterprise accounts. I wonder what am I doing wrong here:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
/**<br />
&nbsp;* VerticalResponse Helper Class<br />
&nbsp;* Class that communicates with VerticalResponse service<br />
&nbsp;* @author Jhourlad G. Estrella<br />
&nbsp;*/<br />
<br />
class VerticalResponse {<br />
&nbsp; &nbsp; &nbsp; &nbsp; const SERVER&nbsp; &nbsp; &nbsp; &nbsp;  = 'https://api.verticalresponse.com/wsdl/1.0/VRAPI.wsdl';<br />
&nbsp; &nbsp; &nbsp; &nbsp; const CERT_PATH = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; const CERT_PASS = null;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; // SOAP connection parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected $_soap_params;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; // The VerticalResponse object<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected $_vr;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; // VR connecttion parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected $_vr_params;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; // VR connection parameters<br />
&nbsp; &nbsp; &nbsp; &nbsp; protected $_sessid;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; /**<br />
&nbsp; &nbsp; &nbsp; &nbsp; * VerticalResponse class constructor<br />
&nbsp; &nbsp; &nbsp; &nbsp; * <br />
&nbsp; &nbsp; &nbsp; &nbsp; * @param string $user username of the VR account to use<br />
&nbsp; &nbsp; &nbsp; &nbsp; * @param string $pass password of the VR account to use<br />
&nbsp; &nbsp; &nbsp; &nbsp; * @param integer $trace I don't know what this parameter is<br />
&nbsp; &nbsp; &nbsp; &nbsp; */<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; public function __construct($user='', $pass='', $duration=120, $trace=1) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(self::CERT_PATH) { $this-&gt;_soap_params['local_cert'] = self::CERT_PATH; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(self::CERT_PASS) { $this-&gt;_soap_params['passphrase'] = self::CERT_PASS; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($trace)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { $this-&gt;_soap_params['trace']&nbsp; &nbsp; &nbsp; = $trace; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //print_r($this-&gt;_soap_params);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //die();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(is_array($this-&gt;_soap_params)) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;_vr = new SoapClient(self::SERVER,$this-&gt;_soap_params);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;_vr = new SoapClient(self::SERVER);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;_vr_params = array(<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'username' =&gt; $user,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'password' =&gt; $pass,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'session_duration_minutes' =&gt; $duration<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //print_r($this-&gt;_vr_params);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //die();&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;_sessid = $this-&gt;_vr-&gt;login($this-&gt;_vr_params);<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Zend_Debug::dump($this-&gt;_sessid);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; die(&quot;SESSION ID: &quot;.$this-&gt;_sessid);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } catch(SoapFault $exception) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo 'Fault: &quot;' . $exception-&gt;faultcode . '&quot; - ' . $exception-&gt;faultstring . &quot;\n&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</code><hr />
</div><br />
It returns this error message:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Fault: &quot;SOAP-ENV:VRAPI.InvalidLogin&quot; - The username or password supplied was incorrect.</code><hr />
</div></div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=13">Getting Started</category>
			<dc:creator>Jhourlad</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=260</guid>
		</item>
		<item>
			<title><![CDATA[Hey I'm new]]></title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=246&amp;goto=newpost</link>
			<pubDate>Tue, 10 Nov 2009 01:51:40 GMT</pubDate>
			<description><![CDATA[What's up everyone, I'm new to the forum and just wanted to say hey. Hopefully I posted this in the right section!]]></description>
			<content:encoded><![CDATA[<div>What's up everyone, I'm new to the forum and just wanted to say hey. Hopefully I posted this in the right section!</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=4">List</category>
			<dc:creator>Prelidituedia</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=246</guid>
		</item>
		<item>
			<title>I received unusual email.</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=244&amp;goto=newpost</link>
			<pubDate>Fri, 30 Oct 2009 09:06:59 GMT</pubDate>
			<description>It is with this forum. I received an usual email with a foreign if not a gibberish language. As i opened it, it was like trying to ask to let you...</description>
			<content:encoded><![CDATA[<div>It is with this forum. I received an usual email with a foreign if not a gibberish language. As i opened it, it was like trying to ask to let you press okay or something. I don't know. I just did not click.. I hope this forum has not been invaded by people who send viruses.<br />
<br />
<img src="http://storeyourpicture.com/images/signature_onlinesurvey.jpg" border="0" alt="" /></div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=7">Miscellaneous</category>
			<dc:creator>carlobee</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=244</guid>
		</item>
		<item>
			<title>Impersonation not being used</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=243&amp;goto=newpost</link>
			<pubDate>Wed, 28 Oct 2009 14:11:37 GMT</pubDate>
			<description><![CDATA[We are able to log in to the API with our main account, create campaigns and lists, and send them.  However, if we try to specify a client's...]]></description>
			<content:encoded><![CDATA[<div>We are able to log in to the API with our main account, create campaigns and lists, and send them.  However, if we try to specify a client's subaccount with the &quot;impersonate_user&quot; parameter it appears to be ignored; all campaigns and lists still go to our root account.  I have noticed that we are able to login in with or without the certificate; does this indicate anything?<br />
<br />
PHP code:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">$wsdl = &quot;https://api.verticalresponse.com/wsdl/1.0/VRAPI.wsdl&quot;;<br />
$vr = new SoapClient( $wsdl, array() );<br />
$session_id = $vr-&gt;login(array(<br />
&nbsp; &nbsp; 'username' =&gt; $user,<br />
&nbsp; &nbsp; 'password' =&gt; $pass,<br />
&nbsp; &nbsp; 'session_duration_minutes' =&gt; 3,<br />
&nbsp; &nbsp; 'impersonate_user' =&gt; $client_email<br />
&nbsp; &nbsp; ));</code><hr />
</div>Thanks,<br />
-David</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=11">Partner</category>
			<dc:creator>DHanson</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=243</guid>
		</item>
		<item>
			<title>Running a Billing Report on Sub-Companies</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=242&amp;goto=newpost</link>
			<pubDate>Tue, 27 Oct 2009 19:56:48 GMT</pubDate>
			<description>We will be creating Companies through the API and they will be sharing our credit ledger.  We were wondering if there was a way through the API to...</description>
			<content:encoded><![CDATA[<div>We will be creating Companies through the API and they will be sharing our credit ledger.  We were wondering if there was a way through the API to determine how many email credits a Company used for a specific time period.  We would use this data to bill them.<br />
<br />
And what if they buy credits with their own credit card... is this even possible?  Obviously, we would not want to bill them for any they purchased on their own.<br />
<br />
Thanks, Colin</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=10">Billing</category>
			<dc:creator>colin</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=242</guid>
		</item>
		<item>
			<title>What are partner_integration and use_partner_credit_ledger fields?</title>
			<link>http://forums.verticalresponse.com/api/showthread.php?t=241&amp;goto=newpost</link>
			<pubDate>Fri, 23 Oct 2009 16:25:51 GMT</pubDate>
			<description>Can I have more details on these two fields please. 
 
use_partner_credit_ledger 
...</description>
			<content:encoded><![CDATA[<div>Can I have more details on these two fields please.<br />
<br />
use_partner_credit_ledger<br />
<br />
<a href="https://api.verticalresponse.com/partner-wsdl/1.0/documentation.html#createCompany" target="_blank">https://api.verticalresponse.com/par...#createCompany</a><br />
<br />
<br />
partner_integration<br />
<br />
<a href="https://api.verticalresponse.com/partner-wsdl/1.0/documentation.html#createUser" target="_blank">https://api.verticalresponse.com/par...tml#createUser</a><br />
<br />
<br />
I've read the descriptions in the API but I am still unclear as to what they can be used for.<br />
<br />
Thanks, Colin</div>

]]></content:encoded>
			<category domain="http://forums.verticalresponse.com/api/forumdisplay.php?f=11">Partner</category>
			<dc:creator>colin</dc:creator>
			<guid isPermaLink="true">http://forums.verticalresponse.com/api/showthread.php?t=241</guid>
		</item>
	</channel>
</rss>
