B2B Integration : Trading Networks Built-In Services Reference : Query Folder : Summary of Elements in this Folder : wm.tn.query:getQueryResults
wm.tn.query:getQueryResults
Retrieves the results of the query that you executed using the wm.tn.query.doQuery service.
Input Parameters
queryID
String The ID of the executed query for which results must be retrieved. The ID must be the same as that of the query that was executed using the wm.tn.query:doQuery service. The ID is available in the queryOutput parameter of the wm.tn.query:doQuery service. For more information, see wm.tn.query:doQuery.
pageNumber
String The page number of the result set from which to retrieve the results. The query results are paginated based on the page size you specified in the wm.tn.query:doQuery service.
locale
String Optional. The locale for formatting the query results. Specify the two-letter ISO 639 language code for the language to use, and the two-letter ISO 3166 country code for the country that is associated with the language.
Use the format: <languagecode>_<countrycode>
For example, to localize for U.S. English, set the locale as 'en_US'.
IsMWS
String Optional. Defines whether the service is called from My webMethods Server or from a user using Designer. Valid values:
*yes Default. My webMethods Server calls the service.
*no A user calls the service using Designer.
Output Parameters
page
Document List The results of the query. Each entry in the document list corresponds to a row in the result set. The document has the following fields:
*rowData String List The data that results after the query execution. Each entry in the list corresponds to a column in the result set. The number of columns in the list is same as the number of columns in the result set.
*columns String List The names of the columns in the result set. Each row in the list corresponds to a column name in the result set.
threadRunning
String Indicates whether the thread executing the wm.tn.query:doQuery service is still running. Valid values are:
*true - Thread is running.
*false - Thread is not running.
rowsread
String The total number of records in the result set.
svcResponse
Document Conditional. The error messages, warnings, and other information that resulted while executing the service. For the structure of svcResponse, see wm.tn.rec:svcResponse.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback