cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Issue with REST API Returning Modified Text in Item Description

현전_11616217
4-Participant

Issue with REST API Returning Modified Text in Item Description

_11616217_3-1730093039577.png

 

Hello,

I've encountered an issue with the REST API where the description of a requirement item is returned incorrectly when retrieved via API call. After entering "adler32_z" into the description of an item and saving it, I used the REST API to fetch the item's details with the following GET request: GET /api/v3/items/%item_id%/fields.

Expectedly, I hoped to see "adler32_z" as the value of the Description field. However, the response returned "adler32~_z" instead. Here is the response I received:

 

_11616217_2-1730092788224.png

This issue appears to be specific to descriptions containing "adler32", as other descriptions seem to be fetched correctly. Could you please help me understand why this alteration in the text is happening? Is there a specific parsing or encoding rule that might be affecting text containing "adler32"?

Thank you for your assistance.

ACCEPTED SOLUTION

Accepted Solutions

Hello @현전_11616217 , the tilde ( ~ ) is for escaping, you can find the full list of escaped chars at the Escaping page.

 

Currently, there are no direct methods to remove the tilde, you can find some potential approaches at CS401389 - Extracting plain text from Codebeamer Wikitext fields is not possible through REST API

View solution in original post

1 REPLY 1

Hello @현전_11616217 , the tilde ( ~ ) is for escaping, you can find the full list of escaped chars at the Escaping page.

 

Currently, there are no direct methods to remove the tilde, you can find some potential approaches at CS401389 - Extracting plain text from Codebeamer Wikitext fields is not possible through REST API

Announcements



Top Tags