2.1 Generate Token
Description
You need to provide token in HTTP request header everytimes in order to use this API. This section will show you how to get the token. The access token will only valid for 30 minutes. After that, you need to use the refresh token to get a new access token to use the API. Refer to Section 2.2 to use the refresh token.
To reset your refresh token, go to:
Sandbox/Testing URL: https://lweshipping-sandbox.azurewebsites.net/User/Api
Production/Live URL: https://prinship.unixus.com.my/User/Api
Generate Token
This section will show how to generate the refresh and access token.
Step 1 : Click on ADD button.
Step 2 : Enter your token name and click Yes
Step 3 : Click on Add to generate token.
Step 4 : The Access token and Refresh token will be shown one time only.Copy your refresh token and access token and store in a safe place. Click OK to close the window.