AV 9789 then JA 5124 at Bogotá
Cartagena → Bogota → Medellín
Timetable, Bogota time
16:00AV 9789 from Cartagena at the gate
15:15JA 5124 to Medellín leaves the gate
23 h 15 apart on the timetable, overnight
JA 5124 leaves 23 h 15 after AV 9789 arrives on the timetable: more than half a day, so not a connection we count.