Do “temporary” buildings or buildings without a foundation require a permit?

All structures require a permit even if they are “temporary” use (winter shelter, etc.) or are constructed in a “temporary” manner (no foundation, etc.)