put https://slemma.com/api/v1/datasets
Creates a new Dataset object based on SQL query.
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. |