Currently there is a mismatch between frontend and backend for several parameters, so front-end changes these parameters before sending an api call. It would be more straight forward to simply change what the backend can accept:
- Backend expects
municipality param, but in the front-end we use and display city param in the address bar.
- For the
doctype param, when its value is organization in the front-end, the corresponding value in the backend is entity
Alternatively, the backend could accept both the current and suggested above params
Currently there is a mismatch between frontend and backend for several parameters, so front-end changes these parameters before sending an api call. It would be more straight forward to simply change what the backend can accept:
municipalityparam, but in the front-end we use and displaycityparam in the address bar.doctypeparam, when its value isorganizationin the front-end, the corresponding value in the backend isentityAlternatively, the backend could accept both the current and suggested above params