Get the status of a batch import job.
GET/partner/v1.0/organizations/:organizationId/activities/batch/:batchId
Get the status of a batch import job.
Request
Path Parameters
The ID of the organization
The batch ID returned from the import request
Responses
- 200
- 404
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
Unique identifier for the batch import.
Organization ID associated with the import.
Inventory ID for activities (if applicable).
Source system identifier from the request.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed]
Status types for import jobs.
Total number of records in the import.
Number of records processed so far.
Number of records successfully created.
Number of records updated.
Number of records skipped (duplicates).
Number of records that failed to process.
errors
object[]
nullable
List of errors for failed records.
Index of the record in the import (0-based).
External ID of the record, if available.
Error message describing the failure.
Error code for programmatic handling.
{
"batchId": "string",
"organizationId": "string",
"inventoryId": "string",
"sourceSystem": "string",
"status": "Accepted",
"totalRecords": 0,
"processedRecords": 0,
"createdRecords": 0,
"updatedRecords": 0,
"skippedRecords": 0,
"failedRecords": 0,
"errors": [
{
"recordIndex": 0,
"externalId": "string",
"message": "string",
"code": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Unique identifier for the batch import.
Organization ID associated with the import.
Inventory ID for activities (if applicable).
Source system identifier from the request.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed]
Status types for import jobs.
Total number of records in the import.
Number of records processed so far.
Number of records successfully created.
Number of records updated.
Number of records skipped (duplicates).
Number of records that failed to process.
errors
object[]
nullable
List of errors for failed records.
Index of the record in the import (0-based).
External ID of the record, if available.
Error message describing the failure.
Error code for programmatic handling.
{
"batchId": "string",
"organizationId": "string",
"inventoryId": "string",
"sourceSystem": "string",
"status": "Accepted",
"totalRecords": 0,
"processedRecords": 0,
"createdRecords": 0,
"updatedRecords": 0,
"skippedRecords": 0,
"failedRecords": 0,
"errors": [
{
"recordIndex": 0,
"externalId": "string",
"message": "string",
"code": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
Unique identifier for the batch import.
Organization ID associated with the import.
Inventory ID for activities (if applicable).
Source system identifier from the request.
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed]
Status types for import jobs.
Total number of records in the import.
Number of records processed so far.
Number of records successfully created.
Number of records updated.
Number of records skipped (duplicates).
Number of records that failed to process.
errors
object[]
nullable
List of errors for failed records.
Index of the record in the import (0-based).
External ID of the record, if available.
Error message describing the failure.
Error code for programmatic handling.
{
"batchId": "string",
"organizationId": "string",
"inventoryId": "string",
"sourceSystem": "string",
"status": "Accepted",
"totalRecords": 0,
"processedRecords": 0,
"createdRecords": 0,
"updatedRecords": 0,
"skippedRecords": 0,
"failedRecords": 0,
"errors": [
{
"recordIndex": 0,
"externalId": "string",
"message": "string",
"code": "string"
}
]
}
Not Found
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}