Changed API sample for getting submission

Changed API sample for getting submission