I have function that exports a structure containing 4 numbers (int4). The function import is a flag.
I created a data model in SEGW for the function and created a GetEntity mapping
I encountered a problem that when I run the request with key = false AND all the numbers are 0, I get a "Resource not found for Segment"
When I run the request with key = true and all the numbers are 0 it works fine. When I run the request with key = false and at least one of the numbers is not 0 it works fine.
I guess I can resolve it by exporting a dummy number with the value 1, but I'd like to know if there is a better way to solve it.