curl --request POST \
--url https://api.example.com/datasets/sync/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"sync": {
"schedule_enabled": true,
"cron_schedule": "<string>",
"import_config": {
"integration_config": {
"domain": "<string>",
"query_type": "soql",
"query": "<string>",
"source": "salesforce"
},
"credential_secret": "<string>",
"output_dataset": "<string>",
"job_type": "integration"
}
},
"description": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://api.example.com/datasets/sync/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"name": "<string>",
"sync": {
"schedule_enabled": true,
"cron_schedule": "<string>",
"import_config": {
"integration_config": {
"domain": "<string>",
"query_type": "soql",
"query": "<string>",
"source": "salesforce"
},
"credential_secret": "<string>",
"output_dataset": "<string>",
"job_type": "integration"
}
},
"description": "<string>"
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response