Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to Escape special charters (like space) in query parameters in REST adapter — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Escape special charters (like space) in query parameters in REST adapter

Accepted answer
31
Views
1
Comments
edited Aug 18, 2022 9:14AM in Integration 1 comment

Summary:

How to escape special charters (like space) in query parameters in REST adapter.

OIC is encoding the value for Space -> + instead of %20

Content (required):

Actual endpoint -> /UserCurriculumStatuses?$filter=criteria/userID eq '318900' and criteria/curriculumID eq 'AD-Core'

OIC is encoding - /UserCurriculumStatuses?$filter=criteria%2FuserID+eq+%27318900%27+and+criteria%2FcurriculumID+eq+%27AD-Core%27


Expecting endpoint -

  1. /UserCurriculumStatuses?$filter=criteria/userID eq '318900' and criteria/curriculumID eq 'AD-Core'
  2. /UserCurriculumStatuses?$filter=criteria%2FuserID%20eq%20%27318900%27%20and%20criteria%2FcurriculumID%20eq%20%27AD-Core%27

Version (include the version you are using, if applicable):

Version: 22.3.2

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!