put
https://slemma.com/api/v1/datasets
Creates a new Dataset object based on SQL query.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns
Returns a new Dataset object if the call succeeded.
The following are the examples of HTTP status codes including errors that API can generate
| Response codes | Response content | Description |
|---|---|---|
| 200 OK | A dataset object | A dataset has been created successfully. |
| 400 Bad Request | Property 'IntegrationKey' cannot be empty | The field "IntegrationKey" cannot be empty. |
| 400 Bad Request | Properties 'SQL' and 'FullTableName' are empty | The fields "FullTableName", "SQL" cannot be empty. |
| 400 Bad Request | The SQL query that was specified is incorrect. |
