API/EndUser/Account/createSession

From Emersion
Jump to: navigation, search

createSession

Purpose Create a user portal session for the user

Inputs

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:acc="http://api-uat.emersion.com.au/AccountObjects">
     <soapenv:Header/>
     <soapenv:Body>
        <acc:createSession>
           <acc:username>emesupport@telechoice.com.au</acc:username>
           <acc:password>********</acc:password>
        </acc:createSession>
     </soapenv:Body>
  </soapenv:Envelope>

Outputs

  <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api-uat.emersion.com.au/AccountObjects">
     <SOAP-ENV:Body>
        <ns1:createSessionResponse>
           <ns1:session>277ad5ce153972b038aa357efc6d8aa4580d02d8eb340a30428c082763e05d11</ns1:session>
        </ns1:createSessionResponse>
     </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>

Error String:

  • Invalid username / password