Say it clearly. Keep it simple.
Different time prepositions describe a starting point, a time window or duration. Seit/ab normally govern dative; innerhalb/während normally take genitive in standard writing.
Spot the clue
Innerhalb normally governs genitive; feminine singular is einer Woche.
Die Antwort kommt innerhalb einer Woche.
Aha! See the common trap
Try thisDie Antwort kommt innerhalb einer Woche.
Innerhalb sets a time window, not necessarily the whole duration of an activity.
More examples, less guessing
Die Antwort kommt innerhalb einer Woche.The answer will arrive within a week.