List of all Datasources
Endpoint Name: getdatasource
Request type : POST
Authorization: Bearer token as header
Endpoint Details: The getdatasource
endpoint will be used to get list and details of all datasources.
Method
URL
POST
URL/access/klearstack/getdatasource
Request Body
Params
Values
Description
company_name
string
Name of the company for which the user is logging in
API Response
Status code
Example Response
200
[{
"DataSourceName": "Twi mapping",
"field_name": [{
"name": "Customer",
"datatype": "string"
},
{
"name": "Customer name in traze",
"datatype": "string"
}
],
"DataSourceType": "excel_or_csv",
"DataSourceStatus": "true"
},
{
"DataSourceName": "hb",
"field_name": [{
"name": "USER_FIRST_NAME",
"datatype": "string"
},
{
"name": "USER_LAST_NAME",
"datatype": "string"
}
],
"DataSourceType": "excel_or_csv",
"DataSourceStatus": "true"
}
]
Last updated