Skip to main content

Add Data Source

Select

SaaS
Customer Managed

This operation adds a data source to the project

Request Body

NameDescription
datasourceType

values:- File System : 5- SharePoint : 28- Email : 29- OneDrive : 27- Database : 30- Google Drive : 32- Gmail : 33

Request Body
  • datasourceId integer
  • datasources object[]
  • datasourceType integer
  • datasourceName string
  • properties object[]
  • propertyName string
  • propertyValue string
Responses

OK


<DM2ContentIndexing_GetCollectionsResp> <collections> <datasources datasourceId="116" datasourceName="dm2perf2" /> </collections> <error /> </DM2ContentIndexing_GetCollectionsResp>
POST /ediscoveryclients/datasources    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"datasourceId": 0,
"datasources": [
{
"datasourceType": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/DataSources' \
-H 'Content-Type: application/json' \
-H 'Accept: text/plain' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"datasourceId": 0,
"datasources": [
{
"datasourceType": 0,
"datasourceName": "string",
"properties": [
{
"propertyName": "string",
"propertyValue": "string"
}
]
}
]
}'