GET https://plainly.com/report-json
GET https://plainly.com/report-csv
GET https://plainly.com/query-json
GET https://plainly.com/query-csv
h |
Required. The ID of the relevant dataset. |
key |
Required if you're not logged in. Dataset-specific API key. Obtained from the Export tab for the relevant dataset in the Data Studio. |
view |
Optional but recommended. Options are 1 or 0. If set to 1, dataset is rendered. If set to 0 or not set, the dataset is downloaded. |
only |
Optional. Use this to return only certain columns. See below for more options. |
filter |
Optional. Use this to return only rows which match the filter. See below for more options. |
unique |
Optional. Options are 1 or 0. If set to 1, only unique rows are returned. If set to 0 or not set, all rows are returned. |
sort |
Optional. Sort the dataset by a particular column. See below for more options. |
https://plainly.com/query-json?h=a1b2c3d4e5f6g7h8&key=8a7b6c5d4e3f2g1h&view=1
https://plainly.com/query-json?h=a1b2c3d4e5f6g7h8&key=8a7b6c5d4e3f2g1h&view=1&only=document_key[|]counterparty_name[|]start_date&filter=counterparty_name not_match Test_AND_start_date last_90&sort=start_date down&unique=1
Supported for document and task datasets.
&only={column_name}[|]{column_name}[|]{column_name}
&only=document_key[|]counterparty_name[|]start_date
Supported for all columns in document datasets and fixed columns only in task datasets.
&filter={column_name} {match_type} {value}_AND_{column_name} {match_type} {value}
&filter={column_name} {match_type}_AND_{column_name} {match_type}
&filter=counterparty_name not_match Test_AND_start_date last_90
Supported for all columns in document datasets and fixed columns only in task datasets. Overwrites any sort that's saved for the dataset in the Data Studio.
&sort={column_name} {down|up}
&sort=start_date down
Supported for document datasets only.
&max={column_name} &min={column_name} &count={column_name} &sum={column_name} &avg={column_name}