Skip to main content
https://.thoughtindustries.com

Bulk Import Course Group In Person Event

Bulk-imports in-person events for course groups from a pre-uploaded asset file. Submit the asset path to validate and process the import, optionally as a dry run

Bulk-imports in-person events for course groups from a pre-uploaded asset file. Submit the asset path to validate and process the import, optionally as a dry run.

POSThttps://example.thoughtindustries.com/incoming/v2/content/courseGroup/inPersonEvent/bulk

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/content/courseGroup/inPersonEvent/bulk" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "bulkImportAssetPath": "string"
}'

Parameters

NameTypeRequiredLocationDescription
bulkImportAssetPathstringYesbodyThe file path of the pre-uploaded asset containing the in-person event records to import.

Example response

{
  "dryRun": false,
  "backgroundJob": {
    "id": "00000000-0000-0000-0000-000000000000",
    "description": "string",
    "errorMessage": "string",
    "status": "complete"
  }
}

Response fields

FieldTypeDescription
dryRunbooleanWhether the import ran as a dry run. This endpoint always processes the import for real, so this is always false.
backgroundJobBackgroundJobThe background job created to process the bulk import.
backgroundJob.iduuidUnique identifier of the background job.
backgroundJob.descriptionstringHuman-readable description of the background job.
backgroundJob.errorMessagestringError message returned if the background job failed.
backgroundJob.statusBackgroundJobStatusCurrent status of the background job (e.g., complete).