Add Data Source
Select
SaaS
Customer Managed
This operation adds a data source to the project
Request Body
Name | Description |
datasourceType | values:- File System : 5- SharePoint : 28- Email : 29- OneDrive : 27- Database : 30- Google Drive : 32- Gmail : 33 |
- application/json
Request Body
- datasourceId integer
datasources object[]
Responses
- 200
OK
- text/plain
- Add File System Data Source
- Add F S O Client Data Source
<DM2ContentIndexing_GetCollectionsResp> <collections> <datasources datasourceId="116" datasourceName="dm2perf2" /> </collections> <error /> </DM2ContentIndexing_GetCollectionsResp>
<DM2ContentIndexing_GetCollectionsResp>
<collections>
<datasources datasourceId="116" datasourceName="fso_ds_localdata" />
</collections>
<error />
</DM2ContentIndexing_GetCollectionsResp>
POST /ediscoveryclients/datasources
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'
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"
}
]
}
]
}'