HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/oneway/AcademicYear HTTP/1.1
Host: api.bryan.edu
Content-Type: application/xml
Content-Length: length
<AcademicYear xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cams_API">
<end>0001-01-01T00:00:00</end>
<id>0</id>
<monthsLong>0</monthsLong>
<name>String</name>
<start>0001-01-01T00:00:00</start>
<termid>0</termid>
<terms>
<Term>
<UID>0</UID>
<action i:nil="true" />
<active>false</active>
<allowFacultyRegistration>false</allowFacultyRegistration>
<allowStudentRegistration>false</allowStudentRegistration>
<code>B10_1202_13B</code>
<displayInApplyPortal>true</displayInApplyPortal>
<end>2011-06-02T00:00:00</end>
<id>762</id>
<name>G2-10-MB13</name>
<start>2010-12-02T00:00:00</start>
<userDefined />
<username i:nil="true" />
</Term>
<Term>
<UID>0</UID>
<action i:nil="true" />
<active>false</active>
<allowFacultyRegistration>false</allowFacultyRegistration>
<allowStudentRegistration>false</allowStudentRegistration>
<code>B10_0603_13A</code>
<displayInApplyPortal>false</displayInApplyPortal>
<end>2010-11-18T00:00:00</end>
<id>758</id>
<name>G1-10-MB13</name>
<start>2010-06-10T00:00:00</start>
<userDefined>06/03/2010 - Krystal Building (Thursday Nights)</userDefined>
<username i:nil="true" />
</Term>
</terms>
</AcademicYear>