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.
POST
https://example.thoughtindustries.com/incoming/v2/content/session/inPersonEvent/bulkExample 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
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
bulkImportAssetPath | string | Yes | body | The 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
| Field | Type | Description |
|---|---|---|
dryRun | boolean | Indicates whether the import ran in dry-run mode without persisting changes. |
validRows | object[] | Array of row objects that passed validation and are eligible for import. |
invalidRows | object[] | Array of row objects that failed validation, each containing details about the failure. |
backgroundJob | BackgroundJob | The background job created to process the import asynchronously. |
backgroundJob.id | uuid | Unique identifier for the background job. |
backgroundJob.type | string | The category or type of background job being executed. |
backgroundJob.description | string | Human-readable description of the background job's purpose. |
backgroundJob.errorMessage | string | Error message populated if the background job fails during processing. |
backgroundJob.createdAt | ISO 8601 timestamp | Date and time the background job was created, in ISO 8601 format. |
backgroundJob.repeatable | boolean | Indicates whether the background job can be scheduled to run repeatedly. |
backgroundJob.status | BackgroundJobStatus | Current execution status of the background job (e.g., complete). |