I\'m trying to extract a portion of a layer in an ArcGIS REST Service so I can import it into a geodatabase for analysis. I need a script because this is a repetitive task.