The latest version for DAS is WSO2 Data Analytics Server 3.1.0. View documentation for the latest release.
WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
Skip to end of metadata
Go to start of metadata



getRecordsByIds(recordsInfo, success, error)


Returns all the records which match the given record IDs and the table.

OutputA JSON String array containing the matching records in the ‘message’ element within the argument of the success callback.


var recordsInfo = {
      	tableName : "TEST", //table being accessed
      	ids : [ "14399961246350.13125980939205978", "14399961246350.13125980939205999"] //interested ids

client.getRecordsByIds(recordsInfo, function(data) {
      console.log (data["message"]);
}, function(error) {
      console.log("error occured: " + error);  

Sample output

  • No labels