ExpressX Query invocation
Method for query invocation (NOTE – it is possible to put simple query parameters directly as request parameters instead of forming 'jsonstring' – but it causes some overhead in the current implementation):
REPOSITORY_NAME/MODEL_NAME/QEX/QUERY_SCHEMA/FUNCTION_NAME?EDMSESSIONI
D=& queryoptions=&jsonstring=
Or
REPOSITORY_NAME/MODEL_NAME/QEX/QUERY_SCHEMA/FUNCTION_NAME?EDMSESSIONI
D=& queryoptions=&PARAM_NAME_1=&PARAM_NAME_2=…
Set values of 'REPOSITORY_NAME', 'MODEL_NAME', 'QUERY_SCHEMA', 'FUNCTION_NAME' according to your target model and query function, specify valid session ID. Default 'queryoptions' is 0 – setting it to 1 will cause returning query value without wrapping it into JSON (only for simple STRING query result).
'jsonstring' should be a JSON object containing all query parameters with matching names (case- sensitive) and order.
For simple/primitive query parameters it is possible to put them directly as request parameters (2nd variant of URL above) – completely replacing or complementing 'jsonstring', but in the current implementation it will cause some overhead, that is, one extra network call to resolve the query signature.
NOTE: JSON conversion of the returned value (if applied) always wraps data into an array with a single element (for example '["SOME_STRING_RESULT"]').