Sample Response

Authorization API

{

    "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiUGFydGljaXBhbnQiLCJzY29wZSI6WyJkYXRhIl0sImRvbWFpbiI6InRyZfaf7KDoSQexiwiZXhwIjoxNjEyNDgxMDAxLCJlbnYiOiJwcm9kOSIsInVzZXJJZCI6NzU2NjE4Njc2LCJqdGkiOiJvSFBBclNXSlliT1czc3I2bU10WllJcjRMK1E9IiwiY2xpZW50X2lkIjoiYmFjNDhkZTAtNzYxNC00kld8oPiOWItNTNkOTA4MDcwMGM4IiwiY3VzdG9tZXIiOiJtbW1tLTAwMDktNjY4NyJ9.nO2CtqPP7pB8xC1i2WnXLHpMY_EghDwGp4KjW1_1sclpih_mYumxsYdCZu1uxRAgdy5WiW9nQcQQvyDc1gzy2JZ8ASflUx4Oecv-KC-vm_ioIqvZ2TfXCuHt53Ad7d-6cljD9ar6tAefocBhOqjWyuREPJOMWTF1F84KF5kVWKKSw7KWx06Gc6tiS06kRhhX0fYgAwDJG4WSI6RaT_Na56Y2jg89Du4SZevIuv5bsSsrcBpragJY8evqj4TVIb_0ieJPBkNYaAJT09NnveVLXYKxO9RhdppBqMuGVh6HdgTWmBZERiei-LcOMAaR-54068grTe1OYtlsV9e2uhqojw",

    "token_type": "bearer",

    "expires_in": 3599,

    "scope": "data",

    "customer": "mmmm-0009-6687",

    "env": "prod9",

    "userId": 42068420,

    "role": "Participant",

    "domain": "treez-io.domo.com",

    "jti": "oJKorSWJYbOW3sr6mM7uIIr4L+Q="

}

Available Dataset Tables

[{"id": "9a2b95e9-9184-4e5f-a505-1b33df0427c5",

        "name": "Dataset_Demo",

        "description": "Fake Grades",

        "rows": 16,

        "columns": 9,

        "owner": {

            "id": 518785304,

            "name": "Sheldon Playdle"

        },

        "dataCurrentAt": "2021-02-04T17:59:37Z",

        "createdAt": "2021-02-04T17:59:30Z",

        "updatedAt": "2021-02-04T17:59:38Z",

        "pdpEnabled": false

    },

    {"id": "fb3efdee-3aea-58e1-849e-7880w35aae80",

        "name": "MARKET - FLOW",

        "rows": 76552217,

        "columns": 122,

        "owner": {

            "id": 797328204,

            "name": "Graham Arnold"

        },

        "dataCurrentAt": "2021-02-04T12:43:53Z",

        "createdAt": "2020-04-03T16:39:10Z",

        "updatedAt": "2021-02-04T12:43:53Z",

        "pdpEnabled": true

    }]

Retail Data API

{

    "datasource": "9a2b95e9-9184-4e5f-a505-1b33df0427c5",

    "columns": [

        "Last name",

        "Test1",

        "Grade"

    ],

    "metadata": [

        {

            "type": "STRING",

            "dataSourceId": "9a2b95e9-9184-4e5f-a505-1b33df0427c5",

            "maxLength": -1,

            "minLength": -1,

            "periodIndex": 0,

            "aggregated": false

        },

        {

            "type": "DOUBLE",

            "dataSourceId": "9a2b95e9-9184-4e5f-a505-1b33df0427c5",

            "maxLength": -1,

            "minLength": -1,

            "periodIndex": 0,

            "aggregated": false

        },

        {

            "type": "STRING",

            "dataSourceId": "9a2b95e9-9184-4e5f-a505-1b33df0427c5",

            "maxLength": -1,

            "minLength": -1,

            "periodIndex": 0,

            "aggregated": false

        },

    ],

    "rows": [

        [

            "Alfalfa",

            47,

            "F"

        ],

        [

            "Alfred",

            96,

            "A"

        ],

        [

            "Gerty",

            74,

            "C"

        ],

        [

            "Android",

            82,

            "B-"

        ]

    ],

    "numRows": 4,

    "numColumns": 3,

    "fromcache": true

}