AV 9787 then P5 7256 at Bogotá
Santa Marta → Bogota → Cali
Timetable, Bogota time
09:05AV 9787 from Santa Marta at the gate
05:10P5 7256 to Cali leaves the gate
20 h 05 apart on the timetable, overnight
P5 7256 leaves 20 h 05 after AV 9787 arrives on the timetable: more than half a day, so not a connection we count.