JA 5161 then P5 7288 at Bogotá
Cartagena → Bogota → Santa Marta
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
19:45P5 7288 to Santa Marta leaves the gate
20 h 30 apart on the timetable, overnight
P5 7288 leaves 20 h 30 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.