Append in Datasource

Endpoint Name: appenddatasource

Request type : POST

Authorization: Bearer token as header

Endpoint Details: The appenddatasourceendpoint will be used to append new data in datasource.

Method

URL

POST

URL/access/klearstack/appenddatasource

Request Body

Params

Values

Description

datasource_name

string

Name of the datasource

company_name

string

Name of the company for which the user is logging in

data

string(JSON)

A valid JSON string containing info about Datasource to be created. It contains info about which columns to create and datatype of those columns

Example:

{

"DataSourceName": "test ",

"DataSourceType": "excel_or_csv",

"DataSourceStatus": true,

"fields": [{

"name": "USER_FIRST_NAME",

"datatype": "string"

}, {

"name": "email",

"datatype": "string"

}]

}

dataset

Binary

Excel or CSV file containing data for datasource.

API Response

Status code

Example Response

200

{

"success": true,

“release_version”:”7.8.9”

}

Last updated