I have a script where I need to run an api in blank division independent on which division the user is logged into. In the v2 of the rest api there are query parameter for cono and divi and when using the miService.executeRequest these seems to be populated by the company and division the user is running in.
The IMIRequest implements the IMIOptions which have both parameters company and division, however even if these are set, they are not replacing the values in query parameters divi and cono.
Do you know any other way of override the divison in api calls in scripts?