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