Hi CPI Experts,
I am working on SalesForce Integration.(ECC -> CPI -> SalesForce).It is Idoc to REST API call for Material master interface.
We are using access token for authorization.For each Idoc, authentication login API is called which causes performance problem.Salesforce team asked to reuse the access token until its validity.But in Login API,there is no expiry time and SF is not sure of access token validity time.
How to reuse the access token until its validity.Once gets expired ,new token should be retrieved and call the REST API again. Please let me know how to achieve this in CPI?
Regards,
Karthiga