Previous Topic: API Authentication

Next Topic: API Logout

API Login

This call authenticates a user using a set of CA EEM credentials, a certificate, or a session ID.

Because you can include authentication information in any API call URL, you do not need a separate login call in most cases. The login call is most useful for returning a Session ID, which can then be used to authenticate another call, such as getReportViewer.

The arguments used for this call are as follows:

API Login Examples

Command:

https://ELMSERVER:5250/spin/calmapi/calmapi_login.csp&username=xx&password=xx

Success Response:

  <?xml version="1.0" encoding="UTF-8" ?> 
 <Result>
  <Value>true</Value> 
  <Description>Authentication Successful.</Description>
  <SessionId>spin=62e39751-computername.domain.com49b8a97e-9bfd318-1</SessionId> 
  </Result>

The session ID opened by the login appears in the <SessionId> tag.

Failure Response:

<?xml version="1.0" encoding="UTF-8" ?> 
<Result>
<Value>false</Value>
	<Description> EE_AUTHFAILED Authentication Failed</Description>
</Result>

More information:

API Authentication

Query and Report Viewer Calls


Copyright © 2010 CA. All rights reserved. Email CA about this topic