Let me provide a comprehensive comparison of API versus batch import for candidate data integration:
API Rate Limits: UKG Pro cloud enforces 1000 API calls per hour per OAuth client for recruiting endpoints. For your volume of 500-800 candidates per week (averaging 100-150 per day), you’re well within normal limits. However, consider:
- Each candidate typically requires 3-5 API calls (create candidate, add application, attach documents, create screening records)
- During high-volume hiring events (campus recruiting, job fairs), you could temporarily exceed limits
- Rate limit response (HTTP 429) includes a ‘Retry-After’ header indicating when to retry
- Implement exponential backoff retry logic to handle rate limiting gracefully
Batch import has no rate limits but processing time scales linearly with batch size. A 500-record batch takes approximately 12-15 minutes to process.
Batch Import Scheduling: Cloud batch import offers flexible scheduling but with inherent trade-offs:
- Minimum interval: 1 hour (configurable in System Configuration > Integration > Batch Schedules)
- Processing window: 10-15 minutes for typical 100-200 record batches
- Validation time: Additional 5-10 minutes for data quality checks
- Optimal schedule: Every 2-4 hours during business hours balances freshness with system load
More frequent scheduling (hourly) risks job queuing during peak periods. Less frequent scheduling (daily) creates unacceptable data staleness for recruiting operations. Our recommendation: 4-hour intervals during business hours (8am, 12pm, 4pm) plus one overnight batch.
Error Feedback Mechanisms: This is where API and batch differ significantly:
API approach:
- Immediate feedback: 2-3 second response per API call
- Granular error reporting: Specific field validation errors, constraint violations, data type mismatches
- Independent transactions: One failed candidate doesn’t affect others
- Real-time alerting: Integration can notify recruiters immediately of failures
- Retry flexibility: Can retry failed records with corrected data immediately
Batch import approach:
- Delayed feedback: Error report available after entire batch completes (10-15 minutes)
- Aggregate reporting: Summary of all failures with record identifiers and error types
- Batch-level transactions: Failed records don’t block batch, but error discovery is delayed
- Scheduled correction: Failed records must wait for next batch cycle to retry
- Simpler error handling: Single report to review rather than monitoring individual API calls
For your recruiting operations, API’s immediate error feedback is valuable for time-sensitive candidate processing. However, batch import’s aggregate reporting simplifies error review for high-volume operations.
Audit Trail Differences: Critical for compliance with EEOC, OFCCP, and GDPR requirements:
API audit trail:
- Granular logging: Individual record creation/update with precise timestamp (millisecond accuracy)
- Calling context: OAuth client ID, user context (if applicable), source system identifier
- Data lineage: Complete history of changes to each candidate record
- Immutable logs: Cannot be modified post-creation, satisfying audit requirements
- Query capability: Can filter logs by candidate ID, timeframe, calling application, or error type
Batch import audit trail:
- Batch-level logging: Single entry per batch execution with aggregate statistics
- Limited granularity: Timestamp indicates when batch started, not when individual records processed
- Summary reporting: Record counts (successful, failed, skipped) without individual record details
- Compliance gaps: Harder to prove exact timing of specific candidate data receipt
For regulated recruiting (government contractors, healthcare), API’s granular audit trail significantly simplifies compliance reporting and audit responses.
Practical Recommendation: For your volume and requirements, a hybrid approach often works best:
-
Use API for real-time critical data: Active candidate applications, interview scheduling updates, offer status changes (requires immediate recruiter visibility)
-
Use batch import for bulk operations: Initial candidate data loads, historical data migrations, periodic candidate pool refreshes (where timing is less critical)
-
Implement proper error handling for both: API needs retry logic with exponential backoff; batch needs automated error report review and correction workflows
This hybrid approach balances real-time responsiveness for critical recruiting operations with the simplicity and reliability of batch processing for bulk data movement. The granular API audit trail satisfies compliance requirements while batch import handles high-volume scenarios efficiently.