Examples of using "私は一晩中おきていた。" in a sentence and their german translations:
Ich war die ganze Nacht wach.
Ich war die ganze Nacht auf.