Added offset field in API for getting submissions

Added offset field in API for getting submissions