JA 5173 then AV 9512 at Bogotá
Santa Marta → Bogota → Barranquilla
Timetable, Bogota time
23:35JA 5173 from Santa Marta at the gate
15:50AV 9512 to Barranquilla leaves the gate
16 h 15 apart on the timetable, overnight
AV 9512 leaves 16 h 15 after JA 5173 arrives on the timetable: more than half a day, so not a connection we count.