Public Web Services
	CTI manages a set of public web services for general use. Other web services require authorization and implement access controls. 
	Web services in general support RESTful interfaces and SOAP.  The engine supports JSON-RPC Version 2.0, JQUERY JSONP, traditional Ajax and SOAP.
	 
	Course Catalog Web Service
	Service URL: https://home.uprm.edu/engine/soa/rest/courses.php
	Method: courses
	Use: HTTP GET
	Parameters:
	query: A string with a course pattern to find. Valid formats are:  "MATE3032", "MATE3032V1", "MATE3***"
	Returns a <list>. An array of "items" each representing a course definition entry.
	 
	Method: professor_courses
	Use: HTTP GET
	Parameters:
	query: A string with a valid professor identifier. Could be a ColegioID number, a Username, a Student Number.
	term_code: A string representation of a TERM. Valid formats are "2012S1", etc.
	Returns a <list>. An array of "items" each representing a course section entry.
	 
	 
	
		
			| Example 1: | 
		
			| $(document).ready(function(){ var data = {'ajax':'course' 'query':'MATE3***' };
 $.ajax({'type':'GET', 'url':'/engine/soa/rest/courses.php', 'data': data, 'success': got_response, 'dataType':'json' });
 } );
 function got_response(data){
 console.log('here3');
 console.log(data);
 }
 | 
	
	 
	
		
			
				| Example 2: | 
			
				| $(document).ready(function(){ var data = {'ajax':'professor_courses', 'query':'100000336', 'term_code':'2012S2' };
 $.ajax({'type':'GET', 'url':'/engine/soa/rest/courses.php', 'data': data, 'success': got_response, 'dataType':'json' });
 } );
 function got_response(data){
 console.log('here3');
 console.log(data);
 }
 |