Knowledge Base Article

Set Up A Table In A REST Connector

This article explains how to set up a table in a REST Connector when the response to the API Endpoint is an array.
Sisense expects the results returned in the format of JSON documents. If an array is returned, Sisense converts the array into a document with the property "results".  
You should reference the "results" as the DataPath in your config.json file, for example: 
Example of an array as a response
[
  "someElementInArray": {
  }
]
Setting DataPath parameter
{
    "DataPath":"results"
}
Updated 02-16-2024
No CommentsBe the first to comment

About Data Sources

Node avatar for Data Sources
Guides for how to connect to and manage Data Sources
34 ArticlesCreated: 4 months agoLatest Activity: 06-04-2025