How to get the Session ID for customer to integrated the API

2022-03-28   FAQ   1386   Ian   Inquire Now

First, maybe you need to update the server because the older server may not have this setting.

The latest server version  you can download from this link:

https://www.dropbox.com/s/n6wklayxwt8zs39/New%20server-20220628.zip?dl=0

Or you can contact us to get the newest server.

Second, find the file in server installation directory as below and change the setting:

    How to get the Session ID for customer integrated API Picture1

Since our web password had added encryption, if you need to use the password to get the seesion ID, then need to change this.

Third, restart the web server and clear the browser cache. 

After this, you can use the login API, example like below:

1) For Normal user login:

How to get the Session ID for customer integrated API Picture2

2) For admin user login:

How to get the Session ID for customer integrated API Picture3

Fourth, call verification code(loginCode) interface:

http://192.168.168.247:8080/code/verificationCode.do

(8080 is web port, you need to change it to your web port)

How to get the Session ID for customer integrated API Picture4How to get the Session ID for customer integrated API Picture5

Fifth, call Login API, loginCode is got from above step.

http://192.168.168.247:8080/user/login.do?userAccount=admin1&password=000000&loginCode=6715

How to get the Session ID for customer integrated API Picture6

"sessionId":"4500BD332B69A8066B0BE6A611922C02"

Download file:

How to get the Session ID for customer integrated API Picture7How to get the Session ID for customer to integrated the API.doc

Contact Us

Questions or comments? Please fill out the form below, send a quick message, or call us. We love to hear from you!

Zach Fan Frank Liu Candy
Sunny
Kuper
David

We use cookies to give you the best online experience. By continuing to browse the site you are agreeing to our cookies.