good-roseG
Refine2y ago
14 replies
good-rose

Make Inferencer to use related objects id rather than the name

I have an issue with Refine Inferencer. I have the following REST response:
json 
[
    {
        "id": "d212dfb9-f17a-4367-80a6-c013ef99037e",
        "name": "Some example",
        "description": "",
        "account": {
            "id": "e547940e-f9ec-4aa4-97e6-c2f0edf35a08",
            "name": "Default"
        }
]

Then the inferencer tries to find the relation from this URL path: /accounts/Default
But it should look it from this path: /accounts/e547940e-f9ec-4aa4-97e6-c2f0edf35a08

How can I make the Inferencer work correctly so it would use the
id
instead of the name?
Was this page helpful?