code: public static location[] get(nitro_service service) throws Exception{
  		location obj = new location();
  		location[] response = (location[])obj.get_resources(service);
  		return response;
  	}
docs: Use this API to fetch all the location resources that are configured on netscaler.