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

Bulk Import In Person Event

Bulk-imports in-person event sessions from an asset file. Submit the path to a pre-uploaded asset, and the API validates each row, returning valid and invalid entries along with a background job that tracks processing

Bulk-imports in-person event sessions from an asset file. Submit the path to a pre-uploaded asset, and the API validates each row, returning valid and invalid entries along with a background job that tracks processing.

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

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/content/session/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 rows to import.

Example response

{
  "data": {
    "APIBulkInPersonEventImport": {
      "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 without persisting changes.
validRowsobject[]Array of row objects that passed validation and are eligible for import.
invalidRowsobject[]Array of row objects that failed validation, each containing details about the failure.
backgroundJobBackgroundJobThe background job created to process the import asynchronously.
backgroundJob.iduuidUnique identifier for the background job.
backgroundJob.typestringThe category or type of background job being executed.
backgroundJob.descriptionstringHuman-readable description of the background job's purpose.
backgroundJob.errorMessagestringError message populated if the background job fails during processing.
backgroundJob.createdAtISO 8601 timestampDate 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 execution status of the background job (e.g., complete).