My Oracle Support Banner

Special Characters Are Encoded In the JSON Responses From API Calls (Doc ID 3024164.1)

Last updated on JUNE 14, 2024

Applies to:

Oracle Primavera Cloud Service - Version 24.4 to 24.4 [Release 24.4]
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR

Some special characters are encoded in the JSON responses from API calls.

EXPECTED BEHAVIOR

Expect the API call response shows the same character values as it displays in OPC Application web page.

The issue can be reproduced at will with the following steps:

  1. Using REST API Tool to get data from from OPC application. Eg: GET  https://<OPCURL>/api/restapi/workspace
  2. From OPC application, a workspace with description field entered with value 'test/1/&2'.
  3. Above API call gets response content with the value showing as 'test/1/&amp;2'.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.