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

Bulk Import Course Group Webinar

Bulk imports course group webinar content from a specified asset path. Submit a dry run to validate rows before committing, or run a full import to create records in bulk

Bulk imports course group webinar content from a specified asset path. Submit a dry run to validate rows before committing, or run a full import to create records in bulk.

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

Example request

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

Parameters

NameTypeRequiredLocationDescription
bulkImportAssetPathstringYesbodyThe storage path to the asset file containing the bulk webinar import data.

Example response

{
  "data": {
    "APIBulkCourseGroupWebinarImport": {
      "dryRun": true,
      "validRows": [
        {}
      ],
      "invalidRows": [
        {}
      ],
      "backgroundJob": {
        "id": "00000000-0000-0000-0000-000000000000",
        "type": "string",
        "description": "string",
        "errorMessage": "string",
        "createdAt": "2024-01-01T00:00:00.000Z",
        "repeatable": true,
        "status": "complete"
      }
    }
  }
}

Response fields

FieldTypeDescription
dryRunbooleanIndicates whether the import ran in dry-run mode, validating rows without persisting any changes.
validRowsobject[]Array of rows from the import file that passed validation.
invalidRowsobject[]Array of rows from the import file that failed validation.
backgroundJobBackgroundJobThe background job created to process the bulk import.
backgroundJob.iduuidUnique identifier of the background job.
backgroundJob.typestringThe type classification of the background job.
backgroundJob.descriptionstringHuman-readable description of what the background job performs.
backgroundJob.errorMessagestringError message populated if the background job fails.
backgroundJob.createdAtISO 8601 timestampThe date and time the background job was created, in ISO 8601 format.
backgroundJob.repeatablebooleanIndicates whether the background job can be scheduled to run repeatedly.
backgroundJob.statusBackgroundJobStatusCurrent status of the background job (e.g., complete).