JA 5177 then AV 9796 at Bogotá
Santa Marta → Bogota → Barranquilla
Timetable, Bogota time
22:45JA 5177 from Santa Marta at the gate
21:20AV 9796 to Barranquilla leaves the gate
22 h 35 apart on the timetable, overnight
AV 9796 leaves 22 h 35 after JA 5177 arrives on the timetable: more than half a day, so not a connection we count.