Hi mokbon. 2006 is right, "get the whole night" definitely does not have the same meaning as "stay up all night", and in fact it's difficult to think of any context for it. But here's a possibility:
If you rent a car for the evening you might get four hours with the car for $100, but if you pay $200 you get the whole night.