Hi
I am converting our code to communicate with Business Central using oData rather than SOAP to call pages, code units etc.
I am struggling with code units that require passing a parameter by reference - I can't figure out how to do this. Currently I am sending the parameters as json in HttpRequestMessage object's content. This works perfectly for code units that require normal parameters. However for parameters by reference, I get the error "Resource not found for the segment 'codeunit_functionName'". There is definitely nothing wrong with the name of the codeunit/function. The same error happens with any code unit requiring params by ref.
Any help would be most appreciated.