Q1. What is the Error means - You are not authorized to access TBO-API
Solution:This error occurs when we are getting hit from non-whitelisted IP. For this you have to connect with your service domain Partner and if you want to whitelist the IP It needs to be whitelisted from Ms. Pavneet Kaur end's
Also, this error comes in case where the client is sending request for live but using staging's URL.
Q2. How to call Authenticate method
Solution:Authenticate method will return the Token ID that needs to be echoed back in every subsequent request. In case of session expiry or log outs, the authenticate method needs to be called again and the updated Token ID needs to be passed in every subsequent request.Only 1 token should be generated for all transactions.
Parameters
ClientId
UserName
Password
EndUserIp
Q3.Token id validation
Solution:You need to generate only 1 token id in a single day as it is valid from "00:00:00 AM" till "11:59:59 PM" and same can be used for any API’s and on any server.