Skip to end of metadata
Go to start of metadata

Problem

A 404 error occurs when calling the REST interface of iteraplan with a filter added to the URL.

For example consider the following REST request, which aims to return all Information Systems with the Status Current.

<ITERAPLAN_URL>/api/data/InformationSystem[@status values="Current"]

Should this generate a 404 error, the symbols ( [ ] @ etc.) of the REST request are not interpreted correctly.

Solution

Encode the symbols of the REST request within the URI using the percent encoding. In the example above this would lead to:

<ITERAPLAN_URL>/api/data/InformationSystem%5B%40status%20values=%22Current%22%5D

You can also check the server.xml file of your Tomcat installation for the suitable character encoding: https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q2