cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SuccessFactor session timeout

sandeeplati
Discoverer
0 Likes
1,631

Hi Experts,

I am exploring the SuccessFactors APIs, and I am new to this platform. I want to know that:- what is the Session timeout value (time) for the Success Factor API. Please provide your valuable answers.

Thanks,

Sandeep

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member663843
Participant

Hi ,

If you are using the SuccessFactors OData API then, the OData API is not stateful. By default, each OData call needs to go through authentication and authorization. In reality, a user session is created for each API call. Creating user session is a resource-intensive process. Large number of concurrent API calls will stress the server and drastically increase response time.

If you are using SuccessFactors SOAP based API then before accessing any SuccessFactors data, you must establish a login session. You can programmatically check to validate that you are in a login sessionand logout at the end of the session to maximize application security.

The following objects are used in the sessionmanagement operations. This will give you the details of the session time and other details.

Name

Description

errorList of the error messages which occurred in the login process.msUntilPwdExpirationThe number of the ms (milliseconds) until the password will expire.sessionIdThe sessionId of the created session.

Sample SOAP Response.

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<loginResponse xmlns="urn:sfobject.sfapi.successfactors.com" xmlns:ns2="urn:fault.sfapi.successfactors.com">
<result>
<sessionId>
676D4E614BC41AB6660A4DC8AE267F31
</sessionId>
<msUntilPwdExpiration>
9223372036854775807
</msUntilPwdExpiration>
(Expired time in ms, this value means never expires)
</result>
</loginResponse>
</S:Body>
</S:Envelope>