Create a new datasource
post/api/2.0/datasources
Request body
OR
Response
Success
createdDateinteger
Created date in milliseconds
lastModDateinteger
Last modified date
idinteger
Datasource ID
namestring required
Datasource name
datasourcestring
Datasource type
userIdinteger
User ID of Datasource owner
connectorIdinteger
Connector ID of the connector that the datasource is assigned to
accessLevelinteger
Access level of the datasource for current user
usernamestring
Datasource owner's username
proxyboolean
Whether or not direct query can be allowed on a private agent for this datasource. Note that the private agent needs to have proxy enabled as well.
connectSchemaboolean
Whether or not this has schema detection enabled
directQueryOnlyboolean
Whether or not this datasource is only allow direct query
timeZonestring
Timezone
userEmailstring