11-29-2016, 03:35 PM
Wow,
That's a lot. I've taken a look. Basically I could create a file in a new module and register the webservice method using 'registerWSAPI'. What's the 'prelogin' part? Also, if I specify a certain type (e.g. "POST", will it fail when I try it through a GET request? Is it mandatory to set the 'queryParameters' type in the 'parameters' in the 'operationInfo'? Basically I could make a webservice method that returns records from my module in any form I like, in array form? The webservice file will automatically JSON encode?
Lot of info, lot's of questions. But cool techniques.
That's a lot. I've taken a look. Basically I could create a file in a new module and register the webservice method using 'registerWSAPI'. What's the 'prelogin' part? Also, if I specify a certain type (e.g. "POST", will it fail when I try it through a GET request? Is it mandatory to set the 'queryParameters' type in the 'parameters' in the 'operationInfo'? Basically I could make a webservice method that returns records from my module in any form I like, in array form? The webservice file will automatically JSON encode?
Lot of info, lot's of questions. But cool techniques.