getProfile(getProfileRequest $request)

Get user profile including token (api_key) to access all other functions.

Request parameters

  • email - user identity (e-mail address)
  • pass - user password

Example:

<?xml version = "1.0" encoding = "UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <SOAP-ENV:getProfile>
      <item>
        <email>user@bisnode.ee</email>
        <pass>assword</pass>
      </item>
    </SOAP-ENV:getProfile>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response

Example:

<?xml version = "1.0" encoding = "UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <SOAP-ENV:getProfileResponse>
      <profile>
        <email>user@bisnode.ee</email>
        <name>Bisnode User</name>
        <company_name>Bisnode AS</company_name>
        <reg_code></reg_code>
        <address></address>
        <role></role>
        <token>0c725874e737c8195de547f67692d8b976726561</token>
        <created>2014-01-01 12:00:00</created>
      </profile>
    </SOAP-ENV:getProfileResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Errors

  • No such user - username or password is wrong

Example:

<?xml version = "1.0" encoding = "UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
	<SOAP-ENV:Fault>
	  <faultcode>SOAP-ENV:Client</faultcode>
	  <faultstring>No such user</faultstring>
	</SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

See also