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"
}
**See full documentation here: https://sisense.dev/guides/legacy/customRest/configuration/tables.html#datapath-details
Updated 02-16-2024
intapiuser
Admin
Joined December 15, 2022