<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mediawiki.emersion.com.au/wiki/index.php?action=history&amp;feed=atom&amp;title=API%2FUserPortal%2FCreateSession</id>
		<title>API/UserPortal/CreateSession - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://mediawiki.emersion.com.au/wiki/index.php?action=history&amp;feed=atom&amp;title=API%2FUserPortal%2FCreateSession"/>
		<link rel="alternate" type="text/html" href="https://mediawiki.emersion.com.au/wiki/index.php?title=API/UserPortal/CreateSession&amp;action=history"/>
		<updated>2026-04-29T13:12:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>https://mediawiki.emersion.com.au/wiki/index.php?title=API/UserPortal/CreateSession&amp;diff=2661&amp;oldid=prev</id>
		<title>Jlee: Created page with &quot; '''Purpose '''  The Create Session method will allow you to create a tokenised session to simplify login process into the user portal. By creating a token and redirecting in,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.emersion.com.au/wiki/index.php?title=API/UserPortal/CreateSession&amp;diff=2661&amp;oldid=prev"/>
				<updated>2014-09-10T07:46:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;#039;&amp;#039;&amp;#039;Purpose &amp;#039;&amp;#039;&amp;#039;  The Create Session method will allow you to create a tokenised session to simplify login process into the user portal. By creating a token and redirecting in,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
'''Purpose '''&lt;br /&gt;
&lt;br /&gt;
The Create Session method will allow you to create a tokenised session to simplify login process into the user portal. By creating a token and redirecting in, you don't have to have a client check in twice.&lt;br /&gt;
&lt;br /&gt;
'''Inputs'''&lt;br /&gt;
  &amp;lt;soapenv:Header/&amp;gt;&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;user:CreateSessionRequest&amp;gt;&lt;br /&gt;
         &amp;lt;username&amp;gt;username@domain.com.au&amp;lt;/username&amp;gt;&lt;br /&gt;
         &amp;lt;password&amp;gt;abc123&amp;lt;/password&amp;gt;&lt;br /&gt;
      &amp;lt;/user:CreateSessionRequest&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Output'''&lt;br /&gt;
  &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;ns1:CreateSessionResponse&amp;gt;&lt;br /&gt;
         &amp;lt;session&amp;gt;8dd43e08096399e7615dc4866830aafb5ecf843010dec1c37720de4554bf4f62&amp;lt;/session&amp;gt;&lt;br /&gt;
      &amp;lt;/ns1:CreateSessionResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Further notes / usage'''&lt;br /&gt;
&lt;br /&gt;
The method will return you a login key. This login key can be used to redirect a client directly to the userportal and log them in with their validated account. The syntax for this post call is:&lt;br /&gt;
&lt;br /&gt;
https://portal.your-domain.com/?login=&amp;lt;sessionkey&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where ‘sessionkey’ is the return value of the API call above. This post call will automatically log in the validated user with this session key and redirect them to the main menu of the userportal.&lt;br /&gt;
&lt;br /&gt;
'''Error String'''&lt;br /&gt;
&lt;br /&gt;
173.	Invalid username&lt;br /&gt;
&lt;br /&gt;
174.	Invalid password for username supplied&lt;/div&gt;</summary>
		<author><name>Jlee</name></author>	</entry>

	</feed>