PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

How to use PeopleCode to pass long authentication token value in REST API call

We are trying to build a REST API integration with third party system, and we need to call third party APIs. We have tested the API calls in Postman and it worked fine. Now we are struggling to create the integration in PeopleSoft. We built an AE which included below peoplecode to do a simple test, but we received "Attribute value too long for the token value" error message. The token value is over 700 characters, how should we pass this kind of long taken value using PeopleCode?

&Token = token value;
&Request = CreateMessage(Operation.IB_GENERIC_REST_POST);
&Request.OverrideURIResource(Third party URL);

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center