SWS XML & JSON – Ready for Testing


A build of Student Web Service with XML/JSON/XHTML payloads for all resources (with the exception of GradeRoster) is ready for testing. This is in response to many of you who shared with us your thoughts via Uservoice, emails, chat, and/or face to face meetings. We understand that to help advance developer adoption of web services it is important we offer XML and JSON representations of our web services.

Things you should know:

  1. Production release scheduled for the end of this month.
  2. All uris, including public, have remained unchanged for Xhtml. Please see below for examples on how to get XML and JSON representations.
  3. Although we have a good build ready for testing there are still some bugs and design considerations we will likely fix before we release to production.
  4. If you already have access to the web service then no new authorizations are required from the Office of the Registrar.
  5. We plan on decrementing Xhtml some time in the future and will provide ample communication prior to that change.

SWS EVAL Test Environment examples:

1. Using Course Search to find all Math courses using JSON or XML. Append .json or .xml to the end of the search resource name.

JSON
https://ucswseval1.cac.washington.edu/student/v4/public/course.json?year=2011&quarter=winter&future_terms=0&curriculum_abbreviation=math&course_number=&course_title_starts=&course_title_contains=&sort_by=on&page_size=10
XML
https://ucswseval1.cac.washington.edu/student/v4/public/course.xml?year=2011&quarter=winter&future_terms=0&curriculum_abbreviation=math&course_number=&course_title_starts=&course_title_contains=&sort_by=on&page_size=10

2. Get public course information for Math 100. Append .json or .xml to end of the uri.

JSON
https://ucswseval1.cac.washington.edu/student/v4/public/course/2011,winter,math,100.json
XML
https://ucswseval1.cac.washington.edu/student/v4/public/course/2011,winter,math,100.xml

Developer documentation for these new formats is available here.  The target date is about 2 weeks from now so please help us find bugs before ship date.

Your timely feedback and bug notifications will be greatly appreciated to us and the rest of the UW. Please send all issues and bugs to sws-support@u.washington.edu.

Comments are closed.