switch batch_create_openings api