List facility batch imports for an organization.
GET/partner/v1.0/organizations/:organizationId/facilities/batch
List facility batch imports for an organization.
Request
Path Parameters
The ID of the organization.
Query Parameters
Possible values: [Accepted, Processing, Completed, CompletedWithErrors, Failed, Submitted]
The status to filter by, if required.
Default value: 1
The page number to retrieve. Defaults to 1.
Default value: 50
The number of jobs per page. Defaults to 50.
Responses
- 200
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
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, Submitted]
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 [
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, Submitted]
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 [
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, Submitted]
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"
}
]
}
]