working version with http response code handling demonstrated in getallreports on limit=-2