Search code examples
taleo

Getting SessionId of Taleo User


We are creating an application for TBE, which will bring all the requisitions and candidate from the Taleo Business Edition via Taleo Web API, so I have two questions.

  1. Is there necessary to send client's user credentials to obtain sessionId?
  2. Isn't there a way where we can send partner credentials(username, password) and get sessionId of the client which will be used further to make API call?

Solution

    1. The short answer is yes, you need to send credentials for an administrator to obtain an authToken. It's suggested that a new authToken be obtained for each 'transaction'. You need to make sure you logout by calling '/logout' after each transaction in order to release the slot back into the pool. You only get 20 concurrent connections.

    2. I'm not sure exactly what you mean by partner credentials. I suggest you create a separate user called something like 'APIAccess' and use it exclusively for all API calls.