Campus Integration Web

Campus Integration – Pass Student Course info to webserver to get a listing of books. For Sections webstore 2.x only.

Url: http://client.site.com/campus-integration?classxml={data} Method: POST

Data Example:

<?xml version="1.0"?>
<datareturn>
    <studentname>Michael Shattuck</studentname>
    <studentid>testid</studentid>
    <term>06-2014</term>
    <cmpcode>06-2014</cmpcode>
    <courses>
        <dscr>
            <dept>ACCT</dept>
            <nbr>2010</nbr>
            <section>1367</section>
        </dscr>
        <dscr>
            <dept>ACCT</dept>
            <nbr>2010</nbr>
            <section>1368</section>
        </dscr>
    </courses>
</datareturn>

Details

  • The data sent will need:
  • studentname – Only used to display on the page
  • studentid – Only used to display on the page
  • termid
  • cmpcode – campus/store id
  • courses – a list of course descriptions (this will be used to display the details for all courses provided. Each course is wrapped in a ‘dscr’ tag and will need the following:
    • dept – department id
    • nbr – course id
    • section – section id
    • The data needs to be url-encoded and will replace the ‘{data}’ section or the url.

Final example URL:
POST http://demo.campuswebstore.com/campus-integration?classxml=%3C%3Fxml%20version%3D%221.0%22%3F%3E%0A%3Cdatareturn%3E%0A%20%20%20%20%3Cstudentname%3EMichael%20Shattuck%3C%2Fstudentname%3E%0A%20%20%20%20%3Cstudentid%3Etestid%3C%2Fstudentid%3E%0A%20%20%20%20%3Cterm%3E06-2014%3C%2Fterm%3E%0A%20%20%20%20%3Ccmpcode%3E06-2014%3C%2Fcmpcode%3E%0A%20%20%20%20%3Ccourses%3E%0A%20%20%20%20%20%20%20%20%3Cdscr%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdept%3EACCT%3C%2Fdept%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cnbr%3E2010%3C%2Fnbr%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csection%3E1367%3C%2Fsection%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdscr%3E%0A%20%20%20%20%20%20%20%20%3Cdscr%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cdept%3EACCT%3C%2Fdept%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cnbr%3E2010%3C%2Fnbr%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Csection%3E1368%3C%2Fsection%3E%0A%20%20%20%20%20%20%20%20%3C%2Fdscr%3E%0A%20%20%20%20%3C%2Fcourses%3E%0A%3C%2Fdatareturn%3E

College WEB Interface Data Connector webstore 2.x

The data sent to the D3 server included:

  1. XMLDATA (see below)
  2. TERMID (201440)
  3. STOREID (1)
<?xml version="1.0" encoding="UTF-8"?>
<datareturn>
 <term>201440</term>
 <studentname>Kyleah S Gamble</studentname>
 <studentid>S00000000</studentid>
  <courses>
    <dscr>
     <dept>HIST</dept>
     <nbr>1100</nbr>
      <section>400</section>
     <cmpcode>Bookstore Online</cmpcode>
    </dscr>
    <dscr>
     <dept>PSY</dept>
     <nbr>1100</nbr>
      <section>403</section>
     <cmpcode>Bookstore Online</cmpcode>
    </dscr>
    <dscr>
     <dept>FHS</dept>
     <nbr>2450</nbr>
      <section>402</section>
     <cmpcode>Bookstore Online</cmpcode>
    </dscr>
    <dscr>
     <dept>ENGL</dept>
     <nbr>1010</nbr>
      <section>418</section>
     <cmpcode>Bookstore Online</cmpcode>
    </dscr>
  </courses>
</datareturn>