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 Endpoint

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

        "name": "Dataset_Demo",

        "description": "Fake Grades",

        "rows": 16,

        "columns": 9,

        "owner": {

            "id": 518785304,

            "name": "Test1"

        },

        "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-7880w3aae80",

        "name": "MARKET - FLOW",

        "rows": 76552217,

        "columns": 122,

        "owner": {

            "id": 797328204,

            "name": "test2"

        },

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

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

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

        "pdpEnabled": true

    }]

Market Data API

{
    "datasource": "fbca55ee-3efa-43e1-884e-788014faae80",
    "columns": [
        "state_name",
        "count"
    ],
    "metadata": [
        {
            "type": "STRING",
            "dataSourceId": "fbca55ee-3efa-43e1-884e-788014faae80",
            "maxLength": -1,
            "minLength": -1,
            "periodIndex": 0,
            "aggregated": false
        },
        {
            "type": "LONG",
            "dataSourceId": "fbca55ee-3efa-43e1-884e-788014faae80",
            "maxLength": -1,
            "minLength": -1,
            "periodIndex": 0,
            "aggregated": true
        }
    ],
    "rows": [
        [
            "CALIFORNIA",
            72962216
        ]
    ],
    "numRows": 1,
    "numColumns": 2,
    "fromcache": false
}

Did this page help you?